Skip to content
Back to skills

Evaluating Instruction Following

ASecurity

Scores whether a produced image satisfies the original natural-language instruction. Use after any capability Skill produces a result, to gate acceptance and feed back into the repair loop.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 8, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 8, 2026

npx -y skills add majiayu000/claude-skill-registry --skill evaluating-instruction-following --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Evaluating Instruction Following?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Evaluating Instruction Following
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-evaluating-instruction-following/badge)](https://www.skillsdirectory.com/skills/majiayu000-evaluating-instruction-following)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: evaluating-instruction-following
description: Scores whether a produced image satisfies the original natural-language instruction. Use after any capability Skill produces a result, to gate acceptance and feed back into the repair loop.
when: After any generation/edit Skill produces an image, before marking the step done.
---

# evaluating-instruction-following

Deterministic stub evaluator for v1. Takes `{instruction, result_meta}` on stdin
and emits `{pass, score, reasons[], evaluator: "stub-v1"}` on stdout. Designed
to be swapped for a vision-LLM call later without changing the interface.

## Contract

Input:
```json
{"instruction": "...", "result_meta": {"goal": "generate", "prompt": "...", "denoise": 0.85}}
```

Output:
```json
{"pass": true, "score": 0.62, "reasons": ["goal matches", "prompt overlap 3/5"], "evaluator": "stub-v1"}
```

## Heuristic (v1)

- goal token from instruction matches `result_meta.goal` → +0.3
- token overlap between instruction and `result_meta.prompt` → +0.1 per term, cap +0.5
- denoise sane for goal → +0.2
- threshold pass: score ≥ 0.5

## TODO (v2)

Replace `scripts/evaluate.py` with a vision-LLM call routed through `host/llm/provider.py`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.