Command Palette

Search for a command to run...

Назад к скиллам
скилл № 58232

Setup

Check (default, read-only) observer prerequisites/config or apply confirmed docs/conventions/session-flow.yaml. Installs nothing; re-runnable.

БесплатноЗапускает вложенные скрипты
melodic-softwareот 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.

  1. Node.js on PATH, every hook row runs through node ${CLAUDE_PLUGIN_ROOT}/hooks/exec-bash.mjs. Probe node --version through Bash. FAIL if absent: the catch-up hook does not launch. Remediation: install Node.js on PATH (https://nodejs.org/en/download).
  2. Python 3.10+, the catch-up launcher and observer.py are stdlib-only Python 3.10+. Probe the same interpreter detection the hook uses (python3 then python, requiring sys.version_info >= (3, 10)). FAIL if none qualifies: without it the hook silently skips the catch-up. Remediation: install Python 3.10+ on PATH.
  3. jq, the SessionStart hook parses its stdin (session_id, transcript_path, source, agent_type) with jq. FAIL if absent: the hook exits early and no catch-up runs. Remediation: install jq (https://jqlang.org/download/).
  4. claude CLI on PATH, the catch-up analysis invokes claude -p. INFO if absent: the catch-up distills and keeps observations under its plugin work dir but writes no ledger; live checks are unaffected.
  5. 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's default from ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json userConfig, 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_bare on 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_seconds below the machine's longest expected single turn risks a catch-up of a session still running in another terminal.
  6. 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 unless observer_enabled is on.
  7. Repository settings. Run node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check from the project root. INFO when docs/conventions/session-flow.yaml is absent (every key comes from userConfig or 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. apply overwrites 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Setup с