brainclaw 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +585 -499
- package/dist/brainclaw-vscode.vsix +0 -0
- package/dist/commands/harvest.js +1 -1
- package/dist/commands/hooks.js +73 -73
- package/dist/commands/init.js +1 -1
- package/dist/commands/install-hooks.js +78 -78
- package/dist/commands/mcp-read-handlers.js +57 -14
- package/dist/commands/mcp.js +79 -13
- package/dist/commands/switch.js +26 -5
- package/dist/commands/version.js +1 -1
- package/dist/core/agent-capability.js +19 -4
- package/dist/core/agent-files.js +119 -119
- package/dist/core/codev-prompts.js +38 -38
- package/dist/core/default-profiles/doctor.yaml +11 -11
- package/dist/core/default-profiles/janitor.yaml +11 -11
- package/dist/core/default-profiles/onboarder.yaml +11 -11
- package/dist/core/default-profiles/reviewer.yaml +13 -13
- package/dist/core/dispatcher.js +1 -1
- package/dist/core/entity-operations.js +29 -3
- package/dist/core/execution.js +1 -1
- package/dist/core/loops/verbs.js +0 -1
- package/dist/core/messaging.js +2 -2
- package/dist/core/protocol-skills.js +164 -164
- package/dist/core/runtime-signals.js +1 -1
- package/dist/core/search.js +19 -2
- package/dist/core/security-guard.js +207 -207
- package/dist/core/spawn-check.js +16 -2
- package/dist/core/staleness.js +1 -1
- package/dist/core/store-resolution.js +26 -7
- package/dist/core/worktree.js +18 -18
- package/dist/facts.js +3 -3
- package/dist/facts.json +2 -2
- package/docs/PROTOCOL.md +1 -1
- package/docs/adapters/openclaw.md +43 -43
- package/docs/architecture/project-refs.md +328 -328
- package/docs/cli.md +2093 -2093
- package/docs/concepts/coordination.md +52 -52
- package/docs/concepts/coordinator-runbook.md +129 -129
- package/docs/concepts/dispatch-lifecycle.md +245 -245
- package/docs/concepts/event-log-store.md +928 -928
- package/docs/concepts/ideation-loop.md +317 -317
- package/docs/concepts/loop-engine.md +520 -511
- package/docs/concepts/mcp-governance.md +268 -268
- package/docs/concepts/memory.md +84 -84
- package/docs/concepts/multi-agent-workflows.md +167 -167
- package/docs/concepts/observer-protocol.md +361 -361
- package/docs/concepts/plans-and-claims.md +217 -217
- package/docs/concepts/project-md-convention.md +35 -35
- package/docs/concepts/runtime-notes.md +38 -38
- package/docs/concepts/troubleshooting.md +254 -254
- package/docs/concepts/workspace-bootstrapping.md +142 -142
- package/docs/context-format-changelog.md +35 -35
- package/docs/context-format.md +48 -48
- package/docs/index.md +65 -65
- package/docs/integrations/agents.md +158 -158
- package/docs/integrations/claude-code.md +23 -23
- package/docs/integrations/cline.md +77 -77
- package/docs/integrations/continue.md +55 -55
- package/docs/integrations/copilot.md +68 -68
- package/docs/integrations/cursor.md +23 -23
- package/docs/integrations/kilocode.md +72 -72
- package/docs/integrations/mcp.md +377 -377
- package/docs/integrations/mistral-vibe.md +122 -122
- package/docs/integrations/openclaw.md +92 -92
- package/docs/integrations/opencode.md +84 -84
- package/docs/integrations/overview.md +115 -115
- package/docs/integrations/roo.md +71 -71
- package/docs/integrations/windsurf.md +77 -77
- package/docs/mcp-schema-changelog.md +360 -356
- package/docs/playbooks/integration/index.md +121 -121
- package/docs/playbooks/orchestration.md +37 -0
- package/docs/playbooks/productivity/index.md +99 -99
- package/docs/playbooks/team/index.md +117 -117
- package/docs/product/agent-first-model.md +184 -184
- package/docs/product/entity-model-audit.md +462 -462
- package/docs/product/positioning.md +86 -86
- package/docs/quickstart-existing-project.md +107 -107
- package/docs/quickstart.md +183 -183
- package/docs/release-maintenance.md +79 -79
- package/docs/reputation.md +52 -52
- package/docs/review.md +45 -45
- package/docs/security.md +212 -212
- package/docs/server-operations.md +118 -118
- package/docs/storage.md +106 -106
- package/package.json +80 -65
- package/docs/concepts/event-log-store-critique-A.md +0 -333
- package/docs/concepts/event-log-store-critique-B.md +0 -353
- package/docs/concepts/event-log-store-phase0-measurements.md +0 -58
- package/docs/concepts/event-log-store-proposal-A.md +0 -365
- package/docs/concepts/event-log-store-proposal-B.md +0 -404
- package/docs/concepts/identity-model-proposal.md +0 -371
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# GitHub Copilot Integration
|
|
2
|
-
|
|
3
|
-
brainclaw integrates with GitHub Copilot through MCP tools, instruction files, and lifecycle hooks. Copilot is a Tier A agent — full MCP access, hooks, skills support, and headless CLI spawn capability since CLI 1.0.35.
|
|
4
|
-
|
|
5
|
-
## Auto-setup
|
|
6
|
-
|
|
1
|
+
# GitHub Copilot Integration
|
|
2
|
+
|
|
3
|
+
brainclaw integrates with GitHub Copilot through MCP tools, instruction files, and lifecycle hooks. Copilot is a Tier A agent — full MCP access, hooks, skills support, and headless CLI spawn capability since CLI 1.0.35.
|
|
4
|
+
|
|
5
|
+
## Auto-setup
|
|
6
|
+
|
|
7
7
|
`brainclaw init` detects Copilot (`gh copilot` or `copilot` CLI installed) and writes:
|
|
8
8
|
|
|
9
9
|
- `.github/copilot-instructions.md` — instruction file Copilot reads automatically on each prompt
|
|
10
10
|
- `.vscode/settings.json` and `.vscode/mcp.json` — project-level MCP registration used by VS Code/Copilot surfaces
|
|
11
11
|
- `.github/copilot/hooks.json` — session lifecycle hooks where supported
|
|
12
12
|
- `.github/skills/brainclaw-context/SKILL.md` and `.agents/skills/brainclaw/SKILL.md` — Copilot and cross-agent skill discovery
|
|
13
|
-
|
|
14
|
-
Manual regeneration:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
brainclaw export --format copilot-instructions --write
|
|
18
|
-
brainclaw export --format copilot-instructions --write --include-live
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## MCP configuration
|
|
22
|
-
|
|
13
|
+
|
|
14
|
+
Manual regeneration:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
brainclaw export --format copilot-instructions --write
|
|
18
|
+
brainclaw export --format copilot-instructions --write --include-live
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## MCP configuration
|
|
22
|
+
|
|
23
23
|
VS Code/Copilot reads project MCP configuration from `.vscode/settings.json` and `.vscode/mcp.json`:
|
|
24
24
|
|
|
25
25
|
```json
|
|
@@ -28,55 +28,55 @@ VS Code/Copilot reads project MCP configuration from `.vscode/settings.json` and
|
|
|
28
28
|
"brainclaw": {
|
|
29
29
|
"command": "npx",
|
|
30
30
|
"args": ["-y", "brainclaw@latest", "mcp"]
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
For per-session overrides (typical when spawning Copilot from a dispatcher), pass `--additional-mcp-config @<path-to-config.json>` on the CLI invocation. This was validated end-to-end during pln#440.
|
|
37
|
-
|
|
38
|
-
## Instruction files
|
|
39
|
-
|
|
40
|
-
- `.github/copilot-instructions.md` — Copilot reads this automatically. Keep it lightweight and behavioural.
|
|
41
|
-
- `.github/copilot-instructions.live.md` — optional local live companion with current plans, claims, traps, candidates, and handoffs. Write it with `brainclaw export --format copilot-instructions --write --include-live`; it stays gitignored even when the main instruction file is shared/versioned.
|
|
42
|
-
- By default, live state flows through MCP. The live companion is parity/backstop context for native-file workflows.
|
|
43
|
-
|
|
44
|
-
## Headless invocation
|
|
45
|
-
|
|
46
|
-
Since Copilot CLI 1.0.35 (validated 2026-04-24), Copilot is CLI-spawnable in headless mode. The canonical invoke template is:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
copilot -p "{prompt}" --allow-all --no-ask-user
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
- `--allow-all` (or equivalent `--yolo`) disables interactive approval prompts (combines `--allow-all-tools --allow-all-paths --allow-all-urls`).
|
|
53
|
-
- `--no-ask-user` runs autonomously without pausing for clarifying questions.
|
|
54
|
-
- `-p` (or `--prompt`) takes the prompt as the next positional argument. Output is silent unless `-s` is also passed.
|
|
55
|
-
|
|
56
|
-
For machine-readable output (JSONL events per line):
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
copilot -p "{prompt}" --allow-all --no-ask-user --output-format json
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Capability profile
|
|
63
|
-
|
|
64
|
-
| Field | Value |
|
|
65
|
-
|-------|-------|
|
|
66
|
-
| Tier | A |
|
|
67
|
-
| MCP | yes |
|
|
68
|
-
| Hooks | yes |
|
|
69
|
-
| Auto-approve | manual (per-call) |
|
|
70
|
-
| Skills | yes |
|
|
71
|
-
| CLI spawnable | yes (1.0.35+) |
|
|
72
|
-
| Max concurrent tasks | 1 |
|
|
73
|
-
| Workflow model | interactive |
|
|
74
|
-
| MCP config scope | project (project-level config + machine-level fallback) |
|
|
75
|
-
| Prompt delivery | `inline_arg` (preferred), `inbox_structured` (fallback) |
|
|
76
|
-
|
|
77
|
-
## Caveats
|
|
78
|
-
|
|
79
|
-
- **CLI version**: headless spawn requires Copilot CLI 1.0.35 or later. Earlier versions failed silently when invoked headless and were treated as inbox-only by brainclaw.
|
|
80
|
-
- **Quota awareness**: Copilot enforces a per-window credit budget visible in session metadata. The dispatcher uses `max_concurrent_tasks=1` to avoid exhausting it on parallel work.
|
|
81
|
-
- **Update cadence**: keep `copilot` updated (`copilot update`) — flags and behaviour have moved between releases (`--yolo` was added, `--additional-mcp-config` flag was renamed once).
|
|
82
|
-
- **Windows path resolution**: on Windows, `where copilot` may resolve to multiple paths (`.exe`, `.cmd`, npm shim). The brainclaw dispatcher resolves via `where` and prefers the `.exe` form when present.
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
For per-session overrides (typical when spawning Copilot from a dispatcher), pass `--additional-mcp-config @<path-to-config.json>` on the CLI invocation. This was validated end-to-end during pln#440.
|
|
37
|
+
|
|
38
|
+
## Instruction files
|
|
39
|
+
|
|
40
|
+
- `.github/copilot-instructions.md` — Copilot reads this automatically. Keep it lightweight and behavioural.
|
|
41
|
+
- `.github/copilot-instructions.live.md` — optional local live companion with current plans, claims, traps, candidates, and handoffs. Write it with `brainclaw export --format copilot-instructions --write --include-live`; it stays gitignored even when the main instruction file is shared/versioned.
|
|
42
|
+
- By default, live state flows through MCP. The live companion is parity/backstop context for native-file workflows.
|
|
43
|
+
|
|
44
|
+
## Headless invocation
|
|
45
|
+
|
|
46
|
+
Since Copilot CLI 1.0.35 (validated 2026-04-24), Copilot is CLI-spawnable in headless mode. The canonical invoke template is:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
copilot -p "{prompt}" --allow-all --no-ask-user
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
- `--allow-all` (or equivalent `--yolo`) disables interactive approval prompts (combines `--allow-all-tools --allow-all-paths --allow-all-urls`).
|
|
53
|
+
- `--no-ask-user` runs autonomously without pausing for clarifying questions.
|
|
54
|
+
- `-p` (or `--prompt`) takes the prompt as the next positional argument. Output is silent unless `-s` is also passed.
|
|
55
|
+
|
|
56
|
+
For machine-readable output (JSONL events per line):
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
copilot -p "{prompt}" --allow-all --no-ask-user --output-format json
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Capability profile
|
|
63
|
+
|
|
64
|
+
| Field | Value |
|
|
65
|
+
|-------|-------|
|
|
66
|
+
| Tier | A |
|
|
67
|
+
| MCP | yes |
|
|
68
|
+
| Hooks | yes |
|
|
69
|
+
| Auto-approve | manual (per-call) |
|
|
70
|
+
| Skills | yes |
|
|
71
|
+
| CLI spawnable | yes (1.0.35+) |
|
|
72
|
+
| Max concurrent tasks | 1 |
|
|
73
|
+
| Workflow model | interactive |
|
|
74
|
+
| MCP config scope | project (project-level config + machine-level fallback) |
|
|
75
|
+
| Prompt delivery | `inline_arg` (preferred), `inbox_structured` (fallback) |
|
|
76
|
+
|
|
77
|
+
## Caveats
|
|
78
|
+
|
|
79
|
+
- **CLI version**: headless spawn requires Copilot CLI 1.0.35 or later. Earlier versions failed silently when invoked headless and were treated as inbox-only by brainclaw.
|
|
80
|
+
- **Quota awareness**: Copilot enforces a per-window credit budget visible in session metadata. The dispatcher uses `max_concurrent_tasks=1` to avoid exhausting it on parallel work.
|
|
81
|
+
- **Update cadence**: keep `copilot` updated (`copilot update`) — flags and behaviour have moved between releases (`--yolo` was added, `--additional-mcp-config` flag was renamed once).
|
|
82
|
+
- **Windows path resolution**: on Windows, `where copilot` may resolve to multiple paths (`.exe`, `.cmd`, npm shim). The brainclaw dispatcher resolves via `where` and prefers the `.exe` form when present.
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# Cursor Integration
|
|
2
|
-
|
|
3
|
-
brainclaw works well next to Cursor because Cursor can already operate with project rules and can benefit from explicit workspace context.
|
|
4
|
-
|
|
5
|
-
## Auto-setup
|
|
6
|
-
|
|
7
|
-
`brainclaw init` detects Cursor (`CURSOR_TRACE_ID`) and writes `.cursor/rules/brainclaw.md` automatically. Or manually:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
brainclaw export --format cursor-rules --write
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Recommended approach
|
|
14
|
-
|
|
15
|
-
- use MCP as the default dynamic path for context, board state, plans, and claims
|
|
16
|
-
- let the generated `.cursor/rules/brainclaw.md` tell Cursor when to consult Brainclaw and how to stay inside the workflow
|
|
17
|
-
- use `.brainclaw/project.md` only as readable fallback (derived view, may be stale — run `brainclaw rebuild` to refresh)
|
|
18
|
-
- rely on claims and plans when multiple agents or humans are active in the same repo
|
|
19
|
-
|
|
20
|
-
## Key point
|
|
21
|
-
|
|
22
|
-
Cursor rules describe behavior.
|
|
23
|
-
brainclaw provides the living shared state those rules should point to through MCP.
|
|
1
|
+
# Cursor Integration
|
|
2
|
+
|
|
3
|
+
brainclaw works well next to Cursor because Cursor can already operate with project rules and can benefit from explicit workspace context.
|
|
4
|
+
|
|
5
|
+
## Auto-setup
|
|
6
|
+
|
|
7
|
+
`brainclaw init` detects Cursor (`CURSOR_TRACE_ID`) and writes `.cursor/rules/brainclaw.md` automatically. Or manually:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
brainclaw export --format cursor-rules --write
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Recommended approach
|
|
14
|
+
|
|
15
|
+
- use MCP as the default dynamic path for context, board state, plans, and claims
|
|
16
|
+
- let the generated `.cursor/rules/brainclaw.md` tell Cursor when to consult Brainclaw and how to stay inside the workflow
|
|
17
|
+
- use `.brainclaw/project.md` only as readable fallback (derived view, may be stale — run `brainclaw rebuild` to refresh)
|
|
18
|
+
- rely on claims and plans when multiple agents or humans are active in the same repo
|
|
19
|
+
|
|
20
|
+
## Key point
|
|
21
|
+
|
|
22
|
+
Cursor rules describe behavior.
|
|
23
|
+
brainclaw provides the living shared state those rules should point to through MCP.
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
# Kilo Code Integration
|
|
2
|
-
|
|
3
|
-
brainclaw integrates with Kilo Code through MCP tools and instruction files, providing shared memory, plans, and coordination. Kilo Code is a fork of the Cline/Roo family with its own config paths.
|
|
4
|
-
|
|
5
|
-
## Auto-setup
|
|
6
|
-
|
|
7
|
-
`brainclaw init` detects Kilo Code and writes `.kilo/rules/brainclaw.md` automatically (per the writer in `src/core/agent-files.ts`). The MCP config at `.kilo/mcp.json` is also generated when applicable.
|
|
8
|
-
|
|
9
|
-
## MCP configuration
|
|
10
|
-
|
|
11
|
-
Kilo Code reads MCP servers from `~/.config/kilo/kilo.jsonc` (global) or `kilo.jsonc` (project-scoped):
|
|
12
|
-
|
|
13
|
-
```jsonc
|
|
14
|
-
{
|
|
15
|
-
"mcpServers": {
|
|
16
|
-
"brainclaw": {
|
|
17
|
-
"command": "npx",
|
|
18
|
-
"args": ["-y", "brainclaw@latest", "mcp"]
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Note: Kilo uses JSONC (JSON with comments), not plain JSON.
|
|
25
|
-
|
|
26
|
-
## Permissions
|
|
27
|
-
|
|
28
|
-
Kilo Code supports per-tool permission control and per-server `alwaysAllow`:
|
|
29
|
-
|
|
30
|
-
```jsonc
|
|
31
|
-
{
|
|
32
|
-
"mcpServers": {
|
|
33
|
-
"brainclaw": {
|
|
34
|
-
"command": "npx",
|
|
35
|
-
"args": ["-y", "brainclaw@latest", "mcp"],
|
|
36
|
-
"alwaysAllow": ["bclaw_context", "bclaw_work", "bclaw_find", "bclaw_get"]
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Individual tools can also use `permission: { tool: "allow" | "ask" | "deny" }` syntax.
|
|
43
|
-
|
|
44
|
-
## Instruction files
|
|
45
|
-
|
|
46
|
-
- `AGENTS.md` — standard instruction file (shared with Codex, OpenCode)
|
|
47
|
-
- `.kilo/rules/brainclaw.md` — Kilo-specific brainclaw rules (auto-written)
|
|
48
|
-
|
|
49
|
-
## SKILL.md discovery
|
|
50
|
-
|
|
51
|
-
Kilo Code auto-discovers skills from `.kilocode/skills/`, `.claude/skills/`, and `.agents/skills/`. A single `.agents/skills/brainclaw/SKILL.md` is picked up automatically.
|
|
52
|
-
|
|
53
|
-
## Headless invocation
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
kilo --auto --json /path/to/project
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
The `--auto` flag enables YOLO mode (no approval prompts). `--json` provides structured output.
|
|
60
|
-
|
|
61
|
-
## Invoke template
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
kilo /path/to/project
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Caveats
|
|
68
|
-
|
|
69
|
-
- **Cline/Roo family fork**: Config patterns are similar to Cline and Roo but paths differ (`.kilo/` vs `.cline/` vs `.roo/`).
|
|
70
|
-
- **JSONC format**: Config files use JSONC (comments allowed), not plain JSON. Parsers must handle this.
|
|
71
|
-
- **No hooks**: Hook support is tracked in issue #5827 but not yet public.
|
|
72
|
-
- **Windows/Linux**: Works via VS Code extension on all platforms.
|
|
1
|
+
# Kilo Code Integration
|
|
2
|
+
|
|
3
|
+
brainclaw integrates with Kilo Code through MCP tools and instruction files, providing shared memory, plans, and coordination. Kilo Code is a fork of the Cline/Roo family with its own config paths.
|
|
4
|
+
|
|
5
|
+
## Auto-setup
|
|
6
|
+
|
|
7
|
+
`brainclaw init` detects Kilo Code and writes `.kilo/rules/brainclaw.md` automatically (per the writer in `src/core/agent-files.ts`). The MCP config at `.kilo/mcp.json` is also generated when applicable.
|
|
8
|
+
|
|
9
|
+
## MCP configuration
|
|
10
|
+
|
|
11
|
+
Kilo Code reads MCP servers from `~/.config/kilo/kilo.jsonc` (global) or `kilo.jsonc` (project-scoped):
|
|
12
|
+
|
|
13
|
+
```jsonc
|
|
14
|
+
{
|
|
15
|
+
"mcpServers": {
|
|
16
|
+
"brainclaw": {
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "brainclaw@latest", "mcp"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Note: Kilo uses JSONC (JSON with comments), not plain JSON.
|
|
25
|
+
|
|
26
|
+
## Permissions
|
|
27
|
+
|
|
28
|
+
Kilo Code supports per-tool permission control and per-server `alwaysAllow`:
|
|
29
|
+
|
|
30
|
+
```jsonc
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"brainclaw": {
|
|
34
|
+
"command": "npx",
|
|
35
|
+
"args": ["-y", "brainclaw@latest", "mcp"],
|
|
36
|
+
"alwaysAllow": ["bclaw_context", "bclaw_work", "bclaw_find", "bclaw_get"]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Individual tools can also use `permission: { tool: "allow" | "ask" | "deny" }` syntax.
|
|
43
|
+
|
|
44
|
+
## Instruction files
|
|
45
|
+
|
|
46
|
+
- `AGENTS.md` — standard instruction file (shared with Codex, OpenCode)
|
|
47
|
+
- `.kilo/rules/brainclaw.md` — Kilo-specific brainclaw rules (auto-written)
|
|
48
|
+
|
|
49
|
+
## SKILL.md discovery
|
|
50
|
+
|
|
51
|
+
Kilo Code auto-discovers skills from `.kilocode/skills/`, `.claude/skills/`, and `.agents/skills/`. A single `.agents/skills/brainclaw/SKILL.md` is picked up automatically.
|
|
52
|
+
|
|
53
|
+
## Headless invocation
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
kilo --auto --json /path/to/project
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The `--auto` flag enables YOLO mode (no approval prompts). `--json` provides structured output.
|
|
60
|
+
|
|
61
|
+
## Invoke template
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
kilo /path/to/project
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Caveats
|
|
68
|
+
|
|
69
|
+
- **Cline/Roo family fork**: Config patterns are similar to Cline and Roo but paths differ (`.kilo/` vs `.cline/` vs `.roo/`).
|
|
70
|
+
- **JSONC format**: Config files use JSONC (comments allowed), not plain JSON. Parsers must handle this.
|
|
71
|
+
- **No hooks**: Hook support is tracked in issue #5827 but not yet public.
|
|
72
|
+
- **Windows/Linux**: Works via VS Code extension on all platforms.
|