Skip to content
Back to skills

Manager Setup

ASecurity

Configures Manager and review prompt modes. Explicit user invocation only.

  • 32 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
ai-agentssecurity

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add kochetkov-ma/claude-brewcode --skill manager-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Manager Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Manager Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kochetkov-ma-manager-setup/badge)](https://www.skillsdirectory.com/skills/kochetkov-ma-manager-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: manager-setup
description: "Configures Manager and review prompt modes. Explicit user invocation only."
---

# Ambient manager prompt mode

This skill configures ambient prompt guidance only. It does not create, claim, or enforce a hard security wall.

## Intent and scope

Resolve exactly one canonical mode -- `status`, `install`, `upgrade`, `enable`, `disable`, `uninstall`, `purge` -- plus the extras `level` and `edit`, then choose project state at `.codex/brewtools/manager/state.json` or personal prompt overrides under `~/.codex/manager/`. Obtain confirmation before global writes. With no mode given, resolve `status` when state already exists and `install` otherwise. `on`, `off`, `setup`, `remove`, `reset`, `create`, `update` and `cleanup` are not modes: read them as the canonical verb, echo the canonical name back, and never print a retired alias as a command.

## Modes

| Mode | Effect |
|------|--------|
| `status` | Show hook registration, state source, level, override paths, and the no-security-wall limitation. Writes nothing, asks nothing. |
| `install` | Register the `SessionStart` and `UserPromptSubmit` handlers for this project and arm ambient prompt state. Idempotent: a second run leaves exactly one entry per event. |
| `upgrade` | Re-register the handlers from the current plugin version and restamp the version recorded in state, keeping the armed flag, the level and every override verbatim. It asks nothing, and it is the only thing that clears a stale version report. |
| `enable` | Arm ambient prompt state only. With nothing registered there is no handler to arm, so report not-installed and route the user to `install`. |
| `disable` | Disarm ambient prompt state only. Never touches registration: the handlers stay registered and no-op while disarmed. |
| `uninstall` | Deregister the handlers. State and prompt overrides are KEPT, so a later `install` returns to the same level and the same customized text. |
| `purge` | `uninstall` plus deletion of `.codex/brewtools/manager/` and, in personal scope, the personal prompt override. The only destructive mode: state exactly what will be deleted before running it. |
| `level` | Set balanced or strict prompt wording. State only; it does not change sandbox or authorization. |
| `edit` | Update or remove prompt overrides after showing the diff. Changes injected text only, never registration or arm state. |

## Behavior

- `++m`: manager guidance, using the plan-aware reference in plan mode.
- `++a`: architecture-first guidance.
- `++rr`: anti-regression review guidance.
- `++r`: two-pass review guidance.

The codewords are hook-driven: they fire on every prompt regardless of the mode state above. `status` explains them and `edit` customizes their text; no mode turns them off.

The plugin uses `SessionStart` and `UserPromptSubmit` hooks. Preserve unrelated hook entries and review changed definitions with `/hooks`.

## Native user gates

Required approval: main presents a concrete, reviewable proposal in chat and waits for an actual user reply before dependent action. Existing authorization for the same scope remains valid; do not ask again. Optional clarification: use `request_user_input_async` only if exposed, or `request_user_input` only if available in the current runtime/mode, for optional choices and never approval. Otherwise ask in main chat. Delegated agents return unresolved questions to main. Silence, elapsed time and tool errors are not approval.

Files in this skill

  • README.md156 B
  • SKILL.md2.9 KB
  • agents/openai.yaml255 B
  • references/architect.md367 B
  • references/full.md2.5 KB
  • references/planmode.md3.3 KB
  • references/review-double.md226 B
  • references/review-regression.md235 B
  • tests/suite.mjs34.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.