principle-build-the-lever

principle-build-the-lever is a skill for Claude Code from mintuz/skills. It costs 41 tokens per session (375 once invoked), scanned A, original, MIT.

A guide for building the smallest repeatable tool when recurring work or a difficult check would benefit from one. It first looks for an existing command or check, then compares the tool's output with an expected result.

In plain words
What is it for?
Use it to automate a repeated transformation, codemod, query, or verification task. It helps decide whether to reuse an existing tool, build a small one, or leave the work as a one-off.
Why use it?
It avoids unnecessary scripts and reduces errors from repetitive manual edits. Testing representative cases, exceptions, reruns, and skipped items makes the operation easier to inspect and repeat.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the principle plugin — 54 skills shipped together

Good fit Use it to automate a repeated transformation, codemod, query, or verification task. It helps decide whether to reuse an existing tool, build a small one, or leave the work as a one-off.

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

Made for: Claude Code.

Or install principle, the plugin that ships this one along with the rest of its 54 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 principle-build-the-lever

README.md
[![agentmods](https://agentmods.dev/badge/skills/mintuz/skills/principle-build-the-lever/github.svg)](https://agentmods.dev/skills/mintuz/skills/principle-build-the-lever)
Your own site
<a href="https://agentmods.dev/skills/mintuz/skills/principle-build-the-lever"><img src="https://agentmods.dev/badge/skills/mintuz/skills/principle-build-the-lever/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 principle-build-the-lever

Your own site · 80×15
<a href="https://agentmods.dev/skills/mintuz/skills/principle-build-the-lever"><img src="https://agentmods.dev/badge/skills/mintuz/skills/principle-build-the-lever.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 375 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 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.00041 $0.00375
Opus 5.5 $0.00016 $0.00150
Sonnet 5.5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 1mo ago against content hash 20909a546c25, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

principle-build-the-lever 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 1mo 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.

src/principle/skills/principle-build-the-lever/SKILL.md · 20 lines

What it actually says

Build the lever

Make work repeatable when that saves effort or makes its result independently checkable.

  1. Look for an existing command, query, codemod or check that covers the task. Reuse it with recorded inputs and invocation when sufficient; a new file is not proof of usefulness (principle-reuse-before-building).
  2. For an uncovered repeated transformation, complete one representative unit to establish the recipe. Build the smallest tool and compare its output with that expected result. Use structure-aware edits where plain text replacement could change unrelated content.
  3. Exercise exceptions, failure handling and rerun safety before applying across the owned scope. Preserve unrelated work and expose skipped or uncertain units for review.
  4. Keep the tool when its review or reuse outlives this task, with a reproducible invocation and result check. A one-off can earn a tool if it is the economical way to prove the result; a framework is unnecessary.

Prefer a deterministic pass over manual fan-out. If delegation is authorized and useful, share one stable recipe, verification contract and write boundary; delegation is optional.

Distinct from: principle-reuse-before-building (about to write a helper, owner, script or component when an existing option may cover it), principle-encode-lessons-in-structure (a verified lesson recurs and needs a durable guard), principle-prove-it-works (claiming a result works: run the smallest direct check).

Done: the work and its checks are reproducible with the existing or new lever, or the direct method is justified by lower total effort and equivalent confidence.

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. 1mo ago First seen · 20 lines · 41 tokens per session scan A 20909a546c25

Subscribe to this mod's changes

principle-build-the-lever is a skill published in the GitHub repository mintuz/skills (38 stars, last pushed 6d ago), licensed MIT. It adds 41 tokens to every session and 375 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-10-20.

Related

principle-build-the-lever compared with skills from other repositories

principle-build-the-lever next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
principle-build-the-levermintuz/skillsSkill386d agoMITA41Claude Code
support-systemshelixml/helixSkill8344d agononeA60Claude Code, Codex
apple-mailYunjueTech/Yunjue-AgentSkill5478mo agoApache-2.0A33Claude Code, Codex
inbox-to-actiontarunlnmiit/inbox-to-actionSkill34mo agoMITA65Claude Code, Codex
agentedfrane/agentedSkill52mo agoApache-2.0A14Claude Code
bootstraptaipt1504/agent-skillsSkill56mo agononeA51Claude Code
preflighttaipt1504/agent-skillsSkill56mo agononeA52Claude Code