monolean-debt

monolean-debt is a skill for Claude Code, Codex from monoes/monomind. It costs 42 tokens per session (398 once invoked), scanned A, a copy of ponytail-debt, Apache-2.0.

A scanner that collects `monolean:` comments into a debt ledger. These comments record deliberate shortcuts, their current limits, and when they should be improved.

In plain words
What is it for?
It is for finding these comments, grouping them by file and line, identifying entries with no improvement trigger, and optionally recording the findings in a metrics file.
Why use it?
It makes postponed work visible so temporary shortcuts are less likely to become forgotten, permanent problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for finding these comments, grouping them by file and line, identifying entries with no improvement trigger, and optionally recording the findings in a metrics file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monoes/monomind/monolean-debt
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 monoes/monomind --skill monolean-debt
Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

Made for: Claude Code, Codex.

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 monolean-debt

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

agentmods 80×15 button for monolean-debt

Your own site · 80×15
<a href="https://agentmods.dev/skills/monoes/monomind/monolean-debt"><img src="https://agentmods.dev/badge/skills/monoes/monomind/monolean-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 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.
Origin 88% copy Near-identical to another mod 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.00042 $0.00398
Opus 5.5 $0.00017 $0.00159
Sonnet 5.5 $0.00008 $0.00080
Haiku 4.5 $0.00004 $0.00040

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

Security

Grade A, and why

monolean-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 2d 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.

Origin

This is a copy

88% identical to ponytail-debt — 23 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/monolean-debt/SKILL.md · 42 lines

What it actually says

Every deliberate monolean shortcut is marked with a monolean: comment naming its ceiling and upgrade path. This collects them into one ledger so a deferral can't quietly become permanent.

Scan

Grep the repo for comment markers, skipping node_modules, .git, and build output:

grep -rnE '(#|//) ?monolean:' . (add other comment prefixes if your stack uses them)

Each hit is one ledger row. The comment prefix keeps prose that merely mentions the convention out of the ledger.

Output

One row per marker, grouped by file:

<file>:<line>, <what was simplified>. ceiling: <the limit named>. upgrade: <the trigger to revisit>.

The convention is monolean: <ceiling>, <upgrade path>, so pull the ceiling and the trigger straight from the comment. Want an owner per row too? add git blame -L<line>,<line>.

Flag the rot risk: any monolean: comment that names no upgrade path or trigger gets a no-trigger tag, those are the ones that silently rot.

End with <N> markers, <M> with no trigger. Nothing found: No monolean: debt. Clean ledger.

Also writes findings to .monomind/metrics/monolean-debt.json when run inside a monomind project.

Boundaries

Reads and reports only, changes nothing. To persist it, ask and it writes the ledger to a file (e.g. MONOLEAN-DEBT.md). One-shot. "stop monolean-debt" or "normal mode" to revert.

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. 2d ago First seen · 42 lines · 42 tokens per session scan A 7c9936ed7d0d

Subscribe to this mod's changes

monolean-debt is a skill published in the GitHub repository monoes/monomind (23 stars, last pushed 2d ago), licensed Apache-2.0. It adds 42 tokens to every session and 398 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to ponytail-debt, differing in 23 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-swarm-issue

Agent skill for swarm-issue - invoke with $agent-swarm-issue.

ruvnet/ruflo · 21 tokens

agent-user-tools

Agent skill for user-tools - invoke with $agent-user-tools.

ruvnet/ruflo · 16 tokens

queue-handoff

Use when ending a turn, finishing a slice, blocked on another agent's work, or escalating to a human — durable work handoff via queue items so the system keeps moving across compactions, missed messages, and interruptions. Covers the hot-potato terminal-turn-rule (active work ends by passing the ball, not by going…

mvschwarz/openrig · 94 tokens

diag-harness

Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.

ruvnet/metaharness · 85 tokens

score-harness

5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded harness. Dimensions: Repo understanding (25%), Agent usefulness (25%), MCP safety (20%), Test coverage (15%), Publish readiness (15%). Emits a 6-field badges block (score + mcpRisk + 4 booleans) ready for the harness README. Exit 0 A/B, 1 C, 2 F.

ruvnet/metaharness · 0 tokens

verify-witness

Verify the Ed25519 witness manifest of a scaffolded harness. Fast yes/no signature check that proves the publisher signed this exact file set — separate from the full release-readiness umbrella in validate-harness.

ruvnet/metaharness · 45 tokens