Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

manager-setup

БесплатноЗапускает вложенные скриптыНе проверен

Manager mode: project hard delegation wall — status, install, upgrade, enable, disable, uninstall, purge, level; prompt codewords (++m, ++a, ++rr, ++r, +++)…

kochetkov-maот kochetkov-ma★ 41 звезда на GitHub

Об этом скилле

Manager

Manager mode is the opt-in HARD wall plus the task-graph tools key. The prompt codewords (++m / ++a / ++rr / ++r / +++) are NOT part of this plugin: the brewmod-placeholders mod provides them (Claude Code 2.1.301+). This skill neither installs nor toggles them; status only reports where they come from.

Codewords — provided by brewmod-placeholders. Install: claude plugin install brewmod-placeholders@claude-brewcode. Text override files are read by the mod's legacy layer: it reads <project>/.claude/brewtools/manager/prompts/<mode>.md and <config dir>/manager/prompts/<mode>.md as its legacy layer (<mode> = full, planmode, architect, review-regression, review-double, cron-plan). This skill never reads, writes or deletes them. Codeword list, /placeholders command: the mod's README.

HARD wall — opt-in, this skill only, project-only, persistent, default OFF; no codeword. install puts a self-contained PreToolUse guard into the project and registers it once in the personal, gitignored <cwd>/.claude/settings.local.json; it is not a plugin hook. The guard rechecks project state.json {hard} on every call and is inert while disarmed; armed, it denies main-session mutations while subagents remain free (agent_id). Arming always passes the P1 arm-confirmation gate. An armed wall denies arbitrary Edit/Bash, so disable never edits settings: it flips state through the one exempt command, valid even at strict. An armed wall injects nothing per prompt.

The exempt command (nothing else gets through an armed wall):

node <ABS project root>/.claude/brewtools/manager/manager-state.mjs set hard=false

The guard exempts it only when all of these hold: the command starts with node ; the first argument after node resolves (realpath) to the helper this project actually installed — <root>/.claude/brewtools/manager/manager-state.mjs, or the plugin's own hooks/lib/manager-state.mjs next to the guard; there is no shell operator outside quotes, no $ expansion, no eval flag (-e/--eval/-p/--print/--input-type/--require/--import/--loader); and the remaining arguments are the helper's own CLI (get | set hard=<true|false> level=<strict|balanced> mcpAllow=<mcp__srv__tool[,...]|> [--cwd DIR]). No BT_ROOT= prelude, no && echo, no || echo, no test -f: each is a shell operator and turns the exemption off. A file merely named manager-state.mjs elsewhere on disk is not exempt: the anchor is the absolute installed path, not the filename or a path suffix, which is why install/upgrade copy the helper into the project.

What the guard actually enforces (read this before you need it)

Table (who is walled, project root, fail-closed, balanced/strict Bash and Monitor, MCP, mcpAllow): references/guard-enforcement.md. Read it before you explain a denial, set a level or allowlist an MCP tool.

Recovery, in order of preference.

  1. node <ABS root>/.claude/brewtools/manager/manager-state.mjs set hard=false — works at every level, including when state.json is corrupt (it rewrites the file).
  2. A genuinely read-only MCP tool denied by the classifier — allowlist it (balanced only), same self-exempt command shape, quote the value so the shell keeps *: node <ABS root>/.claude/brewtools/manager/manager-state.mjs set 'mcpAllow=mcp__semble_code__*,mcp__github__get_file' — the list is replaced wholesale, one invalid entry writes nothing (exit 2), and set 'mcpAllow=' clears it.
  3. Delegate: Agent is always allowed and subagents are unwalled, so a subagent can repair state or carry out this skill's upgrade section for you. It cannot invoke /brewtools:manager-setup (disable-model-invocation: true), so it follows the file: ${CLAUDE_SKILL_DIR}/SKILL.md, with the dollar-brace CLAUDE_PLUGIN_ROOT replaced by ${CLAUDE_PLUGIN_ROOT} and the dollar-brace CLAUDE_PROJECT_DIR by the absolute project root.
  4. Two cases need action outside the session; there is no in-session workaround, so do not hunt for one. The fix for both: delete the brewtools-manager-guard entry from .claude/settings.local.json in an editor, or from a terminal in the project root; settings are watched, so the running session drops the entry (/hooks to confirm; restart only if it is still listed): node -e 'const fs=require("fs"),f=".claude/settings.local.json",c=JSON.parse(fs.readFileSync(f,"utf8"));c.hooks.PreToolUse=c.hooks.PreToolUse.filter(m=>!JSON.stringify(m).includes("hardmode-guard.mjs"));fs.writeFileSync(f,JSON.stringify(c,null,2)+"\n")'
    • Every tool call fails with blocking because onFailure is "block": the registered guard script is missing or cannot start (the .claude/brewtools/ tree deleted by hand, the project moved or renamed). Main session and subagents are blocked, Read included, even with the wall disabled. On Claude Code < 2.1.295 the same manual rm -rf disarms the wall instead. Neither is a w
Полный SKILL.md на GitHub

Установить manager-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

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

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

Read
Bash
AskUserQuestion
Agent

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

README.mdreferences/guard-enforcement.mdreferences/hard.mdreferences/install-steps.mdreferences/intent-routing.mdreferences/status-shape.mdscripts/lifecycle.mjs

FAQ

Что делает скилл manager-setup?

Manager mode: project hard delegation wall — status, install, upgrade, enable, disable, uninstall, purge, level; prompt codewords (++m, ++a, ++rr, ++r, +++) come from the brewmod-placeholders mod, not this skill. Triggers: manager, менеджер, hard mode, хард режим, delegate.

Как установить скилл manager-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл manager-setup запускает скрипты?

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

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

Сравнить manager-setup с