Keystone New

Scaffold a new primitive (rule, reference, hook, permission, eval, skill, command, subagent, tool, document) at the canonical path. Triggers: keystone new; keystone:new; /keystone:new; add a rule; add a hook; add a skill; scaffold a primitive.

44 stars 3 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add tacoda/keystone --skill keystone-new
Manual install
git clone --depth 1 https://github.com/tacoda/keystone.git /tmp/keystone
mkdir -p ~/.claude/skills
cp -r /tmp/keystone/.agents/skills/keystone-new ~/.claude/skills/keystone-new

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# keystone:new — scaffold a primitive

`keystone new` writes a skeleton at the conventional path with valid
frontmatter. Fill in the TODOs, then run `keystone index && keystone project`.

## Pick the kind

Constraints limit, gate, or check what the agent does:

| Kind | Command | Writes |
|---|---|---|
| rule | `keystone new rule <topic>/<name>` | `.agents/rules/<topic>/<name>.md` + its reference |
| reference | `keystone new reference <topic>/<name>` | `.agents/references/<topic>/<name>.md` |
| hook | `keystone new hook <id>` | `.agents/hooks/<id>.md` |
| permission | `keystone new permission <id>` | `.agents/permissions/<id>.md` |
| eval | `keystone new eval <id>` | `.agents/evals/<id>/` |

Capabilities add things the agent can do:

| Kind | Command | Writes |
|---|---|---|
| skill | `keystone new skill <id>` | `.agents/skills/<id>/SKILL.md` |
| command | `keystone new command <id>` | `.agents/commands/<id>.md` |
| subagent | `keystone new subagent <id>` | `.agents/agents/<id>.md` |
| tool | `keystone new tool <id>` | `.agents/tools/<id>.md` |
| document | `keystone new document <id>` | `.agents/documents/<id>.md` |

## After scaffolding

1. Replace every `TODO` in the frontmatter and body.
2. A rule: add `paths:` to scope it to matching files, or leave it out to
   apply everywhere.
3. A hook: set `event:` and `run:`. A non-zero exit blocks the agent.
4. Run `keystone lint`, then `keystone index && keystone project`.
Read the full skill on GitHub

Details

Skill name
keystone-new
Path
.agents/skills/keystone-new/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Keystone New skill do?

Scaffold a new primitive (rule, reference, hook, permission, eval, skill, command, subagent, tool, document) at the canonical path. Triggers: keystone new; keystone:new; /keystone:new; add a rule; add a hook; add a skill; scaffold a primitive.

How do I install the Keystone New skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add tacoda/keystone --skill keystone-new. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Keystone New popular?

It lives in tacoda/keystone, which has 44 GitHub stars and 3 forks.

Related skills

Keystone Allocate

44

tacoda/keystone

Move an existing agent setup into the charter and cut always-loaded context: run keystone allocate, review its classifications, then apply. Triggers: keystone allocate; keystone:allocate; /keystone:allocate; convert my .claude setup; migrate .cursorrules; trim CLAUDE.md; reduce context bloat.

AI, LLMs & Agents

Keystone Audit

44

tacoda/keystone

Full dual-flywheel audit — Learning (capture from review) + Pruning (remove dead rules). Periodic charter hygiene. Triggers: keystone audit; keystone:audit; /keystone:audit; run audit; audit the charter; dual flywheel audit.

Data & Analytics

Keystone Bootstrap

44

tacoda/keystone

One-time initial charter scaffold — detect stack, seed state, scaffold idioms, classify hooks, build the globs index. Triggers: keystone bootstrap; keystone:bootstrap; /keystone:bootstrap; run bootstrap; bootstrap the charter; bootstrap the keystone charter; first-time setup.

Data & Analytics

Keystone New Adapter

44

tacoda/keystone

Define a host keystone has no built-in profile for (.agents/hosts/<name>.json): pick native, link, copy, or index per kind, then project to it. Triggers: keystone new adapter; keystone:new-adapter; /keystone:new-adapter; add a host; support a new coding agent; project to another agent.

AI, LLMs & Agents

Keystone Index

44

tacoda/keystone

Regenerate .keystone/INDEX.json — the primitive descriptor index every agent reads at session start. Triggers: keystone index; keystone:index; /keystone:index; refresh the keystone index; regenerate INDEX.json; reindex primitives.

AI, LLMs & Agents

Keystone Review

44

tacoda/keystone

Run the four review subagents on the current diff (functional, security, risk, deployment). Triggers: keystone review; keystone:review; /keystone:review; review the diff; run review subagents; semantic review.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.