@orderful/droid 0.31.1 → 0.31.2

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.
Files changed (52) hide show
  1. package/.claude-plugin/marketplace.json +4 -4
  2. package/AGENTS.md +1 -0
  3. package/CHANGELOG.md +68 -0
  4. package/dist/tools/brain/.claude-plugin/plugin.json +1 -1
  5. package/dist/tools/brain/TOOL.yaml +1 -1
  6. package/dist/tools/brain/commands/brain.md +13 -11
  7. package/dist/tools/brain/commands/scratchpad.md +4 -6
  8. package/dist/tools/brain/skills/brain/SKILL.md +62 -105
  9. package/dist/tools/brain/skills/brain/references/templates.md +37 -5
  10. package/dist/tools/brain/skills/brain/references/workflows.md +27 -16
  11. package/dist/tools/brain/skills/brain-obsidian/references/workflows.md +1 -1
  12. package/dist/tools/codex/.claude-plugin/plugin.json +1 -1
  13. package/dist/tools/codex/TOOL.yaml +1 -1
  14. package/dist/tools/codex/commands/codex.md +15 -12
  15. package/dist/tools/codex/skills/codex/SKILL.md +30 -63
  16. package/dist/tools/codex/skills/codex/references/creating.md +2 -2
  17. package/dist/tools/codex/skills/codex/references/decisions.md +1 -1
  18. package/dist/tools/droid/.claude-plugin/plugin.json +1 -1
  19. package/dist/tools/droid/TOOL.yaml +1 -1
  20. package/dist/tools/droid/skills/droid/SKILL.md +48 -409
  21. package/dist/tools/project/.claude-plugin/plugin.json +1 -1
  22. package/dist/tools/project/TOOL.yaml +1 -1
  23. package/dist/tools/project/commands/project.md +12 -12
  24. package/dist/tools/project/skills/project/SKILL.md +12 -4
  25. package/dist/tools/project/skills/project/references/creating.md +2 -2
  26. package/dist/tools/project/skills/project/references/loading.md +17 -3
  27. package/dist/tools/tech-design/skills/tech-design/references/think.md +1 -1
  28. package/package.json +1 -1
  29. package/src/tools/brain/.claude-plugin/plugin.json +1 -1
  30. package/src/tools/brain/TOOL.yaml +1 -1
  31. package/src/tools/brain/commands/brain.md +13 -11
  32. package/src/tools/brain/commands/scratchpad.md +4 -6
  33. package/src/tools/brain/skills/brain/SKILL.md +62 -105
  34. package/src/tools/brain/skills/brain/references/templates.md +37 -5
  35. package/src/tools/brain/skills/brain/references/workflows.md +27 -16
  36. package/src/tools/brain/skills/brain-obsidian/references/workflows.md +1 -1
  37. package/src/tools/codex/.claude-plugin/plugin.json +1 -1
  38. package/src/tools/codex/TOOL.yaml +1 -1
  39. package/src/tools/codex/commands/codex.md +15 -12
  40. package/src/tools/codex/skills/codex/SKILL.md +30 -63
  41. package/src/tools/codex/skills/codex/references/creating.md +2 -2
  42. package/src/tools/codex/skills/codex/references/decisions.md +1 -1
  43. package/src/tools/droid/.claude-plugin/plugin.json +1 -1
  44. package/src/tools/droid/TOOL.yaml +1 -1
  45. package/src/tools/droid/skills/droid/SKILL.md +48 -409
  46. package/src/tools/project/.claude-plugin/plugin.json +1 -1
  47. package/src/tools/project/TOOL.yaml +1 -1
  48. package/src/tools/project/commands/project.md +12 -12
  49. package/src/tools/project/skills/project/SKILL.md +12 -4
  50. package/src/tools/project/skills/project/references/creating.md +2 -2
  51. package/src/tools/project/skills/project/references/loading.md +17 -3
  52. package/src/tools/tech-design/skills/tech-design/references/think.md +1 -1
@@ -1,6 +1,6 @@
1
1
  name: codex
2
2
  description: "Shared organizational knowledge - PRDs, tech designs, domains, proposals, patterns, and explored topics. Use when loading project context, searching codex, capturing decisions, or creating new entries."
3
- version: 0.1.7
3
+ version: 0.1.9
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codex
3
3
  description: "Shared organizational knowledge - PRDs, tech designs, patterns, domains, proposals, and explored topics"
4
- argument-hint: "[projects | domains | proposals | patterns | topics | {name} | search {query} | new {type} {name} | decision {text}]"
4
+ argument-hint: "[projects | search {query} | {category} search {query} | new {category} {name} | decision {text}]"
5
5
  ---
6
6
 
7
7
  # /codex
@@ -12,20 +12,23 @@ argument-hint: "[projects | domains | proposals | patterns | topics | {name} | s
12
12
 
13
13
  ## Examples
14
14
 
