Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/kirkruglov/claude-project-manager/deviation-checkgit clone --depth 1 https://github.com/KirKruglov/claude-project-managerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/kirkruglov/claude-project-manager/deviation-check)<a href="https://agentmods.dev/commands/kirkruglov/claude-project-manager/deviation-check"><img src="https://agentmods.dev/badge/commands/kirkruglov/claude-project-manager/deviation-check.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.00457 |
| Opus 5 | $0.00003 | $0.00229 |
| Sonnet 5 | $0.00001 | $0.00091 |
| Haiku 4.5 | $0.00001 | $0.00046 |
Grade A, and why
deviation-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deviation Check Command
Purpose
Compare planned vs actual project performance to identify schedule and budget deviations. Runs automated deviation analysis and notifies stakeholders if issues are detected.
Steps
-
Verify project state
- Read
project-state.md - Confirm project is in phase 3, 4, or 5
- If not in these phases, inform user this command requires active execution phase
- Read
-
Retrieve planned baselines
- Read
02-planning/project-plan.md - Extract planned dates for all major milestones
- Extract budget allocations per workstream
- Read
-
Query actual performance
- Query ~~project tracker for task statuses and completion dates across all workstreams
- Retrieve actual spend (if available in tracker)
- Compile actual vs planned data
-
Analyze deviations
- Compare actual task completion dates against planned dates
- Calculate schedule variance (days behind/ahead)
- Compare actual spend against budget (if available)
- Flag any deviations >5% or >5 days as significant
-
Handle results
- If no deviations found:
- Log "No schedule or budget deviations detected"
- Complete command
- If deviations found:
- Proceed to step 6
- If no deviations found:
-
Generate deviation report
- Trigger
monitor-progressskill withreport_type=deviations - Include variance analysis and root cause summary
- Trigger
-
Save report
- Save report to
reports/deviation-report-{YYYY-MM-DD}.md
- Save report to
-
Notify PM and stakeholders
- Read
references/email-autonomy-rules.mdfor autonomy level 2 rules - Send email to PM with deviations summary
- CC key stakeholders identified in project charter
- Include: deviation summary, impact assessment, recommended actions
- Use autonomy level 2 (send with stakeholders in CC, no approval required)
- Read
-
Update project state
- Update
project-state.mdwith:- Last deviation check timestamp
- Current deviation status
- Any escalations triggered
- Log action in project audit trail
- Update
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 60 lines · 6 tokens per session scan A 0750772bc52c
deviation-check is a command published in the GitHub repository KirKruglov/claude-project-manager (6 stars, last pushed 4mo ago), licensed MIT. It adds 6 tokens to every session and 457 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
contract-summary
Create contract review summaries highlighting key terms, obligations, risks, and unusual provisions.
client-memo
Draft intake memos and case assessment summaries with legal analysis.
demand-letter
Generate demand letters with legal framework, factual basis, and remedy sought.
motion-draft
Template-driven motion drafting (MTD, MSJ, motions in limine) with citation slots and jurisdiction rules.
medical-necessity
Generate medical necessity letters citing chiropractic clinical guidelines for insurance authorization and appeals.
pi-narrative
Draft personal injury and auto accident clinical narratives with mechanism of injury, treatment timeline, and causation analysis.