keystone-new-policy

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

A generator that creates the starting files for a separately versioned policy repository. A policy repository is a shareable set of project rules and checks that other projects can add at a chosen version.

In plain words
What is it for?
Use it to start an organisation-wide or shared policy package that projects can later add and pin to a specific version.
Why use it?
It removes the manual setup needed to create the repository structure, manifest, charter folders, and README.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # writes ./acme-policies/{keystone-policy.json, .charter/, README.md, ...}.

Good fit Use it to start an organisation-wide or shared policy package that projects can later add and pin to a specific version.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tacoda/keystone
agentmods
npx agentmods add skills/tacoda/keystone/keystone-new-policy

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-policy

README.md
[![agentmods](https://agentmods.dev/badge/skills/tacoda/keystone/keystone-new-policy/github.svg)](https://agentmods.dev/skills/tacoda/keystone/keystone-new-policy)
Your own site
<a href="https://agentmods.dev/skills/tacoda/keystone/keystone-new-policy"><img src="https://agentmods.dev/badge/skills/tacoda/keystone/keystone-new-policy/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 keystone-new-policy

Your own site · 80×15
<a href="https://agentmods.dev/skills/tacoda/keystone/keystone-new-policy"><img src="https://agentmods.dev/badge/skills/tacoda/keystone/keystone-new-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 387 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.00012 $0.00387
Opus 5 $0.00006 $0.00193
Sonnet 5 $0.00002 $0.00077
Haiku 4.5 $0.00001 $0.00039

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

Security

Grade A, and why

keystone-new-policy 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 10d 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-policy/SKILL.md · 61 lines

What it actually says

keystone:new-policy — scaffold a policy repo

A policy is a separately-versioned charter fragment that consumer projects pin in their keystone.json (e.g. an org-wide policy that ships strict guides). This generator writes a fresh policy repo skeleton — manifest, charter directory layout, README — that you then populate and publish.

Unlike the other generators, keystone new policy writes to ./<name>/ in the current working directory, not into an existing charter install.

Run

From the directory where the policy repo should land:

keystone new policy <name>

Example:

keystone new policy acme-policies
# writes ./acme-policies/{keystone-policy.json, .charter/, README.md, ...}

After scaffolding

  1. Fill in keystone-policy.json — name, version, required port declarations, strict locks.
  2. Author the policy's .charter/ content — guides, sensors, etc.
  3. Initialize git and push to a host so consumers can pin the source.
  4. Consumers add the policy via keystone policy add <owner>/<repo>@<version>.

See the policy authoring guide for the full policy lifecycle.

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. 10d ago First seen · 61 lines · 12 tokens per session scan A 41adbe79ab26

Subscribe to this mod's changes

keystone-new-policy is a skill published in the GitHub repository tacoda/keystone (44 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 387 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