원클릭으로
keystone-bootstrap
One-time initial charter scaffold — detect stack, seed state, scaffold idioms, classify sensors, build the globs index.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
One-time initial charter scaffold — detect stack, seed state, scaffold idioms, classify sensors, build the globs index.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Full dual-flywheel audit — Learning (capture from review) + Pruning (remove dead rules). Periodic charter hygiene.
Run the drift sensor on the current diff — fast pre-verify check that loaded charter rules still match what the code is doing.
Triage the code-debt ledger — review the debt sensor's findings and update corpus/state/code-debt.md.
Regenerate .keystone/INDEX.json — the primitive descriptor index every agent reads at session start.
Capture a learning candidate (surprise, incident, review finding) into .charter/learning/inbox/ for later synthesis.
Switch the charter pacing mode (paired / solo / autopilot).
| name | keystone-bootstrap |
| description | One-time initial charter scaffold — detect stack, seed state, scaffold idioms, classify sensors, build the globs index. |
| tools | ["Read","Grep","Glob","Bash","Write","Edit","Task"] |
| model | opus |
The first thing to run after keystone init. Walks the repo, detects
the real stack, and replaces every template placeholder under
.charter/corpus/state/ with code-grounded values.
The canonical playbook is the bootstrap action at
.charter/actions/bootstrap.md. This skill is a thin
trigger that points the agent at it — open the action and execute its
activities in order.
Open .charter/actions/bootstrap.md and execute every activity
listed under ## Activities. Every activity must land a real file
change before moving on; narration does not count.
A short summary of the work, copied from the action:
package.json, go.mod, pyproject.toml, …).corpus/state/CODEBASE_STATE.md with real tool commands +
region map.corpus/idioms/<stack>/ + paired guides/idioms/<stack>/
with globs: derived from the region map.guides/computational/ from .editorconfig, LSP config,
formatter configs.sensors/ as runnable or not for the
selected adapter.corpus/state/GLOBS_INDEX.md — the reverse index from
glob → guides..cursor/rules/,
.claude/skills/, or the index-driven path for pointer-style
adapters).After every state-file write or new primitive, run keystone index so
.keystone/INDEX.json reflects the new shape. If skills, subagents,
or commands changed, run keystone project to regenerate .claude/.
keystone init, before the first real task.Bootstrap is not done until:
grep -E '<[^>]+>' .charter/corpus/state/CODEBASE_STATE.md
returns no template placeholders.last_reconciled in CODEBASE_STATE.md is today's date.corpus/idioms/<stack>/ and guides/idioms/<stack>/ exist for
each detected stack.globs:.corpus/state/GLOBS_INDEX.md lists at least one row per seeded
guide (or is explicitly empty).See the action for the full check list.