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 skills add Rune-kit/rune --skill constraint-checkgit clone --depth 1 https://github.com/Rune-kit/runeWrote 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/skills/rune-kit/rune/constraint-check)<a href="https://agentmods.dev/skills/rune-kit/rune/constraint-check"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/constraint-check/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/skills/rune-kit/rune/constraint-check"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/constraint-check.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.00064 | $0.01579 |
| Opus 5.5 | $0.00026 | $0.00632 |
| Sonnet 5.5 | $0.00013 | $0.00316 |
| Haiku 4.5 | $0.00006 | $0.00158 |
Grade A, and why
constraint-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 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
constraint-check
Purpose
The internal affairs department for Rune skills. Checks whether HARD-GATEs and mandatory constraints were actually followed during a workflow — not just claimed to be followed. Reads the constraint definitions from skill files and audits the conversation trail for compliance.
While completion-gate checks if claims have evidence, constraint-check checks if the PROCESS was followed. Did you actually write tests before code? Did you actually get plan approval? Did you actually run sentinel?
Triggers
- Called by
cook(L1) at end of workflow as discipline audit - Called by
team(L1) to verify stream agents followed constraints - Called by
audit(L2) during quality dimension assessment /rune constraint-check— manual audit of current session
Calls (outbound)
None — pure read-only validator.
Called By (inbound)
cook(L1): end-of-workflow discipline auditteam(L1): verify stream agent complianceaudit(L2): quality dimension- User: manual session audit
Execution
Step 1 — Identify Active Skills
Parse the conversation/workflow to identify which skills were invoked:
Extract from context:
- Skills invoked via Skill tool (exact list)
- Skills referenced in agent narrative
- Phase progression (cook phases completed)
Step 2 — Load Constraint Definitions
For each invoked skill, extract HARD-GATEs and numbered constraints:
For each skill in invoked_skills:
Read: skills/<skill>/SKILL.md
Extract:
- <HARD-GATE> blocks → mandatory, violation = BLOCK
- ## Constraints numbered list → required, violation = WARN
- ## Mesh Gates table → required gates
Step 3 — Audit Compliance
Check each constraint against the conversation evidence:
| Constraint Type | How to Verify | Evidence Source |
|---|---|---|
| "MUST write tests BEFORE code" | Test file Write/Edit timestamps before implementation Write/Edit | Tool call ordering |
| "MUST get user approval" | User message containing "go"/"yes"/"proceed" after plan | Conversation history |
| "MUST run verification" | Bash command with test/lint/build output | Tool call results |
| "MUST show actual output" | Stdout captured in agent response | Agent messages |
| "MUST NOT modify files outside scope" | Git diff files vs plan file list | Git + plan comparison |
| "Iron Law: delete code before test" | No implementation code exists before test creation | Tool call ordering |
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 · 166 lines · 64 tokens per session scan A 01d4ffdce037
constraint-check is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 64 tokens to every session and 1,579 once invoked, about $0.0003 per session on Opus 5.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-11-22.
constraint-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| constraint-checkRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 64 | Claude Code |
| tddsentimony/skills | Skill | 8 | today | MIT | A | 43 | Claude Code |
| using-agent-skillsvanja-emichi/a0_agent_skills | Skill | 6 | 3mo ago | MIT | A | 95 | Claude Code, Codex |
| binder-design-tool-selectionzongtingwei/Bioclaw_Skills_Hub | Skill | 27 | 7mo ago | MIT | A | 91 | Claude Code, Codex |
| end-to-end-protein-design-workflowzongtingwei/Bioclaw_Skills_Hub | Skill | 27 | 7mo ago | MIT | A | 98 | Claude Code, Codex |
| agent-orchestratorlingxling/awesome-skills-cn | Skill | 341 | 1mo ago | MIT | A | 41 | Claude Code |
| poc-spec-loopfabiandistler/agents | Skill | 2 | today | none | A | 55 | Claude Code, Codex |