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 softspark/ai-toolkit --skill edit-disciplinegit clone --depth 1 https://github.com/softspark/ai-toolkitWrote 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/softspark/ai-toolkit/edit-discipline)<a href="https://agentmods.dev/skills/softspark/ai-toolkit/edit-discipline"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/edit-discipline/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/softspark/ai-toolkit/edit-discipline"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/edit-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00068 | $0.00496 |
| Opus 5.5 | $0.00027 | $0.00198 |
| Sonnet 5.5 | $0.00014 | $0.00099 |
| Haiku 4.5 | $0.00007 | $0.00050 |
Grade A, and why
edit-discipline 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 2mo 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.
What it actually says
Edit Discipline
This rule comes from app/rules/edit-discipline.md in ai-toolkit. It applies to
every task in this workspace, not only when it is loaded.
Edit Discipline & Reviewable Changes
Edit files with the editing tools, not the shell
Use the edit and write tools to change a file. Do not rewrite tracked files
through bash with sed, awk, tee, a heredoc, or > redirection.
This is not a style preference. A shell rewrite is opaque to the host: the
session records a command, not a change. An edit call records which file
changed and how, so the interface can render it, a reviewer can read it, and a
later turn can cite it. A sed line records none of that, and the only way to
find out what happened is to read the file again.
The shell remains correct for what it is for: running builds, tests, linters, git, package managers, and generators that own their own output.
Show the change before calling the work done
Before reporting a file-changing task as finished, show what changed:
git diff -- <paths> # tracked files
git status --short # what is new or removed
Paste the diff into the reply, or state precisely why it is too large and summarise it by file with the counts. A task that reports success without showing the change asks the reader to take the result on trust, and the reader is the one who has to decide whether to commit it.
For an untracked file, show the content you wrote, not a description of it.
Why both halves matter together
Editing through the tools makes a change recordable; showing the diff makes it reviewed. Either alone leaves the person deciding whether to ship blind to something they are accountable for.
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.
- 2mo ago First seen · 51 lines · 68 tokens per session scan A d6de4f13ff12
edit-discipline is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed 14d ago), licensed Apache-2.0. It adds 68 tokens to every session and 496 once invoked, about $0.0003 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.
edit-discipline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| edit-disciplinesoftspark/ai-toolkit | Skill | 180 | 14d ago | Apache-2.0 | A | 68 | Claude Code |
| surface-after-careellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 169 | Claude Code, Codex |
| github-repo-careellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 120 | Codex |
| migrate-renameellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 114 | Claude Code, Codex |
| create-prjohnqtcg/awesome-skills | Skill | 31 | 1mo ago | MIT | A | 59 | Claude Code |
| git-commitjohnqtcg/awesome-skills | Skill | 31 | 1mo ago | MIT | A | 52 | Claude Code |
| reissverschluss-mergeellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 103 | Claude Code, Codex |