keystone-new-guide

keystone-new-guide is a skill for Claude Code, Codex from tacoda/keystone. It costs 15 tokens per session (514 once invoked), scanned A, original, MIT.

A command that creates both a guide and its paired corpus file. A guide states project rules, while the corpus file explains the reasoning behind those rules.

In plain words
What is it for?
Use it to add a new project rule, document why it exists, and place both files in the correct topic-based directories.
Why use it?
It prevents the rule and its explanation from becoming disconnected and creates the standard files and links automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Good fit Use it to add a new project rule, document why it exists, and place both files in the correct topic-based directories.

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

Made for: Claude Code, Codex.

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 keystone-new-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/tacoda/keystone/keystone-new-guide.svg)](https://agentmods.dev/skills/tacoda/keystone/keystone-new-guide)
Your own site
<a href="https://agentmods.dev/skills/tacoda/keystone/keystone-new-guide"><img src="https://agentmods.dev/badge/skills/tacoda/keystone/keystone-new-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 514 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.00015 $0.00514
Opus 5 $0.00008 $0.00257
Sonnet 5 $0.00003 $0.00103
Haiku 4.5 $0.00002 $0.00051

Measured 8d ago against content hash 56a4f3cc5562, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

keystone-new-guide 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 8d 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.

.charter/skills/keystone-new-guide/SKILL.md · 72 lines

What it actually says

keystone:new-guide — scaffold a guide + paired corpus

A guide is a markdown file under .charter/guides/<topic>/ that declares one or more rules (the what); a paired corpus entry under .charter/corpus/<topic>/ carries the reasoning (the why). The generator emits both with canonical frontmatter, charter-root-relative cross-links, and the required tier headings.

Run

keystone new guide <topic>/<name>

Example:

keystone new guide process/release
# writes .charter/guides/process/release.md
#        .charter/corpus/process/release.md

Topic selection

The topic directory sets the guide's default activation:

Topic Default activation
domain/ Ambient on every action.
process/ On phase entry.
idioms/<stack>/ Lazy by region — only when the touched region's stack matches.
principles/ Ambient on every action.
computational/ Editor / LSP / on-save (tool-driven).

See docs/ports/guide.md for the full guide port contract.

After scaffolding

  1. Fill in the rule body — short, declarative bullets under ## RULES (the default tier). Use ## IRON LAW(S) or ## GOLDEN RULE only when warranted.
  2. Fill in the paired corpus body — long-form reasoning, anti-patterns, references.
  3. Optionally add a globs: frontmatter list to narrow activation to specific code paths.
  4. Run keystone index to refresh the descriptor surface.
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. 8d ago First seen · 72 lines · 15 tokens per session scan A 56a4f3cc5562

Subscribe to this mod's changes

keystone-new-guide is a skill published in the GitHub repository tacoda/keystone (44 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 514 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

portaljs-new-portal

Scaffold a new PortalJS data portal from a brief. Copies the canonical template from examples/portaljs-catalog and substitutes project tokens. Use when starting a brand-new data portal project from scratch.

datopian/portaljs · 46 tokens

workflow-creation

Create a new Stencila workflow. Use when asked to create, write, scaffold, or set up a workflow directory or WORKFLOW.md file. Covers workflow discovery, duplicate-name checks, ephemeral workflows, WORKFLOW.md frontmatter, DOT pipeline authoring, goals, agents, branching, composition, and validation.

stencila/stencila · 67 tokens

agent-creation

Create a new Stencila agent. Use when asked to create, write, scaffold, or set up an agent directory or AGENT.md file. Covers workspace and user-level agents with model, provider, tool, trust, and MCP configuration.

stencila/stencila · 53 tokens

skill-creation

Create a new Stencila workspace skill. Use when asked to create, write, or scaffold a SKILL.md file or skill directory.

stencila/stencila · 32 tokens

design-import

Scaffolds React components from a Claude Design handoff bundle and stops at files on disk: no stories, no tests, no pull request. Use when handed a claude.ai/design URL or a local bundle file; when that same scaffold should carry on through test generation, browser verification and an opened PR, run /ork:design-ship…

yonatangross/orchestkit · 74 tokens

plugin-init

A project starter for creating Zhin.js plugins, which are installable packages that extend the Zhin.js bot framework. It sets up the required files, folders, package metadata, entry point, and documentation.

zhinjs/zhin · 56 tokens