add-canon

add-canon is a skill for Claude Code from Abilityai/abilities. It costs 211 tokens per session (10,648 once invoked), scanned A, original, MIT.

A shared, version-controlled data repository for facts that multiple AI agents can rely on. Canonical data means the agreed reference information, rather than temporary drafts or private working notes.

In plain words
What is it for?
Use it to publish an agent's data, read another agent's published data at a cited version, check freshness, and maintain shared inter-agent protocols.
Why use it?
It separates an agent's unfinished work from published facts and collaboration rules that other agents may need to trust.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the agent-dev plugin — 48 skills shipped together

Good fit Use it to publish an agent's data, read another agent's published data at a cited version, check freshness, and maintain shared inter-agent protocols.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abilityai/abilities/add-canon
Install

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.

Any agent
npx skills add Abilityai/abilities --skill add-canon
Clone the repo
git clone --depth 1 https://github.com/Abilityai/abilities

Made for: Claude Code.

Or install agent-dev, the plugin that ships this one along with the rest of its 48 skills.

Wrote 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.

agentmods badge for add-canon

README.md
[![agentmods](https://agentmods.dev/badge/skills/abilityai/abilities/add-canon/github.svg)](https://agentmods.dev/skills/abilityai/abilities/add-canon)
Your own site
<a href="https://agentmods.dev/skills/abilityai/abilities/add-canon"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/add-canon/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.

agentmods 80×15 button for add-canon

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/abilities/add-canon"><img src="https://agentmods.dev/badge/skills/abilityai/abilities/add-canon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 8 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 Privilege Escalation · line 313
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Agent Snooping · line 45
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 46
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 47
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 48
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 71
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 183
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 252
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00211 $0.10648
Opus 5.5 $0.00084 $0.04259
Sonnet 5.5 $0.00042 $0.02130
Haiku 4.5 $0.00021 $0.01065

Measured 16d ago against content hash ed5e287b5580, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-canon 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 16d 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.

plugins/agent-dev/skills/add-canon/SKILL.md · 374 lines

How it starts

The opening of the file, as written. The whole thing — 374 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Canon

ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of metadata.changelog above — e.g. add-canon vX.Y — recent: <summary>. Then proceed.

Give an agent a published data layer: a separately-versioned git repository — the canon repo — shared across the fleet, holding each agent's canonical data (the business facts humans and other agents rely on) plus the protocols/ that define inter-agent contracts. Humans and agents co-edit it; each agent is responsible for keeping its own folder true.

The boundary this installs:

Layer Where What lives there
Working memory the agent's own repo/workspace drafts, state, scratch, everything in flight — private
Canon the shared canon repo, agents/<name>/ published facts the fleet may depend on — versioned, stamped, owned
Protocols the shared canon repo, protocols/ inter-agent contracts (schemas, channels, cadences) — changed via PR
Relations the shared canon repo, agents/<name>/docs/relations/ per-counterpart collaboration memory — one doc per counterpart, owned like the rest of the folder
Shared projects the shared canon repo, projects/<slug>/ at the root company projects — the same project.md charter + decisions.md ledger as an agent-level project_files/<slug>/; in canon so every agent and human can read them (ruling R21), and the one zone everyone writes directly (ruling 2026-09-22) — the charter's owner is the steward

Relations — the collaboration-memory convention this installs: protocols say how agents agreed to work together; relations record how the work actually went. Each agent keeps one doc per counterpart it collaborates with — docs/relations/<counterpart>.md: working agreements, a capped recent-events log (last 10, older folded into a rolling Earlier: summary), open threads. The standing rule (carried by the CLAUDE.md section): read the relation doc before acting on a counterpart's message; append the outcome before closing the interaction — so an incoming ask is handled as a continuation, not a first contact, and the log updates as a side effect rather than a chore. Each side keeps its own view under own-folder writes; divergence between the pair is a dropped-thread signal, not an error. The docs are ordinary enveloped docs/ files — lint-clean under the two-zone schema with no linter change. Full spec: CONVENTIONS.md § Relations.

Design invariant (do not violate): the canon layer is convention + skills on plain git — no new platform primitive, no new Trinity surface, no sync service. Git supplies versioning, review, audit trail, and human+agent co-editing; CODEOWNERS supplies per-folder review routing. Trinity involvement stays light and optional: the layer is declared in template.yaml (x-canon:) so /discover-agents can see it, and the reconcile schedule rides the normal schedules: machinery. Write scope is own-folder-only: an agent commits directly only inside agents/<its-name>/; anything else — another agent's folder, protocols/, root files — goes out as a branch + PR, never a direct push. Git history is the audit trail, so no extra approval gate sits in front of own-folder writes.

Sibling layers: /add-canon-lint is the law of this layer — run once per fleet against the canon repo, it seeds a deterministic linter (stdlib Python, no LLM) + CI that mechanically enforce the two-zone schema below: every folder keeps facts.yaml (structured claims — the purely lintable zone, one home per key across the fleet) beside enveloped prose in docs/; the linter proves internal consistency on every push, /canon-reconcile verifies external truth on schedule. /add-orchestrator is the routing layer (its /discover-agents scans x-canon: into a canon: field per map node, and /orchestrate serves authoritative-data reads from the canon repo instead of spending a chat turn — writes still route to the owning agent). /add-git-sync is the working-memory durability layer — its hooks manage the agent's own repo, not the canon clone; the clone is gitignored here and synced by the canon skills at use time.

Read the full file on GitHub · 374 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 16d ago Changed · +1 lines ed5e287b5580
  2. 1mo ago Changed · +1 lines 296bc281c747
  3. 1mo ago Changed · +1 lines 68e573157b20
  4. 1mo ago Changed · +21 lines e4240c8760a6
  5. 1mo ago Changed · +1 lines 5dac44894966
  6. 1mo ago Changed · +3 lines 9b0e5b46acc7
  7. 3mo ago First seen · 346 lines · 211 tokens per session scan A 3885c51cd7f2

Subscribe to this mod's changes

add-canon is a skill published in the GitHub repository Abilityai/abilities (13 stars, last pushed yesterday), licensed MIT. It adds 211 tokens to every session and 10,648 once invoked, about $0.0008 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.

Related

add-canon compared with skills from other repositories

add-canon next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-canonAbilityai/abilitiesSkill13yesterdayMITA211Claude Code
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k14d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex