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 sign-protocol/sign-tools --skill sign-encode-repogit clone --depth 1 https://github.com/sign-protocol/sign-toolsWrote 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/sign-protocol/sign-tools/sign-encode-repo)<a href="https://agentmods.dev/skills/sign-protocol/sign-tools/sign-encode-repo"><img src="https://agentmods.dev/badge/skills/sign-protocol/sign-tools/sign-encode-repo/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/sign-protocol/sign-tools/sign-encode-repo"><img src="https://agentmods.dev/badge/skills/sign-protocol/sign-tools/sign-encode-repo.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.00154 | $0.04540 |
| Opus 5.5 | $0.00062 | $0.01816 |
| Sonnet 5.5 | $0.00031 | $0.00908 |
| Haiku 4.5 | $0.00015 | $0.00454 |
Grade A, and why
sign-encode-repo 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 19d 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 — 361 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sign-encode-repo
Turn a repository into a SIGN codebase canon: a small, governed set of documents that tells a coding agent what this repo is, how it is built, what it depends on, and what rules bind it — so the agent orients from a short index instead of re-reading the tree.
This is the repo-scale counterpart to sign-draft (one document from intent) and sign-ingest
(one existing file, converted). It composes both patterns across a whole codebase.
Operating contract
This skill runs against source the operator may regard as their most valuable IP. It holds to the following. Every claim here is enforced by a step below — read them and verify before running.
Reads. Source files, build manifests, config, README/ADRs, and git log metadata — subject
to the hard exclusions in references/safety.md.
Writes — this is the exhaustive list:
| Path | Behavior |
|---|---|
.agent/sign/canon.source.json |
created on first run; never overwritten if present |
.agent/sign/src/<PREFIX>-{OVERVIEW,ARCH,DEPS,STANDARDS}.sign |
authored; on re-run, regenerated only if still machine-drafted |
.agent/sign/dist/** |
compiled output; always regenerated |
AGENTS.md, CLAUDE.md |
only between <!-- SIGN:BEGIN --> and <!-- SIGN:END --> |
Never. Modifies source, tests, build files, or CI. Deletes anything. Runs a git write
(commit, push, checkout, reset, clean, stash). Installs packages. Sends any repository
content to a network endpoint.
No runtime network dependency. The spec is vendored at
references/sign-spec.md and kept in step with
sign-protocol/sign-lang by npm run sync at authoring time, not at run time. The skill works
air-gapped.
Secrets never enter output. SIGN records rules and pointers, never credential values. The redaction pass in Step 8 is mandatory, not advisory.
Nothing leaves the machine. Every artifact is a local file the operator reviews. Publishing, sharing, or committing is a separate action the operator takes themselves.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/codebase-canon.md 10.0 KB
- references/safety.md 7.4 KB
- references/sign-spec.md 13 KB
- references/SKILL-CONTRACT.sign 6.4 KB
- references/templates/agent-block.md 2.6 KB
- references/templates/ARCH.sign 1.5 KB
- references/templates/canon.source.json 193 B
- references/templates/DEPS.sign 1.2 KB
- references/templates/OVERVIEW.sign 1.4 KB
- references/templates/STANDARDS.sign 1.1 KB
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.
- 19d ago Changed · +5 lines eb3b22fcdd12
- 25d ago First seen · 356 lines · 154 tokens per session scan A efd79a843519
sign-encode-repo is a skill published in the GitHub repository sign-protocol/sign-tools (11 stars, last pushed 20d ago), licensed Apache-2.0. It adds 154 tokens to every session and 4,540 once invoked, about $0.0006 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-11-05.
sign-encode-repo compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sign-encode-reposign-protocol/sign-tools | Skill | 11 | 20d ago | Apache-2.0 | A | 154 | Claude Code |
| clinicaltrials-databasesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| openalex-databasesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 76 | Claude Code, Codex |
| glycoengineeringsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 75 | Claude Code, Codex |
| esmsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 86 | Claude Code, Codex |
| pysamsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| ensembl-databasesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |