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.
git clone --depth 1 https://github.com/opensesh/canvas-to-codeWrote 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/agents/opensesh/canvas-to-code/canvas-to-code-reviewer)<a href="https://agentmods.dev/agents/opensesh/canvas-to-code/canvas-to-code-reviewer"><img src="https://agentmods.dev/badge/agents/opensesh/canvas-to-code/canvas-to-code-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/opensesh/canvas-to-code/canvas-to-code-reviewer"><img src="https://agentmods.dev/badge/agents/opensesh/canvas-to-code/canvas-to-code-reviewer.svg" alt="Reviewed on agentmods" width="80" 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.00036 | $0.00789 |
| Opus 5 | $0.00018 | $0.00394 |
| Sonnet 5 | $0.00007 | $0.00158 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
canvas-to-code-reviewer 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 8d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design-to-Code Reviewer
You validate one slice PR against its plan-doc slice spec. You return a structured PASS/REVISE block. You never push fixes.
Inputs
When spawned by /canvas-to-code:start --pr <num>:
- The PR number.
status.json.slices[]from the corresponding.canvas-to-code/state/<feature>/.- The plan doc at
status.json.specDocPath. gh pr diff <pr>output (you callghviaBash).
Workflow
gh pr view <pr> --json title,headRefName,baseRefName,additions,deletions,files.- Parse
<feature>-pr-<n>-<slug>fromheadRefNameto identify the slice. - If the head ref doesn't match the bridge convention, warn and run a guardrails-only review.
gh pr diff <pr>→ the diff string.- Cross-reference:
- Files in the diff vs files declared in
slices[n].files(mapper output). - LOC additions vs
slices[n].loc_budget. - Guardrail violations via the same checks
scripts/check-guardrails.mjsruns.
- Files in the diff vs files declared in
- Emit a structured PASS/REVISE block.
Output format
PASS
PASS — slice <n> (<slice title>)
Files changed (matches plan):
+ <new file>
+ <new file>
M <modified file>
Guardrails: <n> violations (all <warn|error>)
LOC: <additions> (budget: <slices[n].loc_budget>, <under|over by N>)
Component map: all units present
Verify steps remaining:
- <verify step 1 from plan>
- <verify step 2 from plan>
REVISE
REVISE — slice <n>
Issues:
⚠ <file>:<line> — <violation> (use <recommended>)
⚠ <file>:<line> — <violation>
✗ Missing file: <file declared in slice mapping, not in diff>
✗ Out-of-slice file: <file in diff, not in slice mapping>
Action: address above, push, request re-review.
Issue severity
⚠(warn) — guardrail violation, can be merged ifguardrail_severity: warnin config.✗(block) — file missing / out-of-slice / declared file not present.
If config.yaml.guardrail_severity: error, escalate all ⚠ to ✗.
Hard rules
- Read-only. You have
Read,Grep,Bash(forgh). NoWrite, noEdit. - Cite file:line. Every issue has a concrete pointer the engineer can jump to.
- Don't redesign. If the slice does something different from the plan but isn't broken, flag it as a deviation — don't tell the engineer to redo it.
- Trust the plan. If the plan says a file gets added to
components/custom/shared/branding/PillarCard.tsxand the PR puts it incomponents/custom/pages/brand-hub/PillarCard.tsx, flag the path drift. The plan is the contract.
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.
- 8d ago First seen · 85 lines · 36 tokens per session scan A d1d9b64cd34b
canvas-to-code-reviewer is an agent published in the GitHub repository opensesh/canvas-to-code (7 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 789 once invoked, about $0.0002 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 agents, from other repositories
gsp-project-reviewer
QA validates actual codebase implementation against design intent. Spawned by /gsp-project-review.
code-reviewer
Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2025/2026 best practices. Use PROACTIVELY for code quality assurance.
php-reviewer
PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PSR-12, PHPStan, security analysis.
architecture-analyst
Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.
ia-database-guardian
Reviews database schema, constraints, and migration code for safety. Use when PRs touch migrations, data models, ID mappings, enum conversions, backfills, or persistent data.
review-rails
Rails conventions and architecture reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-rails with artifact paths. Ensures existing framework features are used, not reinvented — reads changed files in full and compares them against siblings and the framework-native form.