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 agentmods add skills/johnfreeman13592-lab/skill-dna-compiler/safe-code-changenpx skills add johnfreeman13592-lab/skill-dna-compiler --skill safe-code-changegit clone --depth 1 https://github.com/johnfreeman13592-lab/skill-dna-compilerWrote 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/johnfreeman13592-lab/skill-dna-compiler/safe-code-change)<a href="https://agentmods.dev/skills/johnfreeman13592-lab/skill-dna-compiler/safe-code-change"><img src="https://agentmods.dev/badge/skills/johnfreeman13592-lab/skill-dna-compiler/safe-code-change.svg" alt="Measured on agentmods" 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.00037 | $0.00199 |
| Opus 5 | $0.00018 | $0.00100 |
| Sonnet 5 | $0.00007 | $0.00040 |
| Haiku 4.5 | $0.00004 | $0.00020 |
Grade A, and why
safe-code-change 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 5d 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
Safe Code Change
Principles
- Inspect before editing
- Reuse existing implementation before adding files
Workflow
- Inspect the README, architecture, and current implementation
- Make the smallest relevant change
- Run focused checks, then the full test suite and lint
Constraints
- Run focused tests before full verification
- Do not report completion while required checks fail
Do not use when
- Only answering a read-only question
Source references
<DOCUMENT_ID>— Direct instruction to inspect existing project contextBefore changing code, inspect the README, architecture, and existing implementation.
<DOCUMENT_ID>— Direct instruction to verify changes before completionThen run the full test suite and lint before reporting completion.
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.
- 5d ago First seen · 34 lines · 37 tokens per session scan A f51079e65a4e
safe-code-change is a skill published in the GitHub repository johnfreeman13592-lab/skill-dna-compiler (2 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 37 tokens to every session and 199 once invoked, about $0.0002 per session on Opus 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-08-31.
Other skills, from other repositories
swarmvault
Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, chat-session, context-pack, task-ledger, static AI export, retrieval, and MCP artifacts to disk from books, notes, transcripts, exports, datasets, slide decks, files, URLs, code, and…
engraph
Index and search document collections using hybrid semantic + graph + full-text search. Use when users need to search knowledge bases, find connections between documents, discover related content via link graphs, or query indexed markdown collections.
scanthissession
Scan current or active session transcript, detect vault-relevant items (topic, blocker, correction, decision, error/bug, knowledge-gap, lesson, pattern, skill-usage, entity, person, topic), then WRITE them to the correct vault folder per rules. Use after a work session, when user says scan session, or before ending a…
knowledge-ingestion
Save user-provided links, social posts, videos, podcasts, screenshots, PDFs, local files, or text into the configured Obsidian knowledge base through the knowledge-ingestion MCP tools. Use when the user asks to save, ingest, archive, collect, summarize into the knowledge base, add something to Obsidian, 保存, 收录, 摄入…
personal-knowledge-ingestion
Save user-provided links, WeChat Channels videos, X posts, local files, screenshots, PDFs, or text into the configured Obsidian vault through the personal-knowledge MCP tools. Use when the user sends a supported URL for automatic ingestion or asks to 保存, 收录, 摄入, 归档, 总结后存入知识库, or add something to Obsidian.
wiki-build
构建/重建本地知识库的 Wiki。扫描 vault 中所有源文件,从中构建一个结构化的 wiki(源文件摘要、实体、概念、对比、概述页),创建分层 INDEX(根索引 + 各目录索引)/log/hot,密集交叉链接。支持超长源文件(百万字级小说等):prep.mjs 确定性预处理 + 分层 digest 构建 + 断点续传。也能把旧单索引库的索引重构为分层布局。Triggers on: 构建 wiki, 重建 wiki, build wiki, 扫描源文件构建, 初始构建, 重新构建知识库, start wiki build, 重构索引, 索引分层, 索引迁移, restructure index.