Setup
Check or configure the repository's autonomy binding under .claude/autonomy/ (org role homes, substrates, budget posture, pipeline slots).
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Discovery phase of autonomy adoption. Maps the roles in
${CLAUDE_PLUGIN_ROOT}/reference/role-topology.md to this org's real instances
and records the result as the schema-versioned binding the resolution ladder in
${CLAUDE_PLUGIN_ROOT}/reference/binding-seam.md reads at the repo-local layer. Never assumes
any org, repo, tracker, or fleet shape. Discovery reads what exists, the interview fills what
it cannot infer, and every landed change is reviewable per
${CLAUDE_PLUGIN_ROOT}/reference/wiring-vs-advisor.md.
Actions
check(read-only): resolve the effective binding across all rungs of the binding-seam resolution ladder. User-global (~/.claude/autonomy/) → project (.claude/autonomy/) → personal override (.claude/autonomy/**/*.local.*), additive, plus the org rung when the merged layers carry anorg_policy_homepointer: fetch the org binding via the host CLI with the consumer's own auth and fold it in at its ladder position. Report what is bound, what is missing, and which layer or rung contributes each value; an unreachable org-policy home is warned as not-considered, never silently omitted. Also report whethernoderesolves on PATH (command -v nodethrough the Bash tool, so the probe works without the hook launcher): every hook row runs throughnode hooks/exec-bash.mjs, so without it the hooks do not launch and are not enforced. Report each pipeline slot from the record that owns it. No writes.apply(idempotent): run discovery, then write or update the project binding. Re-running reads the existing binding and proposes deltas; it never overwrites blind and never touches unrelated user content. All project paths anchor at the project root. Resolve${CLAUDE_PROJECT_DIR}(fall back to the repository toplevel) before writing; invoking the skill from a subdirectory must never create a nested.claude/autonomy/.
Argument surface (enumerated)
| Argument | Values | Headless default |
|---|---|---|
| action | check | apply |
(required) |
--org-policy-home |
repository locator, optionally #<path> to the binding document | none |
none |
--budget-posture |
free | paid-opt-in |
free |
A locator without #<path> triggers document discovery at bind time (the binding instance
document is found by its schema-versioned shape per the org repo's own layout) and the
resolved path is persisted alongside the pointer so later fetches are deterministic.
Slices marked argument-selected below (guardrail, routine) run only when the free-text remainder
of the invocation names them, for example apply followed by "wire the guardrail slice"; none of
the enumerated flags selects a slice.
apply with every argument supplied runs non-interactively, no prompts, so automation and
headless use work. With arguments missing, discovery infers first and interviews only the
gaps (convention ladder: config present → use it; absent → infer and persist; cannot infer →
ask and offer to persist; otherwise → safe free-tier default).
Discovery (apply)
- Role homes: inspect the repository and, when a host CLI with the consumer's own auth is available, the org, which repositories hold the CI-orchestration, settings-as-code, and org-policy roles. A solo/no-org adopter terminates at the binding-seam contract's terminal default: the repo-local binding is the whole binding, free-tier defaults throughout.
- Substrate availability: what execution surfaces exist (local machine, CI runners, self-run infrastructure). Recorded as declared posture, not probed destructively.
- Budget posture:
freeunless the user explicitly opts intopaid-opt-in; anything paid is advisory + explicit opt-in with cost surfaced first (wiring-vs-advisor). - Pipeline slots: runner, git host, ticket tracker, observability. Each slot reads what steps
1 and 2, the telemetry slice, and the work-items tracker binding already found, lays out the
option classes with no preference, looks up the price of any option that can bill at run time,
and hands wiring to the slot's owner. No price is ever written to the binding or this skill.
Read
context/pipeline-slots.mdwhenapplyreaches this step orcheckreports slots: it owns the slot-to-owner table, the option classes, and the live price-research step.
Written binding
apply writes .claude/autonomy/binding.json with these serialized keys:
schema_version(string, from"1.0");roles, an object keyed by the kebab-case role names of the role-topology contract (capability-distribution-home,ci-orchestration-home,settings-as-code-home,org-policy-home,runner-execution-home); a value may be null (unborn role, or no org instance, never invented)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/agent-session-telemetry.md
- context/capture-slice.md
- context/container-surfaces.md
- context/gotchas.md
- context/guardrail-slice.md
- context/pipeline-slots.md
- context/prerequisite-resolution-slice.md
- context/routine-slice.md
- context/trigger-dispatch-slice.md
- context/windows-surfaces.md
- evals/evals.json
- schemas/guardrails-security-binding.schema.json
- scripts/apply-prerequisite-resolution.mjs
- scripts/canonical-url.mjs
- scripts/check-emission-conformance.mjs
- scripts/check-emission-conformance.test.sh
- scripts/check-prerequisite-resolution-slice.test.sh
- scripts/check-prerequisite-resolution.mjs
- scripts/check-security-binding.admission-leaf.test.mjs
- scripts/check-security-binding.admission-leaf.test.sh
- scripts/check-security-binding.escalation-stop.test.mjs
- scripts/check-security-binding.escalation-stop.test.sh
- scripts/check-security-binding.fixtures.test.manifest.json
- scripts/check-security-binding.fixtures.test.mjs
- scripts/check-security-binding.fixtures.test.sh
- scripts/check-security-binding.mjs
- scripts/check-signal-envelope.mjs
- scripts/fixture-harness.mjs
- scripts/generate-identity-prerequisites.mjs
- scripts/generate-identity-prerequisites.test.manifest.json
- scripts/generate-identity-prerequisites.test.sh
- scripts/resolve-prerequisites.fixtures.test.manifest.json
- scripts/resolve-prerequisites.fixtures.test.mjs
- scripts/resolve-prerequisites.fixtures.test.sh
- scripts/resolve-prerequisites.mjs
- templates/ack-reply.md
- templates/ci-otlp-artifact.md
- templates/isolation-probe.md
- templates/return-capture.md
- templates/routine-definitions.md
FAQ
Что делает скилл Setup?
Check or configure the repository's autonomy binding under .claude/autonomy/ (org role homes, substrates, budget posture, pipeline slots).
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…