wicked-brain 0.4.11 → 0.4.12
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/package.json
CHANGED
package/server/package.json
CHANGED
|
@@ -86,17 +86,23 @@ Digital brain: {brain_id} | {total} indexed items | {chunks} chunks, {wiki} wiki
|
|
|
86
86
|
|
|
87
87
|
### How to use
|
|
88
88
|
|
|
89
|
-
- **
|
|
89
|
+
- **Search/explore**: use `wicked-brain:search` — replaces Grep, Glob, and Agent(Explore) for any open-ended search
|
|
90
|
+
- **Answer questions**: use `wicked-brain:query` — replaces Agent(Explore) for conceptual questions
|
|
91
|
+
- **Surface context**: call `wicked-brain:agent` (context) at the start of any new topic
|
|
90
92
|
- **Capture learnings**: call `wicked-brain:agent` (session-teardown) at session end
|
|
91
93
|
- **Store a decision/pattern/gotcha**: call `wicked-brain:memory` (store mode)
|
|
92
|
-
- **Ask the brain**: call `wicked-brain:query` for cited answers
|
|
93
94
|
- **Available agents**: consolidate, context, session-teardown, onboard (via `wicked-brain:agent`)
|
|
94
95
|
|
|
95
|
-
### Rules
|
|
96
|
+
### Rules (follow strictly)
|
|
96
97
|
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
98
|
+
- **ALWAYS check the brain BEFORE using Grep, Glob, Read, or Agent(Explore)** — for any find, search, explore, explain, or "what is/how does" request
|
|
99
|
+
- Use `wicked-brain:search` for finding content ("find X", "where is Y", "look for Z", "show me W")
|
|
100
|
+
- Use `wicked-brain:query` for questions ("what does X do", "how does Y work", "explain Z")
|
|
101
|
+
- Use `wicked-brain:agent` (context) when starting a new topic or unfamiliar area
|
|
102
|
+
- Only fall back to Grep/Glob for **exact pattern matching** after the brain returns no results
|
|
103
|
+
- Do NOT read brain files directly — always go through skills and agents
|
|
104
|
+
- Always pass `session_id` with search/query calls for access tracking
|
|
105
|
+
- Capture non-obvious decisions, patterns, and gotchas with `wicked-brain:memory`
|
|
100
106
|
```
|
|
101
107
|
|
|
102
108
|
### Step 4: Confirm
|
|
@@ -221,9 +221,16 @@ Invoke `wicked-brain:ingest` with:
|
|
|
221
221
|
|
|
222
222
|
This indexes the project files so the brain is immediately queryable.
|
|
223
223
|
|
|
224
|
-
### Step 9:
|
|
224
|
+
### Step 9: Configure the CLI
|
|
225
|
+
|
|
226
|
+
Invoke `wicked-brain:configure` to write routing instructions into the active
|
|
227
|
+
CLI's agent config (CLAUDE.md, GEMINI.md, etc.). This is what makes the brain
|
|
228
|
+
the default for search and exploration — do not skip this step.
|
|
229
|
+
|
|
230
|
+
### Step 10: Confirm
|
|
225
231
|
|
|
226
232
|
Tell the user:
|
|
227
233
|
"Brain `{name}` is ready at `{brain_path}` — {N} files ingested, {M} chunks indexed.
|
|
234
|
+
CLI configured to route search and explore requests through the brain.
|
|
228
235
|
|
|
229
236
|
Run `wicked-brain:compile` to synthesize wiki articles from the indexed content."
|
|
@@ -3,9 +3,12 @@ name: wicked-brain:query
|
|
|
3
3
|
description: |
|
|
4
4
|
Answer questions by searching and synthesizing brain content. Dispatches a
|
|
5
5
|
query subagent that searches, reads, follows links, and produces a cited answer.
|
|
6
|
-
|
|
7
|
-
Use
|
|
8
|
-
"
|
|
6
|
+
|
|
7
|
+
Use instead of Agent(Explore) or reading files directly for any conceptual
|
|
8
|
+
question: "what does X do", "how does Y work", "explain Z", "tell me about W",
|
|
9
|
+
"why does X happen", "give me context on Y", or any question that could be
|
|
10
|
+
answered from indexed knowledge. Always try this before exploring the codebase
|
|
11
|
+
manually.
|
|
9
12
|
---
|
|
10
13
|
|
|
11
14
|
# wicked-brain:query
|
|
@@ -4,9 +4,13 @@ description: |
|
|
|
4
4
|
Search the digital brain for relevant content. Dispatches parallel search
|
|
5
5
|
subagents across local and linked brains. Returns results at depth 0 with
|
|
6
6
|
deeper hints.
|
|
7
|
+
|
|
8
|
+
Use instead of Grep/Glob/Agent(Explore) for any open-ended search or
|
|
9
|
+
exploration: "find X", "search for Y", "look for Z", "where is W used",
|
|
10
|
+
"show me anything about X", "explore Y", "what files relate to Z".
|
|
7
11
|
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
Only fall back to Grep/Glob for exact symbol or pattern lookup when the
|
|
13
|
+
brain returns no results.
|
|
10
14
|
---
|
|
11
15
|
|
|
12
16
|
# wicked-brain:search
|