rasbt/local-coding-agent-evals/headless-evaluator
Claude Code and agent skill by rasbt/local-coding-agent-evals
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install rasbt/local-coding-agent-evals/headless-evaluatorSKILL.md
Headless Evaluator
Use this runbook when evaluating agent-problem-pack with a headless coding agent such as Codex, Claude Code, Cline, or Qwen Code.
Inputs
Ask for or infer these values:
- target agent CLI, for example
codex,ollama launch claude --model <model> -- -p,cline, orqwen - model name, if the CLI needs one
- run name, for example
qwen36-run-1
If the requested CLI flags are uncertain, run the CLI help command before starting the suite.
Rules
- Work from the
agent-problem-packfolder. - Do not use
agent-problem-pack-runner. - Do not edit the original problem folders.
- Prepare a fresh isolated workspace for each problem.
- Run the target agent from the prepared workspace.
- Record token usage for every problem in
artifacts/usage.json. - Capture every run with
uv run python scripts/pack_tools.py capture. - Report artifact paths instead of pasting large logs.
Headless Command Shapes
Common command shapes:
- Codex:
codex exec --json "<prompt>" - Claude Code:
ollama launch claude --model <model> -- --output-format json -p "<prompt>" - Cline:
cline "<prompt>",cline --json "<prompt>", orcline --yolo "<prompt>" - Qwen Code:
qwen --model <model> --output-format json -p "<prompt>"
Prefer the installed CLI's help output over this table if they disagree. For Claude Code auto mode, --model <model> must be passed before --, and Claude's -p "<prompt>" must be passed after --. In isolated benchmark workspaces, --permission-mode bypassPermissions can be passed after -- when unattended file edits are required.
Token Usage
Every run must leave a normalized usage file at:
Use this schema:
Extraction rules:
- Codex: read JSONL output and use the
usageobject from the finalturn.completedevent. - Qwen Code: read JSON output and use the final
result.usageobject. Preserve detailedstats.modelsunderraw_usagewhen present. - Claude Code through Ollama: read JSON output and use
usage. PreservemodelUsageunderraw_usagewhen present. - Cline: use exact JSON usage if available. If not, keep
exact: falseand explain the limitation innotes. - If non-JSON warnings appear before JSON, ignore non-JSON lines and parse only valid JSON objects or arrays.
Workflow
- List the problems:
``bash uv run python scripts/pack_tools.py list ``
- For each problem, prepare a workspace:
``bash uv run python scripts/pack_tools.py prepare <problem-id> <run-name> ``
- Enter the workspace printed by
prepare.
- Read the generated prompt:
``bash ../artifacts/task-prompt.txt ``
- Run the target agent in headless mode with that prompt, using JSON output when available. For Claude Code through Ollama, use:
``bash ollama launch claude --model <model> -- \ --output-format json \ --permission-mode bypassPermissions \ -p "<prompt>" ``
- Extract token usage from the agent output and overwrite
artifacts/usage.json.
- After the agent exits, return to the
agent-problem-packfolder and capture the run:
``bash uv run python scripts/pack_tools.py capture runs/<problem-id>/<run-name> ``
- Read these artifacts for each problem:
``text runs/<problem-id>/<run-name>/workspace/AGENT_FINAL_ANSWER.md runs/<problem-id>/<run-name>/artifacts/diff.patch runs/<problem-id>/<run-name>/artifacts/git-status.txt runs/<problem-id>/<run-name>/artifacts/verification.txt runs/<problem-id>/<run-name>/artifacts/usage.json runs/<problem-id>/<run-name>/artifacts/evaluate-with-codex.md ``
- Summarize:
- pass/fail per problem
- what changed
- whether tests passed
- token usage per problem and totals across the suite
- likely cause of each failure
- any suspicious solution that passes tests
- artifact paths used as evidence
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-problem-pack/skills/headless-evaluator/SKILL.md
Popularity
- Repository stars
- 79
- Repository forks
- 17
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rasbt/local-coding-agent-evals/headless-evaluator)