Documentation
¶
Overview ¶
Command agenteval runs the skill's evals (skills/apic/evals/evals.json) through the Claude Code CLI against fresh `apic demo` projects, once with the skill installed and once without, and scores what the agent did rather than only what it answered: whether the task's outcome holds in the API or the files, which files it changed, whether it opened a secret file, how many requests it sent and how many selector or directive errors it hit on the way. Token counts hide those, and they are what "agents first" means for apic.
It needs `claude` on PATH with credentials (ANTHROPIC_API_KEY, or a signed-in CLI) and makes real model calls, so it is `task agent:eval` and a monthly workflow with a manual trigger, not part of `task check`. Each project is served from a temporary directory outside the repository, so the agent sees no AGENTS.md, CLAUDE.md or skills/ of apic's own and the baseline is a true one; the transcript, the score and the verify output are copied to bin/agent-eval/<eval>-<variant>- <run>/ and the scores to bin/agent-eval/results.json. The exit status is 1 when a with-skill run fails its checks or reads a secret file.