sign-encode-repo

sign-encode-repo is a skill for Claude Code from sign-protocol/sign-tools. It costs 154 tokens per session (4,540 once invoked), scanned A, original, Apache-2.0.

A codebase-documentation workflow that creates a compact set of files describing a repository's purpose, structure, dependencies, and engineering rules. A repository is a project's files and version history.

In plain words
What is it for?
Use it to generate and update the SIGN documents, indexes, compiled bundles, coverage report, and agent instructions for a repository.
Why use it?
It gives coding agents a maintained overview to consult instead of making them reread the entire codebase.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to generate and update the SIGN documents, indexes, compiled bundles, coverage report, and agent instructions for a repository.

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

Made for: Claude Code.

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 sign-encode-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/sign-protocol/sign-tools/sign-encode-repo/github.svg)](https://agentmods.dev/skills/sign-protocol/sign-tools/sign-encode-repo)
Your own site
<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.

agentmods 80×15 button for sign-encode-repo

Your own site · 80×15
<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>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,540 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.00154 $0.04540
Opus 5.5 $0.00062 $0.01816
Sonnet 5.5 $0.00031 $0.00908
Haiku 4.5 $0.00015 $0.00454

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

Security

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.

packages/sign-encode-repo/.claude/skills/sign-encode-repo/SKILL.md · 361 lines

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.

Read the full file on GitHub · 361 lines

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. 19d ago Changed · +5 lines eb3b22fcdd12
  2. 25d ago First seen · 356 lines · 154 tokens per session scan A efd79a843519

Subscribe to this mod's changes

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.

Related

sign-encode-repo compared with skills from other repositories

sign-encode-repo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sign-encode-reposign-protocol/sign-toolsSkill1120d agoApache-2.0A154Claude Code
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex
openalex-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
glycoengineeringsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A75Claude Code, Codex
esmsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A86Claude Code, Codex
pysamsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex
ensembl-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A45Claude Code, Codex