plan-grader
Skill0 starsChanged 2 months agoMITView on GitHub
Grade implementation plans on a 0-10 scale without mutating the workspace. Accepts plan files, quoted inline plans, or best-effort latest-plan discovery for Claude, Codex, Copilot, and Gemini.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- changelogSkill
- dependabot-sweepSkill
- markdownSkill
- merge-prSkill
- pre-prSkill
- pr-tldrSkill
- tldrSkill
- agents-searchSkill
- audit-and-fixSkill
- aws-specialistSkill
- azure-specialistSkill
- code-simplifierSkill
- create-assessmentSkill
- create-auditSkill
- create-experimentSkill
- create-inspectionSkill
- crossplane-specialistSkill
- deploy-statusSkill
- detect-flakySkill
- fix-with-evidenceSkill
- flyctlSkill
- gcp-specialistSkill
- gitSkill
- ground-firstSkill
- handoffSkill
- kubernetes-specialistSkill
- local-attestSkill
- post-pr-reviewSkill
- pr-conductorSkill
- project-syncSkill
- pulumi-specialistSkill
- quality-reviewSkill
- release-conductorSkill
- reproduce-bugSkill
- review-prSkill
- review-prsSkill
- rollback-prodSkill
- security-auditSkill
- security-reviewSkill
- smoke-testSkill
- specSkill
- terraform-specialistSkill
- terragrunt-specialistSkill
- validate-specSkill
- veracity-auditSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 15 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Use when the user asks to grade, score, review, evaluate, improve, or calibrate a plan, especially plans produced by Claude Code, Codex, …
- Distinctive: line 42
If the input is ambiguous, ask for the plan path or paste.
- Distinctive: line 46
Before grading, read these references:
- Distinctive: line 68
If discovery returns multiple candidates, present the top three most recent candidate paths and ask the user to choose.
- Very specific: line 73
Treat files mentioned by the plan as intent evidence, especially @roadmap.md, @spec.md, file:docs/foo.md, or explicit local paths.
- Distinctive: line 76
If a referenced intent file is unreadable, record the missing file and lower confidence.
- Distinctive: line 77
If a readable intent file contradicts the plan, apply the relevant rubric cap.
- Distinctive: line 80
Read project-level AGENTS.md first as the cross-agent baseline when present.
- Distinctive: line 84
Consider user/global harness files only as preference context.
- Distinctive: line 89
Read at least the two calibration anchors closest to the expected score band.
- Distinctive: line 90
Use the anchors to normalize severity and avoid over-rewarding format polish.
- Distinctive: line 99
Default: concise human-readable report with score, verdict, dimension table, caps, blocking gaps, non-blocking polish, and a paste-back …
- Distinctive: line 160
Do not mutate files or implement the plan being graded.
- Distinctive: line 161
Do not score from vibes. Cite concrete evidence from the plan, intent files, harness files, repo paths, tests, CI, or explicit missing …
- Very specific: line 165
Keep all weights from references/rubric.md exactly.
- Distinctive: line 168
If a plan references images or diagrams, do not OCR them.
- Distinctive: line 169
If a plan would touch protected paths, verify it includes the required Spec ID or No-spec rationale in the PR plan.
- Distinctive: line 171
Always include a paste-back prompt unless the user explicitly asks for only the numeric grade.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Grade an implementation plan on a 0-10 scale using the plan-grader rubric. This skill is content-only: inspect, score, explain, and produce a paste-back prompt. Do not edit files, run formatters, commit changes, or implement the plan being graded.
Use when the user asks to grade, score, review, evaluate, improve, or calibrate a plan, especially
plans produced by Claude Code, Codex, GitHub Copilot, Gemini CLI, or similar agentic CLIs. Also
trigger directly via /plan-grader.
Inputs
$ARGUMENTS may be any of:
<path>orfile:<path>: read the plan from a local Markdown/text file."..."ortext:"...": grade the quoted inline plan text exactly as provided.latest claude plan,latest codex plan,latest copilot plan, orlatest gemini plan: discover candidate plan/session files usingreferences/plan-discovery.md.- Optional
--json: emit only the structured JSON object described below. - Optional
--blind: strip source-agent attribution before scoring. Keep explicit harness context that affects safety, validation, or repo fit.
If the input is ambiguous, ask for the plan path or paste. Do not guess a plan from unrelated chat.
Reference Order
Before grading, read these references:
references/rubric.mdreferences/context-resolution.mdreferences/plan-discovery.mdwhen discovery, imports, symlinks, oversized content, or transcript extraction are involvedreferences/agent-formats.mdwhen the source agent is known or a paste-back prompt is needed- Relevant examples in
references/calibration-plans/
Workflow
- Parse flags and input mode.
--jsonchanges output format only.--blindremoves agent identity from the plan before scoring.file:forces file mode.text:forces inline text mode.- Top-level quoted text is inline plan text, not a path.
- Resolve the plan text.
- For file inputs, read the target file.
- For inline text, use the supplied text verbatim.
- For
latest <agent> plan, followreferences/plan-discovery.md. - If discovery returns multiple candidates, present the top three most recent candidate paths and ask the user to choose.
- Refuse oversized inputs that cannot fit the context budget. Do not silently truncate.
- Resolve intent sources.
- Treat files mentioned by the plan as intent evidence, especially
@roadmap.md,@spec.md,file:docs/foo.md, or explicit local paths. - Resolve transitive
@imports to the depth documented inreferences/plan-discovery.md. - If a referenced intent file is unreadable, record the missing file and lower confidence.
- If a readable intent file contradicts the plan, apply the relevant rubric cap.
- Treat files mentioned by the plan as intent evidence, especially
- Resolve harness context.
- Read project-level
AGENTS.mdfirst as the cross-agent baseline when present. - Layer agent-specific project overrides:
CLAUDE.md,GEMINI.md,.github/copilot-instructions.md,.github/instructions/*.instructions.md, andAGENTS.override.md. - Consider user/global harness files only as preference context. They cannot weaken repo-local safety, validation, protected-path, release, or CI rules.
- Detect whether the plan violates configured harnesses or protected gates.
- Read project-level
- Calibrate before scoring.
- Read at least the two calibration anchors closest to the expected score band.
- Use the anchors to normalize severity and avoid over-rewarding format polish.
- Score the plan.
- Score each rubric dimension from 0 to 10.
- Compute the weighted score using rubric version
2.0.0. - Apply caps, then auto-reject rules, then floor at 0, then round to one decimal.
- Record
confidenceashigh,medium, orlow.
- Produce output.
- Default: concise human-readable report with score, verdict, dimension table, caps, blocking gaps, non-blocking polish, and a paste-back prompt.
--json: emit only valid JSON with exactly these top-level keys:rubric_version,score,verdict,confidence,dimensions,caps_fired,blocking_gaps,non_blocking,paste_back_prompt.
Human Output Shape
Plan grade: X.X / 10
Verdict: <approve | approve with minor changes | revise before execution | reject>
Confidence: <high | medium | low>
<One short paragraph explaining the main reason for the grade.>
| Dimension | Weight | Score | Reasoning |
| --------- | -----: | ----: | ---------------------- |
| ... | 0.XX | N/10 | Evidence-backed reason |
Caps fired:
- <cap id or "None">
Blocking gaps:
1. <gap>
Non-blocking improvements:
- <improvement>
Paste-back prompt:
<agent-aware prompt from references/agent-formats.md>JSON Output Shape
{
"rubric_version": "2.0.0",
"score": 8.4,
"verdict": "approve with minor changes",
"confidence": "high",
"dimensions": [
{
"name": "Goal and scope clarity",
"weight": 0.15,
"score": 9,
"reasoning": "The plan defines the output contract and non-goals.",
"evidence": ["plan.md:12"]
}
],
"caps_fired": [],
"blocking_gaps": [],
"non_blocking": ["Add one explicit smoke test for malformed input."],
"paste_back_prompt": "Revise the plan to add one malformed-input smoke test..."
}Rules
- Do not mutate files or implement the plan being graded.
- Do not score from vibes. Cite concrete evidence from the plan, intent files, harness files, repo paths, tests, CI, or explicit missing evidence.
- Mention when the grade is based on incomplete transcript extraction rather than a real plan file.
- Auto-reject dangerous caps even when the weighted score is high.
- Keep all weights from
references/rubric.mdexactly. Do not silently reweight. - For
--blind, do not penalize or reward the plan because it came from Claude, Codex, Copilot, or Gemini. Grade the content and repo fit. - If a plan references images or diagrams, do not OCR them. Mark that portion partially ungradable.
- If a plan would touch protected paths, verify it includes the required Spec ID or No-spec rationale in the PR plan.
- Always include a paste-back prompt unless the user explicitly asks for only the numeric grade.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

