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 Snowflake-Labs/cocoplus --skill map-diffgit clone --depth 1 https://github.com/Snowflake-Labs/cocoplusWrote 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/snowflake-labs/cocoplus/map-diff)<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/map-diff"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/map-diff/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/snowflake-labs/cocoplus/map-diff"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/map-diff.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.00028 | $0.00967 |
| Opus 5.5 | $0.00011 | $0.00387 |
| Sonnet 5.5 | $0.00006 | $0.00193 |
| Haiku 4.5 | $0.00003 | $0.00097 |
Grade A, and why
map-diff 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 3mo 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
$map diff
Trace the downstream impact of staged git changes using the committed coco-map.json. Shows which other functions, evaluation sets, and capability definitions are affected before the commit lands.
Preconditions
.cocoplus/must be initialized.cocoplus/map/coco-map.jsonmust exist (run$mapfirst)- Staged git changes must exist (
git diff --stagedmust be non-empty)
Step-by-Step Behavior
-
Verify initialization: Check
.cocoplus/exists. If not, output: "CocoPlus not initialized. Run$pod initfirst." and exit. -
Verify map exists: Check
.cocoplus/map/coco-map.jsonexists. If not, output:No function knowledge graph found. Run $map first to build it.and exit.
-
Read staged changes: Run
git diff --staged --name-onlyto get the list of staged files.- If no staged changes, output: "No staged changes found. Stage changes with
git addbefore running$map diff." and exit.
- If no staged changes, output: "No staged changes found. Stage changes with
-
Read
coco-map.json: Load the structural dependency graph fromcoco-map.json. -
Identify modified functions: For each staged file path, check if any function in
coco-map.jsonhas a matching file path. Collect the set of modified functions. -
Trace downstream dependents: For each modified function, traverse the dependency graph in
coco-map.json:- Find all functions that list the modified function as a dependency (direct dependents)
- Find their dependents (transitive — stop at 5 hops)
- Collect the full impact set
-
Check shared evaluation sets: Identify whether any modified function shares an evaluation set with other functions. If so, those other functions are also affected — they may produce different results after the change.
-
Check capability definitions: Identify whether the modified functions belong to any named business capabilities in the domain section. If a capability definition changes, note it.
-
Build impact report and display:
CocoMap Impact Analysis — [timestamp]
Staged files: [N]
Modified functions: [N]
- [function-name] ([file-path])
- ...
Downstream impact:
Direct dependents: [N]
- [dependent-function] — depends on [modified-function] via [dependency-type]
Transitive dependents (up to 5 hops): [N]
- [transitive-function] — [hop-count] hops from modified
Shared evaluation sets affected:
- [eval-set-name] — also used by [other-functions] (those evaluations may produce different results)
[or: "None"]
Business capabilities affected:
- [capability-name]: [description of what changes]
[or: "None"]
Gaps surfaced:
- [any new gaps the change would introduce, e.g. adding a dependency on an unevaluated function]
[or: "None"]
Recommendation: [brief summary of what to review before committing]
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.
- 3mo ago First seen · 107 lines · 28 tokens per session scan A fa1a2ea07413
map-diff is a skill published in the GitHub repository Snowflake-Labs/cocoplus (730 stars, last pushed 29d ago), licensed MIT. It adds 28 tokens to every session and 967 once invoked, about $0.0001 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-09-03.
map-diff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| map-diffSnowflake-Labs/cocoplus | Skill | 730 | 29d ago | MIT | A | 28 | Claude Code |
| resolve-publishomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 21 | Claude Code, Codex |
| feature-publishomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 24 | Claude Code, Codex |
| ci-commithumanlayer/humanlayer | Skill | 13k | today | Apache-2.0 | A | 16 | Claude Code |
| fix-issueyonatangross/orchestkit | Skill | 317 | today | MIT | A | 54 | Claude Code |
| github-operationsyonatangross/orchestkit | Skill | 317 | today | MIT | A | 33 | Claude Code |
| alert-triagemastra-ai/mastra | Skill | 30k | today | none | A | 34 | Claude Code, Codex |