Borrowing it
Nothing to install: this file belongs to cairn-framework/cairn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cairn-framework/cairn/main/.claude/skills/cairn-apply/SKILL.mdgit clone --depth 1 https://github.com/cairn-framework/cairnWrote 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/cairn-framework/cairn/cairn-apply)<a href="https://agentmods.dev/skills/cairn-framework/cairn/cairn-apply"><img src="https://agentmods.dev/badge/skills/cairn-framework/cairn/cairn-apply/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/cairn-framework/cairn/cairn-apply"><img src="https://agentmods.dev/badge/skills/cairn-framework/cairn/cairn-apply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Tool Misuse · line 110 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- medium Excessive Agency · line 101 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00038 | $0.01510 |
| Opus 5.5 | $0.00015 | $0.00604 |
| Sonnet 5.5 | $0.00008 | $0.00302 |
| Haiku 4.5 | $0.00004 | $0.00151 |
Grade A, and why
cairn-apply 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 2mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- cairn-apply — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apply a change: implement its tasks, prove the outcome, and accept it.
Prerequisites
- A change directory exists at
meta/changes/<change-id>/ - proposal.md, design.md, and tasks.md are present
Steps
-
Identify the change to apply
If the user doesn't specify a change:
cairn change list -
Read the change artifacts
Read proposal.md, design.md, and tasks.md. The proposal names the outcome and the acceptance boundary you have to reach; treat that as the definition of done, not the task checkboxes.
-
Implement the tasks in order
For each unchecked task, implement it and mark it complete in tasks.md. Run whatever narrow test or check covers just that task as you go. Let the repository decide commit granularity; most expect one reviewable commit per change, not one per task.
-
Run the host repository's own gates
This is the target repository's call, not Cairn's. In order of authority:
- Instructions the repository gives you (
AGENTS.md,CLAUDE.md,CONTRIBUTING.md, a documented script such asscripts/*gates*.sh). - The
gates:list incairn.config.yaml, if the project configures one. - The project's ordinary build and test commands for its language.
Run only batteries from the project's own language. If you cannot tell what the gates are, ask rather than guessing.
- Instructions the repository gives you (
-
Prove the outcome at its own claim boundary
A green internal check is evidence about the code, not about the claim. Prove the thing the proposal actually promised, at the nearest place it becomes observable:
Claim Insufficient Proof at the boundary Behavioural change unit test passes run the command or call the API and show the new observable result UI change component test passes load the surface and confirm the rendered state Generated output generator has no errors diff the regenerated artefact and show the delta is the intended one Operational change config parses exercise the path in a running instance, or state plainly that you could not Bug fix new test passes reproduce the original failure first, then show that reproduction now passes If a boundary is genuinely out of reach in this environment, say so and name what would close it. Do not upgrade a partial check into a completeness claim.
-
Run Cairn's acceptance boundary
cairn change accept <change-id>This resolves and runs the project's language battery, then checks Cairn's own invariants:
cairn lint, and the suggested-edges queue.acceptpicks the battery in this order: an explicitgates:list incairn.config.yamlwins (an explicit empty list deliberately runs nothing); otherwise a Rust project falls back to a built-in cargo battery; every other language reports an informational note that no default battery exists and continues to the language-agnostic checks. That note means "configuregates:if you want Cairn to run them", not "this project has no gates". You are still responsible for step 4.CC002 means the change's
meta/changes/<change-id>/suggested-edges.jsonstill holds entries whosetriage_stateispending. Those are machine suggested blueprint edges, and Cairn will not let them enter the graph without a human decision. Resolve it by setting each entry'striage_statetoaccepted,rejected, ordeferred(with atriage_notewhen the reason is not obvious), then re-runaccept. Do not delete the queue to clear the gate. -
Report
Summarise what was implemented, the evidence for the outcome, and anything you could not prove.
Mutation authority
You may, without asking: edit source, tests, and docs inside the change's scope;
create and edit files the design calls for; run builds, tests, linters, and
read-only commands; run cairn commands that write inside meta/ (todo set,
change accept).
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.
- 2mo ago First seen · 143 lines · 38 tokens per session scan A 8e6a41c562c0
cairn-apply is a skill published in the GitHub repository cairn-framework/cairn (53 stars, last pushed yesterday), licensed Apache-2.0. It adds 38 tokens to every session and 1,510 once invoked, about $0.0002 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-08-30.
cairn-apply compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cairn-applycairn-framework/cairn | Skill | 53 | yesterday | Apache-2.0 | A | 38 | Claude Code |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | today | MIT | A | 103 | Claude Code |