15
- - `/codex projects` → List all projects in the codex
16
- - `/codex transaction-templates` → Load the transaction-templates entry
17
- - `/codex search webhook` → Search for "webhook" across all codex content
18
- - `/codex new project billing-v2` → Create new project scaffolding
19
- - `/codex decision "Use PostgreSQL for audit log"` → Append decision to active project
15
+ - `/codex projects` → List all projects
16
+ - `/codex search transaction-templates` → Search and load entry
17
+ - `/codex search webhook -- summarize` → Search, load, then execute follow-up
18
+ - `/codex topics search auth` → Search within topics only
19
+ - `/codex new project billing-v2` → Create new project
20
+ - `/codex decision "Use PostgreSQL"` → Append to active project's DECISIONS.md
20
21
 
21
22
  ## Quick Reference
22
23
 
23
24
  ```
24
- /codex # Show categories overview
25
- /codex {name} # Load entry (searches all categories)
26
- /codex search {query} # Search across everything
27
- /codex new project {name} # Scaffold new project
28
- /codex decision {text} # Append to active project's DECISIONS.md
25
+ /codex # Show categories overview
26
+ /codex {category} # List entries (projects, domains, etc.)
27
+ /codex search {query} # Search across all categories
28
+ /codex search {query} -- {instr} # Search, load, then execute instruction
29
+ /codex {category} search {query} # Search within specific category
30
+ /codex new {category} {name} # Create entry (project/domain/topic/etc.)
31
+ /codex decision {text} # Append to active project
29
32
  ```
30
33
 
31
- See the **codex skill** for complete documentation and procedures.
34
+ See the **codex skill** for complete documentation.
@@ -169,22 +169,32 @@ The codex has five categories:
169
169
  | `/codex domains` | List all domains |
170
170
  | `/codex proposals` | List all proposals |
171
171
  | `/codex patterns` | List all patterns |
172
- | `/codex topics` | List all topics |
173
- | `/codex {name}` | Load entry (searches all categories) |
174
- | `/codex search {query}` | Search across everything |
175
- | `/codex new {name}` | Scaffold new project (shorthand) |
176
- | `/codex new project {name}` | Scaffold new project from templates |
177
- | `/codex new domain {name}` | Scaffold new domain entry |
178
- | `/codex new proposal {name}` | Scaffold new proposal entry |
179
- | `/codex new pattern {name}` | Scaffold new pattern entry |
180
- | `/codex new topic {name}` | Scaffold new topic entry |
181
- | `/codex decision {text}` | Append to active project's DECISIONS.md |
172
+ | `/codex topics` | List all topics |
173
+ | `/codex search {query}` | Search and load entry (searches all categories) |
174
+ | `/codex search {query} -- {instruction}` | Search, load, then execute follow-up instruction |
175
+ | `/codex {category} search {query}` | Search within a specific category only |
176
+ | `/codex new {category} {name}` | Scaffold new entry (project/domain/proposal/pattern/topic) |
177
+ | `/codex decision {text}` | Append to active project's DECISIONS.md |
182
178
  | `/codex snapshot {type} {file} {name}` | Import PDF/markdown to codex (uses agent) |
183
179
  | `/codex artifact {file} {project}` | Add supporting artifact to project (uses agent) |
184
180
 
185
181
  ## Loading an Entry
186
182
 
187
- **Trigger:** `/codex {name}` or user asks to load/check codex for something
183
+ **Trigger:** `/codex search {query}` or user asks to load/check codex for something
184
+
185
+ **Category-scoped search:** Narrow search to a specific category:
186
+ ```bash
187
+ /codex topics search auth # Search within topics only
188
+ /codex patterns search webhook # Search within patterns only
189
+ /codex projects search transaction # Search within projects only
190
+ ```
191
+
192
+ **Follow-up instructions:** Use `--` to add an instruction to execute after loading:
193
+ ```bash
194
+ /codex search transaction-templates -- summarize the PRD
195
+ /codex topics search auth -- is this still accurate?
196
+ ```
197
+ Parse args by splitting on ` -- `. First part = search terms, second part = instruction to execute after loading.
188
198
 
189
199
  **Procedure:**
190
200
 
@@ -257,7 +267,7 @@ codebase_paths:
257
267
 
258
268
  Scoped operations (`decision`, `snapshot`) require an active project:
259
269
 
260
- - When user loads a project via `/codex {project-name}`, set it as active
270
+ - When user loads a project via `/codex search {project-name}`, set it as active
261
271
  - Store active project name in session context
262
272
  - If scoped operation called with no active project → show project list, let user pick
263
273
 
