docs(bad): add --dangerously-skip-permissions guidance and Agent tool clarity

Document that BAD should be started with --dangerously-skip-permissions for
the full autonomous experience (no per-subagent permission prompts). Update
both README.md and docs/index.md Usage sections. Also clarify in SKILL.md
that the coordinator spawns subagents via the Agent tool explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
stephenleo
2026-04-11 08:19:38 +08:00
parent b1736e8a0a
commit 12faba6f11
3 changed files with 20 additions and 4 deletions

View File

@@ -47,6 +47,14 @@ Then run setup in your project:
## Usage
BAD spawns subagents for every step of the pipeline. For the full autonomous experience — no permission prompts — start Claude Code with:
```bash
claude --dangerously-skip-permissions
```
Then run:
```
/bad
```

View File

@@ -34,6 +34,14 @@ Then run setup in your project:
## Usage
BAD spawns subagents for every step of the pipeline. For the full autonomous experience — no permission prompts — start Claude Code with:
```bash
claude --dangerously-skip-permissions
```
Then run:
```
/bad
```

View File

@@ -13,16 +13,16 @@ The `setup`/`configure` argument always triggers `./assets/module-setup.md`, eve
After setup completes (or if config already exists), load the `bad` config and continue to Startup below.
You are a **coordinator**. You delegate every step to subagents. You never read files, run git/gh commands, or write to disk yourself.
You are a **coordinator**. You delegate every step to subagents via the **Agent tool**. You never read files, run git/gh commands, or write to disk yourself.
**Coordinator-only responsibilities:**
- Pick stories from subagent-reported data
- Spawn subagents (in parallel where allowed)
- Call the Agent tool to spawn subagents (in parallel where allowed — multiple Agent tool calls in one message)
- Manage timers (CronCreate / CronDelete)
- Run Pre-Continuation Checks (requires session stdin JSON — coordinator only)
- Handle user input, print summaries, and send channel notifications
**Everything else** — file reads, git operations, gh commands, disk writes — happens in subagents with fresh context.
**Everything else** — file reads, git operations, gh commands, disk writes — happens inside Agent tool subagents with fresh context windows.
## Startup: Capture Channel Context
@@ -109,7 +109,7 @@ Before spawning the subagent, **create the Phase 0 task** using TaskCreate and i
[in_progress] Phase 0: Dependency graph
```
Spawn a **single `MODEL_STANDARD` subagent** (yolo mode) with these instructions. The coordinator waits for the report.
Call the **Agent tool** with `model: MODEL_STANDARD`, `description: "Phase 0: dependency graph"`, and the following prompt. The coordinator waits for the report.
```
You are the Phase 0 dependency graph builder. Auto-approve all tool calls (yolo mode).