tk-studio-evals
The plugin's eval runner on the sandbox tier (Story 35.5, hole 85) — runs `claude plugin eval` for the eval cases the host cannot run (they need a shell and the repository tree), writes each case's result and a scores.json, and ends with the per-case passes in the status block. Driven headless by the shipped `maintenance-evals` job; use when the payload names eval `cases`, or the user says "run the plugin evals on the sandbox".
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- tk-studio-evals
- description
- The plugin's eval runner on the sandbox tier (Story 35.5, hole 85) — runs `claude plugin eval` for the eval cases the host cannot run (they need a shell and the repository tree), writes each case's result and a scores.json, and ends with the per-case passes in the status block. Driven headless by the shipped `maintenance-evals` job; use when the payload names eval `cases`, or the user says "run the plugin evals on the sandbox".
03 SKILL.md 正文
tk-studio-evals
A thin wrapper over the deterministic core lib/evals.py run. The core does
the work; this session only runs it once and ends with its status block.
Behavior (headless)
-
Start the core in the background (Bash
run_in_background: true: a case runs up to 25 min, past the Bash tool's 10-minute limit), its stdout to a file, with the payload'scases(a JSON list),runs,directoryandrun_id:uv run "${CLAUDE_PLUGIN_ROOT}/lib/evals.py" run --cases '<cases as JSON>' --runs <runs> --directory "<directory>" --run-id "<run_id>" > "${TMPDIR:-/tmp}/tk-studio-evals-<run_id>.json" 2>&1The core runs one
claude plugin eval <plugin> --trust-plugin --allow-tools Bash Write --no-publish --threshold 0 --case <c> --runs <n> --json <out>/<c>.jsonper case and rewrites<out>/scores.json({cases: {<c>: {runs, passed, score}}, cli}) after each case. A case scoring below its threshold is a score, not a failure. -
Poll without ending the turn:
sleep 240then read that file, one Bash call each (well under 10 minutes), until it holds the core's JSON status block (its last object). Never end the session while the core runs. -
End with the core's status block, unchanged (its
artifactslistscores.json; itsreasonis<case> <passed>/<runs>; …).finishlands it in the host run'srun.jsonand itsjob-runline: thatreasonis what the operator reads;scores.jsonis the in-sandbox detail (the VM's run workspace).{"status": "complete", "intent": "tk-studio-evals", "artifacts": ["<out>/scores.json"], "reason": "tk-studio-playable-judge-verdict 3/3; asset-ladder-generated-rung 2/3"}A
blockedcore result (claude CLI unavailable,unknown case, or a case unscored —case <c>: no result JSON/unreadable run verdicts, recorded inscores.jsonbeside the scored cases) ends the runblockedwith that reason.
If the deterministic core is unrunnable — a tool call denied by permissions, uv/python unavailable — end blocked with the status block naming the unrunnable core as reason: never a question, never a headless run that ends without the block (AD-11).
Rules
- Never prompt or ask: everything arrives in the payload; never pass
--dangerously-skip-permissionsto anything. - Never edit the eval cases, the graders or the plugin; the only files this
session writes are the core's results and its captured stdout file
(
${TMPDIR:-/tmp}/tk-studio-evals-<run_id>.json). - All plugin paths resolve through
${CLAUDE_PLUGIN_ROOT}.
04 同仓库更多 Skills
tk-studio-track
Tracking verbs on the bound Jira project — `block` moves a story the loop cannot progress, and each dependent story, to "Blocked - Awaiting User" with a comment that @mentions the owner (or, with `--engagement`, one engagement's questions issue, which `close` later moves to "Done"); `reply` posts the owner's answer (or "Done.") with the owner's host-only token and moves the issue to "Block Resolved"; `validate` checks that resolution and passes the issue back to work or re-blocks it with a follow-up. Use when the user says "block this story", "tk track block", "put it in the owner's inbox", "reply to the blocked issue", "validate the resolution", or a supervisor or engagement payload names this skill.
tk-studio-session
Session discipline as a surface — land a boundary handoff (optionally carrying knowledge deltas) and end the session, or resume a fresh session from a run workspace alone. Use when the user says "hand off this run", "tk session", "resume the run", or a boundary/budget trigger says the session must split.
tk-studio-research
Run a chartered research pass — survey the topics a charter scopes, grade every finding by evidence, land the findings in the run workspace, and emit observation events for recommendation-worthy ones. Use when the user says "run the ecosystem watch", "tk research", or a research job's invoke-skill directive names this skill.
tk-studio-report
One-verb human defect report — "the skill did the wrong thing" — recorded as a report event in the local measurement ledger. Use when the user says "tk report", "report a defect", "that skill misbehaved", or "log a studio issue".
tk-studio-playable-judge
The playable-verify leg's screenshot judge (Story 34.3) — reads only a playable run's report.json and its frames, answers the fixed rubric (scene loaded, player visible and framed, no magenta or error overlay, HUD reads, the named moments shown) with pass or fail and findings each naming a frame and a rubric line. Driven headless by the supervisor's host leg on the project's sandbox tier; use when the payload names a playable `media` folder, or the user says "judge the playable frames".
tk-studio-plan-sync
Planning adapter — canonicalize BMad-native planning artifacts (normalize pass, sole id authority) and sync them with the bound planning backend. Use when the user says "sync the plan", "normalize planning artifacts", "tk plan sync", or after stock BMad planning flows produce or change epics/stories.