@@ -352,59 +362,16 @@ Artifacts get lighter frontmatter with `type: artifact` and source like `intervi
352
362
 
353
363
  ## Creating New Entries
354
364
 
355
- The `/codex new` command scaffolds new entries from templates:
356
-
357
- ```bash
358
- /codex new {name} # Shorthand for new project
359
- /codex new project {name} # Explicit project creation
360
- /codex new domain {name} # New domain entry
361
- /codex new proposal {name} # New proposal entry
362
- /codex new pattern {name} # New pattern entry
363
- /codex new topic {name} # New topic entry
364
- ```
365
-
366
- ### Projects
367
-
368
- **Trigger:** `/codex new {name}` or `/codex new project {name}`
369
-
370
- **Procedure:**
371
-
372
- 1. **Run `git-start-write`** with branch `codex/new-{name}`
373
- 2. Create `{codex_repo}/projects/{name}/`
374
- 3. Copy templates: PRD.md, TECH-DESIGN.md, DECISIONS.md
375
- 4. Fill in frontmatter with today's date
376
- 5. **Run `git-finish-write`** with appropriate commit message and PR title
365
+ **Trigger:** `/codex new {category} {name}`
377
366
 
378
- ### Domains
367
+ **Categories:** `project` | `domain` | `proposal` | `pattern` | `topic`
379
368
 
380
- **Trigger:** `/codex new domain {name}`
381
-
382
- **Procedure:**
383
-
384
- 1. **Run `git-start-write`** with branch `codex/domain-{name}`
385
- 2. Create `{codex_repo}/domains/{name}.md` from template
386
- 3. Fill in frontmatter, guide user through sections
387
- 4. **Run `git-finish-write`** with appropriate commit message and PR title
388
-
389
- ### Proposals
390
-
391
- **Trigger:** `/codex new proposal {name}`
392
-
393
- **Procedure:**
394
-
395
- 1. **Run `git-start-write`** with branch `codex/proposal-{name}`
396
- 2. Create `{codex_repo}/proposals/{name}.md` from template
397
- 3. Fill in frontmatter, guide user through sections
398
- 4. **Run `git-finish-write`** with appropriate commit message and PR title
399
-
400
- ### Patterns and Topics
401
-
402
- **Trigger:** `/codex new pattern {name}` or `/codex new topic {name}`
403
-
404
- **Procedure:**
369
+ **Procedure** (same for all categories):
405
370
 
406
- 1. **Run `git-start-write`** with branch `codex/{pattern|topic}-{name}`
407
- 2. Create file from template
371
+ 1. **Run `git-start-write`** with branch `codex/{category}-{name}`
372
+ 2. Create entry from template:
373
+ - `project` → folder with PRD.md, TECH-DESIGN.md, DECISIONS.md
374
+ - Others → single file at `{codex_repo}/{category}s/{name}.md`
408
375
  3. Fill in frontmatter with today's date
409
376
  4. **Run `git-finish-write`** with appropriate commit message and PR title
410
377
 
@@ -415,7 +382,7 @@ Full procedure: `references/creating.md`
415
382
  The codex holds **shared** organizational knowledge. The `/project` skill holds **personal** working memory.
416
383
 
417
384
  ```
418
- /codex transaction-templates → load shared context
385
+ /codex search transaction-templates → load shared context
419
386
  /project create --from codex:{name} → seed personal PROJECT.md
420
387
  /codex publish → promote learnings back (future)
421
388
  ```
@@ -5,7 +5,7 @@ Detailed procedure for scaffolding new project entries in the codex.
5
5
  ## When to Use
6
6
 
7
7
  - Starting work on a new feature/project
8
- - `/codex new {name}` command
8
+ - `/codex new project {name}` command
9
9
  - User asks to create a codex entry for something new
10
10
 
11
11
  ## Procedure
@@ -25,7 +25,7 @@ ls {codex_repo}/projects/ | grep -i {name}
25
25
  If exists:
26
26
  ```
27
27
  A project named '{name}' already exists. Did you mean to load it?
28
- → /codex {name}
28
+ → /codex search {name}
29
29
  ```
30
30
 
31
31
  ### 3. Start Write Operation
@@ -10,7 +10,7 @@ Detailed procedure for capturing decisions during implementation.
10
10
 
11
11
  ## Prerequisites
12
12
 
13
- - **Active project** must be set (from previous `/codex {project}` load)
13
+ - **Active project** must be set (from previous `/codex search {project}` load)
14
14
  - If no active project, prompt user to select one first
15
15
 
16
16
  ## Procedure
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "droid",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Core droid meta-skill for update awareness, tool discovery, and usage help. Checks for updates, helps users find tools, and answers 'how do I...' questions about droid workflows.",
5
5
  "author": {
6
6
  "name": "Orderful",
@@ -1,6 +1,6 @@
1
1
  name: droid
2
2
  description: "Core droid meta-skill for update awareness, tool discovery, and usage help. Checks for updates, helps users find tools, and answers 'how do I...' questions about droid workflows."
3
- version: 0.5.2
3
+ version: 0.5.3
4
4
  status: beta
5
5
 
6
6
  # System tool - always stays current regardless of auto-update settings