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 lean-debtgit 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/lean-debt)<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/lean-debt"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/lean-debt/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/lean-debt"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/lean-debt.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.00000 | $0.01383 |
| Opus 5.5 | $0.00000 | $0.00553 |
| Sonnet 5.5 | $0.00000 | $0.00277 |
| Haiku 4.5 | $0.00000 | $0.00138 |
Grade A, and why
lean-debt 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 20d 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 — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Objective
You are executing $lean debt — the CocoLean shortcut debt ledger. Harvest all cocoplus: comment markers across the CocoPod, assess ceiling imminence, and produce a ranked deferral report. Run this before sprint planning and before any release gate.
Before proceeding, verify that .cocoplus/ exists. If not, output: "CocoPlus is not initialized. Run $pod init first." Then stop.
Step 1 — Run Deterministic Marker Harvest
invoke cocolean/lean-debt-engine
Run the command directly with Node. Do not wrap it in PowerShell redirection such as 2>&1; stderr handling differs across shells and can corrupt the JSON output.
The script:
- Scans all
.sql,.js,.md,.yaml,.jsonfiles in the CocoPod forcocoplus:comment markers - Extracts the three required fields from each marker: what was simplified, ceiling condition, upgrade trigger
- Calculates ceiling imminence from current project metrics (from
dora-snapshot.json,flow.json,meta.json) - Outputs a JSON array of debt records sorted by
(ceiling_imminence × days_since_annotation)
Read the JSON output.
Step 2 — The cocoplus: Comment Protocol
A valid cocoplus: marker looks like this:
-- cocoplus: simplified=single-warehouse routing; ceiling=will fail when concurrent agent count >20; trigger=when $build spawns >20 agents in one run
// cocoplus: simplified=linear scan for seed matching; ceiling=scan time exceeds 5s above 500 seeds; trigger=when $seed list reports >500 entries
Three required fields (pipe-delimited or semicolon-delimited):
simplified=— one sentence describing the shortcut taken and whyceiling=— the condition under which this shortcut fails or requires reworktrigger=— the specific event that should prompt addressing the ceiling
Markers missing any required field are reported as malformed but not blocked.
Step 3 — Produce Ranked Deferral Report
Write the report to .cocoplus/lifecycle/lean-debt.md and display a summary. The summary must include a compact dashboard table grouped by imminence and a trigger surface listing the next concrete events that would force action.
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.
- 20d ago Changed 56f89a36bc04
- 1mo ago First seen · 153 lines · 0 tokens per session scan A 4c77cbd62221
lean-debt is a skill published in the GitHub repository Snowflake-Labs/cocoplus (726 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,383 tokens. 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.
Other skills, from other repositories
iterate-prd
Only use when the user explicitly invokes this skill by name.
iterate-structure-outline
Only use when the user explicitly invokes this skill by name.
feature-requirements
Turn the ticket into requirements and CUJs, and stop with a split proposal when it is too big.
jira-release
Assemble a release from a batch of Jira issues — one release branch, pull request, preview and tracking issue per repository — and, when a person says to ship it, merge it and move the cards on. Insert into the prompt of a run started on a batch of issues.
link-ticket-to-session
Link the current Claude Code session to a ticket (Linear, Jira, GitHub Issues, or GitHub Pull Requests) and cache its title/status in karma. Use when the user explicitly asks to link, attach, associate, or connect this session to a ticket, issue, or PR — e.g. "/link-ticket-to-session ABC-123", "link this session to…
github-operations
GitHub CLI operations for issues, PRs, milestones, and Projects v2. Covers gh commands, REST API patterns, and automation scripts. Use when managing GitHub issues, PRs, milestones, or Projects with gh.