Setup
Check (default, read-only) observer prerequisites/config or apply confirmed docs/conventions/session-flow.yaml. Installs nothing; re-runnable.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Two kinds of configuration. The session observer (see
${CLAUDE_PLUGIN_ROOT}/reference/observer.md) has
runtime prerequisites (Node.js, Python 3.10+, jq) and native userConfig tunables; setup reports
both and writes neither (writing pluginConfigs is what the setup contract forbids). The plugin
also owns one tracked consumer file, docs/conventions/session-flow.yaml, the repository layer of
the keys skills read in their own text (keys, values and layers:
${CLAUDE_PLUGIN_ROOT}/reference/config.md; schema:
${CLAUDE_PLUGIN_ROOT}/schemas/session-flow.schema.json). check reports that file; apply
writes it and nothing else.
Action routing: no argument or check runs the check; apply runs the check, then writes.
Re-running either reads the current state again.
check (read-only)
The observer's files are the single source of truth for what they require and how they degrade:
the module ${CLAUDE_PLUGIN_ROOT}/hooks/register.tsx, the catch-up hook
${CLAUDE_PLUGIN_ROOT}/hooks/observer-catchup.sh, its launcher
${CLAUDE_PLUGIN_ROOT}/skills/running-retro/scripts/arm_observer.py, and observer.py beside it.
Read it first. Probe what it actually does, don't recite this file. Then run each probe via Bash and report a PASS/FAIL/INFO table with one remediation line per FAIL. Do not modify anything.
When the observer is disabled (observer_enabled off), every
prerequisite absence downgrades from FAIL to INFO, the hook exits through its opt-in gate before
touching anything, so a deliberately disabled plugin is not broken. Report the probes informationally
and note that re-enabling restores the FAIL semantics.
- Node.js on PATH, every hook row runs through
node ${CLAUDE_PLUGIN_ROOT}/hooks/exec-bash.mjs. Probenode --versionthrough Bash. FAIL if absent: the catch-up hook does not launch. Remediation: install Node.js on PATH (https://nodejs.org/en/download). - Python 3.10+, the catch-up launcher and
observer.pyare stdlib-only Python 3.10+. Probe the same interpreter detection the hook uses (python3thenpython, requiringsys.version_info >= (3, 10)). FAIL if none qualifies: without it the hook silently skips the catch-up. Remediation: install Python 3.10+ on PATH. jq, the SessionStart hook parses its stdin (session_id,transcript_path,source,agent_type) withjq. FAIL if absent: the hook exits early and no catch-up runs. Remediation: installjq(https://jqlang.org/download/).claudeCLI on PATH, the catch-up analysis invokesclaude -p. INFO if absent: the catch-up distills and keeps observations under its plugin work dir but writes no ledger; live checks are unaffected.- Observer config. Report the effective value of each native key (an unexpanded
${user_config.…}token or empty means the default):${user_config.observer_enabled}(default off),${user_config.observer_step_check}(default on),${user_config.observer_turn_end_check}(default off),${user_config.observer_analysis_enabled}(default on),${user_config.observer_analysis_model}and${user_config.observer_analysis_effort}(defaults: read each key'sdefaultfrom${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.jsonuserConfig, never from memory),${user_config.observer_analysis_bare}(default off),${user_config.observer_min_lines}(default from plugin.json, as above),${user_config.observer_idle_seconds}(default 900). Call out two hazards:observer_analysis_bareon is a FAIL on an OAuth-login install (what bare mode does with OAuth credentials: https://code.claude.com/docs/en/headless#start-faster-with-bare-mode);observer_idle_secondsbelow the machine's longest expected single turn risks a catch-up of a session still running in another terminal. - Hook registration. INFO: confirm the plugin is enabled for this project (
/plugin→ Installed) rather than parsing settings files. The module and the SessionStart hook do nothing unlessobserver_enabledis on. - Repository settings. Run
node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --checkfrom the project root. INFO whendocs/conventions/session-flow.yamlis absent (every key comes fromuserConfigor its default); PASS with each key's value when the file validates; WARN, never FAIL, when it does not (an invalid value, an unknown or repeated key, an empty or non-scalar value, or a path that is not a plain file), quoting the line the script prints. An invalid value never stops a session-flow skill: the skill names it and drops that layer. An unknown key is named and ignored, and the valid keys still print.applyoverwrites only a value that is out of the list, empty or null; it refuses every other shape (a repeated key, an unknown key holding a map or list, a map or list, an em
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- scripts/setup-apply.mjs
- scripts/setup-apply.test.sh
FAQ
Что делает скилл Setup?
Check (default, read-only) observer prerequisites/config or apply confirmed docs/conventions/session-flow.yaml. Installs nothing; re-runnable.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…