@soleri/forge 9.15.0 → 9.16.7

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 (108) hide show
  1. package/dist/compose-claude-md.js +5 -2
  2. package/dist/compose-claude-md.js.map +1 -1
  3. package/dist/scaffold-filetree.js +8 -1
  4. package/dist/scaffold-filetree.js.map +1 -1
  5. package/dist/skills/soleri-agent-dev/SKILL.md +1 -0
  6. package/dist/skills/soleri-agent-guide/SKILL.md +1 -0
  7. package/dist/skills/soleri-agent-issues/SKILL.md +1 -0
  8. package/dist/skills/soleri-agent-mode/SKILL.md +173 -0
  9. package/dist/skills/soleri-agent-persona/SKILL.md +1 -0
  10. package/dist/skills/soleri-brain-debrief/SKILL.md +1 -0
  11. package/dist/skills/soleri-brainstorming/SKILL.md +1 -0
  12. package/dist/skills/soleri-build-skill/SKILL.md +2 -0
  13. package/dist/skills/soleri-code-patrol/SKILL.md +1 -0
  14. package/dist/skills/soleri-context-resume/SKILL.md +1 -0
  15. package/dist/skills/soleri-curator/SKILL.md +66 -0
  16. package/dist/skills/soleri-deep-review/SKILL.md +1 -0
  17. package/dist/skills/soleri-deliver-and-ship/SKILL.md +1 -0
  18. package/dist/skills/soleri-discovery-phase/SKILL.md +1 -0
  19. package/dist/skills/soleri-dream/SKILL.md +31 -1
  20. package/dist/skills/soleri-env-setup/SKILL.md +1 -0
  21. package/dist/skills/soleri-executing-plans/SKILL.md +1 -0
  22. package/dist/skills/soleri-finishing-a-development-branch/SKILL.md +1 -0
  23. package/dist/skills/soleri-fix-and-learn/SKILL.md +1 -0
  24. package/dist/skills/soleri-health-check/SKILL.md +1 -0
  25. package/dist/skills/soleri-intake/SKILL.md +100 -0
  26. package/dist/skills/soleri-knowledge-harvest/SKILL.md +1 -0
  27. package/dist/skills/soleri-loop/SKILL.md +69 -0
  28. package/dist/skills/soleri-mcp-doctor/SKILL.md +1 -0
  29. package/dist/skills/soleri-onboard-me/SKILL.md +1 -0
  30. package/dist/skills/soleri-orchestrate/SKILL.md +70 -0
  31. package/dist/skills/soleri-parallel-execute/SKILL.md +1 -0
  32. package/dist/skills/soleri-research-scout/SKILL.md +1 -0
  33. package/dist/skills/soleri-retrospective/SKILL.md +1 -0
  34. package/dist/skills/soleri-second-opinion/SKILL.md +1 -0
  35. package/dist/skills/soleri-subagent-driven-development/SKILL.md +1 -0
  36. package/dist/skills/soleri-systematic-debugging/SKILL.md +1 -0
  37. package/dist/skills/soleri-test-driven-development/SKILL.md +1 -0
  38. package/dist/skills/soleri-using-git-worktrees/SKILL.md +1 -0
  39. package/dist/skills/soleri-vault-capture/SKILL.md +6 -5
  40. package/dist/skills/soleri-vault-curate/SKILL.md +1 -0
  41. package/dist/skills/soleri-vault-navigator/SKILL.md +1 -0
  42. package/dist/skills/soleri-vault-smells/SKILL.md +1 -0
  43. package/dist/skills/soleri-verification-before-completion/SKILL.md +1 -0
  44. package/dist/skills/soleri-writing-plans/SKILL.md +6 -3
  45. package/dist/skills/soleri-yolo-mode/SKILL.md +1 -0
  46. package/dist/templates/claude-md-template.js +2 -29
  47. package/dist/templates/claude-md-template.js.map +1 -1
  48. package/dist/templates/package-json.js +2 -0
  49. package/dist/templates/package-json.js.map +1 -1
  50. package/dist/templates/setup-script.js +6 -63
  51. package/dist/templates/setup-script.js.map +1 -1
  52. package/dist/templates/shared-rules.js +11 -4
  53. package/dist/templates/shared-rules.js.map +1 -1
  54. package/dist/templates/skills.d.ts +13 -0
  55. package/dist/templates/skills.js +55 -3
  56. package/dist/templates/skills.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/__tests__/scaffold-filetree.test.ts +1 -1
  59. package/src/__tests__/scaffolder.test.ts +108 -112
  60. package/src/compose-claude-md.ts +5 -1
  61. package/src/scaffold-filetree.ts +8 -1
  62. package/src/skills/soleri-agent-dev/SKILL.md +1 -0
  63. package/src/skills/soleri-agent-guide/SKILL.md +1 -0
  64. package/src/skills/soleri-agent-issues/SKILL.md +1 -0
  65. package/src/skills/soleri-agent-mode/SKILL.md +173 -0
  66. package/src/skills/soleri-agent-persona/SKILL.md +1 -0
  67. package/src/skills/soleri-brain-debrief/SKILL.md +1 -0
  68. package/src/skills/soleri-brainstorming/SKILL.md +1 -0
  69. package/src/skills/soleri-build-skill/SKILL.md +2 -0
  70. package/src/skills/soleri-code-patrol/SKILL.md +1 -0
  71. package/src/skills/soleri-context-resume/SKILL.md +1 -0
  72. package/src/skills/soleri-curator/SKILL.md +66 -0
  73. package/src/skills/soleri-deep-review/SKILL.md +1 -0
  74. package/src/skills/soleri-deliver-and-ship/SKILL.md +1 -0
  75. package/src/skills/soleri-discovery-phase/SKILL.md +1 -0
  76. package/src/skills/soleri-dream/SKILL.md +31 -1
  77. package/src/skills/soleri-env-setup/SKILL.md +1 -0
  78. package/src/skills/soleri-executing-plans/SKILL.md +1 -0
  79. package/src/skills/soleri-finishing-a-development-branch/SKILL.md +1 -0
  80. package/src/skills/soleri-fix-and-learn/SKILL.md +1 -0
  81. package/src/skills/soleri-health-check/SKILL.md +1 -0
  82. package/src/skills/soleri-intake/SKILL.md +100 -0
  83. package/src/skills/soleri-knowledge-harvest/SKILL.md +1 -0
  84. package/src/skills/soleri-loop/SKILL.md +69 -0
  85. package/src/skills/soleri-mcp-doctor/SKILL.md +1 -0
  86. package/src/skills/soleri-onboard-me/SKILL.md +1 -0
  87. package/src/skills/soleri-orchestrate/SKILL.md +70 -0
  88. package/src/skills/soleri-parallel-execute/SKILL.md +1 -0
  89. package/src/skills/soleri-research-scout/SKILL.md +1 -0
  90. package/src/skills/soleri-retrospective/SKILL.md +1 -0
  91. package/src/skills/soleri-second-opinion/SKILL.md +1 -0
  92. package/src/skills/soleri-subagent-driven-development/SKILL.md +1 -0
  93. package/src/skills/soleri-systematic-debugging/SKILL.md +1 -0
  94. package/src/skills/soleri-test-driven-development/SKILL.md +1 -0
  95. package/src/skills/soleri-using-git-worktrees/SKILL.md +1 -0
  96. package/src/skills/soleri-vault-capture/SKILL.md +6 -5
  97. package/src/skills/soleri-vault-curate/SKILL.md +1 -0
  98. package/src/skills/soleri-vault-navigator/SKILL.md +1 -0
  99. package/src/skills/soleri-vault-smells/SKILL.md +1 -0
  100. package/src/skills/soleri-verification-before-completion/SKILL.md +1 -0
  101. package/src/skills/soleri-writing-plans/SKILL.md +6 -3
  102. package/src/skills/soleri-yolo-mode/SKILL.md +1 -0
  103. package/src/templates/claude-md-template.ts +2 -50
  104. package/src/templates/package-json.ts +2 -0
  105. package/src/templates/setup-script.ts +6 -63
  106. package/src/templates/shared-rules.ts +11 -4
  107. package/src/templates/skills.ts +63 -3
  108. package/vitest.config.ts +2 -1
@@ -0,0 +1,173 @@
1
+ ---
2
+ name: soleri-agent-mode
3
+ tier: default
4
+ description: >
5
+ Use when the user addresses the agent directly ("AgentName, ...", "Hey AgentName"),
6
+ asks about available commands ("what commands do I have", "what can you do with MCP"),
7
+ uses vague agent-mode language ("save this", "remember this", "search for patterns",
8
+ "orchestrate this"), or when intent is ambiguous and needs routing to the right
9
+ facade + op. Also triggers on "how does this agent know", "command reference".
10
+ ---
11
+
12
+ # Agent Mode — Intent Routing & Command Reference
13
+
14
+ This skill governs how to interpret natural language directed at this agent and route it to the correct facade + op. Use it when a phrase is ambiguous, when the user addresses the agent directly, or when surfacing the command reference.
15
+
16
+ ## Routing Protocol (MANDATORY)
17
+
18
+ Before executing any agent op, apply this 3-step protocol:
19
+
20
+ **Step 1 — Semantic parse**
21
+ Identify the verb + object in the user's message:
22
+
23
+ - Verb: what action? (search, save, plan, execute, remember, check, show, run, fix)
24
+ - Object: what is it about? (vault, brain, memory, plan, session, health, pattern)
25
+
26
+ **Step 2 — Confirm via route_intent (when ambiguous)**
27
+
28
+ ```
29
+ YOUR_AGENT_control op:route_intent
30
+ params: { input: "<user's phrase>", context: "<current task context>" }
31
+ ```
32
+
33
+ Use this when the phrase matches 2+ intents. Skip it for obvious, unambiguous commands.
34
+
35
+ **Step 3 — Execute the mapped op**
36
+ Use the NL → Op table below to select facade + op. Pass `projectPath: "."` wherever required.
37
+
38
+ ---
39
+
40
+ ## Natural Language → Facade + Op Mapping
41
+
42
+ ### Search & Recall
43
+
44
+ | What the user says | Facade | Op | Notes |
45
+ | ------------------------------------------ | ------------------- | -------------------- | ------------------------ |
46
+ | "search for X" / "find patterns on X" | `YOUR_AGENT_vault` | `search_intelligent` | mode: "scan" first |
47
+ | "what do we know about X" | `YOUR_AGENT_vault` | `search_intelligent` | mode: "full" if specific |
48
+ | "recall X" / "remember X from before" | `YOUR_AGENT_memory` | `memory_search` | crossProject if broad |
49
+ | "what patterns are strong" | `YOUR_AGENT_brain` | `brain_strengths` | days: 30 default |
50
+ | "recommend something" / "what should I do" | `YOUR_AGENT_brain` | `brain_recommend` | |
51
+ | "show me vault entries about X" | `YOUR_AGENT_vault` | `load_entries` | after scan |
52
+ | "what's in the vault" | `YOUR_AGENT_vault` | `vault_stats` | |
53
+
54
+ ### Save & Capture
55
+
56
+ | What the user says | Facade | Op | Notes |
57
+ | ----------------------------------------------- | ------------------- | ------------------- | --------------------- |
58
+ | "save this" / "capture this" (detailed pattern) | `YOUR_AGENT_vault` | `capture_knowledge` | full structured entry |
59
+ | "quick save" / "jot this down" | `YOUR_AGENT_vault` | `capture_quick` | lightweight, fast |
60
+ | "remember this for the session" | `YOUR_AGENT_memory` | `memory_capture` | session-scoped |
61
+ | "save the session" / "log what we did" | `YOUR_AGENT_memory` | `session_capture` | end-of-session |
62
+ | "ingest this URL" / "add this article" | `YOUR_AGENT_vault` | `ingest_url` | external content |
63
+ | "ingest this text" | `YOUR_AGENT_vault` | `ingest_text` | raw text |
64
+
65
+ ### Planning
66
+
67
+ | What the user says | Facade | Op | Notes |
68
+ | ---------------------------------------- | ----------------- | ------------------------- | --------------------- |
69
+ | "create a plan" / "plan this" | `YOUR_AGENT_plan` | `create_plan` | MANDATORY before code |
70
+ | "approve the plan" / "looks good" | `YOUR_AGENT_plan` | `approve_plan` | Gate 1 |
71
+ | "split the plan" / "break it into tasks" | `YOUR_AGENT_plan` | `plan_split` | Gate 2 |
72
+ | "check plan drift" / "what changed" | `YOUR_AGENT_plan` | `plan_reconcile` | post-execution |
73
+ | "complete the plan" / "close it out" | `YOUR_AGENT_plan` | `plan_complete_lifecycle` | final step |
74
+ | "list active plans" | `YOUR_AGENT_plan` | `chain_list` | |
75
+
76
+ ### Orchestration
77
+
78
+ | What the user says | Facade | Op | Notes |
79
+ | ----------------------------------------------- | ------------------------ | ---------------------- | ---------------------------- |
80
+ | "orchestrate this" / "AgentName, orchestrate X" | `YOUR_AGENT_orchestrate` | `orchestrate_plan` | vault+brain+plan in one call |
81
+ | "execute the plan" / "start executing" | `YOUR_AGENT_orchestrate` | `orchestrate_execute` | tracks progress |
82
+ | "finish up" / "wrap the session" | `YOUR_AGENT_orchestrate` | `orchestrate_complete` | epilogue: vault + session |
83
+
84
+ ### Brain & Learning
85
+
86
+ | What the user says | Facade | Op | Notes |
87
+ | -------------------------------------------- | ------------------ | -------------------- | -------------------- |
88
+ | "what has the brain learned" / "brain stats" | `YOUR_AGENT_brain` | `brain_stats` | |
89
+ | "give feedback on that" | `YOUR_AGENT_brain` | `brain_feedback` | reinforcement signal |
90
+ | "what patterns are failing" | `YOUR_AGENT_brain` | `brain_decay_report` | |
91
+ | "radar analysis" / "spot patterns" | `YOUR_AGENT_brain` | `radar_analyze` | |
92
+ | "show radar candidates" | `YOUR_AGENT_brain` | `radar_candidates` | |
93
+
94
+ ### Health & Admin
95
+
96
+ | What the user says | Facade | Op | Notes |
97
+ | ------------------------------------------- | -------------------- | ------------------ | ----- |
98
+ | "health check" / "is everything working" | `YOUR_AGENT_admin` | `admin_health` | |
99
+ | "list all tools" / "what tools do you have" | `YOUR_AGENT_admin` | `admin_tool_list` | |
100
+ | "session briefing" / "catch me up" | `YOUR_AGENT_admin` | `session_briefing` | |
101
+ | "diagnose X" | `YOUR_AGENT_admin` | `admin_diagnostic` | |
102
+ | "run routing accuracy" | `YOUR_AGENT_control` | `routing_accuracy` | |
103
+
104
+ ### Vault Maintenance
105
+
106
+ | What the user says | Facade | Op | Notes |
107
+ | ---------------------------------- | -------------------- | --------------------------- | ----- |
108
+ | "clean the vault" / "groom" | `YOUR_AGENT_curator` | `curator_groom` | |
109
+ | "find duplicates" | `YOUR_AGENT_curator` | `curator_detect_duplicates` | |
110
+ | "vault health audit" | `YOUR_AGENT_curator` | `curator_health_audit` | |
111
+ | "archive old entries" | `YOUR_AGENT_vault` | `vault_archive` | |
112
+ | "push vault to git" / "sync vault" | `YOUR_AGENT_vault` | `vault_git_push` | |
113
+
114
+ ### Identity & Control
115
+
116
+ | What the user says | Facade | Op | Notes |
117
+ | ----------------------------------- | -------------------- | -------------------- | ------------------------ |
118
+ | "Hello, AgentName!" / activate | `YOUR_AGENT_core` | `activate` | params: projectPath |
119
+ | "Goodbye, AgentName!" / deactivate | `YOUR_AGENT_core` | `activate` | params: deactivate: true |
120
+ | "who are you" / "what mode is this" | `YOUR_AGENT_core` | `identity` | |
121
+ | "register this project" | `YOUR_AGENT_core` | `register` | params: projectPath |
122
+ | "route this intent" | `YOUR_AGENT_control` | `route_intent` | |
123
+ | "switch mode" / "morph to X" | `YOUR_AGENT_control` | `morph` | |
124
+ | "what are the behavior rules" | `YOUR_AGENT_control` | `get_behavior_rules` | |
125
+
126
+ ---
127
+
128
+ ## Disambiguation Matrix
129
+
130
+ These phrases are ambiguous — resolve using context signals:
131
+
132
+ | Phrase | Context signal | Route to |
133
+ | --------------- | ---------------------------------------- | ---------------------------------------- |
134
+ | "save this" | Detailed explanation, pattern discussion | `vault.capture_knowledge` |
135
+ | "save this" | Quick note, side comment | `vault.capture_quick` |
136
+ | "save this" | "For this session only" | `memory.memory_capture` |
137
+ | "remember this" | Repeatable rule or pattern | `vault.capture_knowledge` |
138
+ | "remember this" | Session-scoped fact | `memory.memory_capture` |
139
+ | "search for X" | Broad/exploratory | `vault.search_intelligent` mode:scan |
140
+ | "search for X" | Specific known entry | `vault.search_intelligent` mode:full |
141
+ | "search for X" | Across past sessions | `memory.memory_search` crossProject:true |
142
+ | "check this" | Code/PR in context | → `deep-review` skill |
143
+ | "check this" | System health | `admin.admin_health` |
144
+ | "plan this" | Work task | `orchestrate.orchestrate_plan` |
145
+ | "plan this" | User wants to see plan first | `plan.create_plan` |
146
+
147
+ **Resolution rule:** When still ambiguous after checking context signals, ask one clarifying question before routing. Never guess and execute a write op.
148
+
149
+ ---
150
+
151
+ ## "AgentName, orchestrate X" — Full Flow
152
+
153
+ When the user says "AgentName, orchestrate [task description]":
154
+
155
+ 1. **`YOUR_AGENT_orchestrate op:orchestrate_plan`** — vault lookup + brain recommendations + structured plan in one call
156
+ 2. Present the plan using the standard Plan Presentation format (Plan ID, Check ID, Grade, Status)
157
+ 3. Wait for Gate 1 approval: "approve" / "yes" / "looks good"
158
+ 4. **`YOUR_AGENT_plan op:plan_split`** — decompose into tasks
159
+ 5. Wait for Gate 2 approval
160
+ 6. **`YOUR_AGENT_orchestrate op:orchestrate_execute`** — track execution per task
161
+ 7. **`YOUR_AGENT_orchestrate op:orchestrate_complete`** — epilogue: vault capture + session record
162
+
163
+ Never skip Gate 1 or Gate 2. Never proceed past a gate without explicit user approval.
164
+
165
+ ---
166
+
167
+ ## Anti-Patterns
168
+
169
+ - **Guessing a write op** — if "save this" is ambiguous, ask before writing to vault
170
+ - **Skipping route_intent for ambiguous phrases** — use it to confirm, not as a formality
171
+ - **Executing orchestrate_plan without showing the plan** — always present before Gate 1
172
+ - **Using memory_capture for reusable patterns** — session memory ≠ vault knowledge
173
+ - **Ignoring the two-pass vault search** — scan first, load only top 2-4 results
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-agent-persona
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "activate persona", "be yourself",
5
6
  "stay in character", or "hello [agent name]". Reinforces character
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-brain-debrief
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "brain stats", "pattern strengths",
5
6
  "intelligence report", "show brain data", or "what patterns are strongest".
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-brainstorming
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "I want to build something", "let's think about",
5
6
  "what if we", "creative exploration", or "ideate". For open-ended creative
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-build-skill
3
+ tier: default
3
4
  description: >
4
5
  Use when creating a new skill, updating an existing skill, or scaffolding a skill
5
6
  template for a Soleri agent. Triggers on "create a skill", "new skill", "build skill",
@@ -24,6 +25,7 @@ Skills live in two places:
24
25
  ```yaml
25
26
  ---
26
27
  name: soleri-{skill-name}
28
+ tier: default
27
29
  description: >
28
30
  Use when the user says "trigger1", "trigger2", "trigger3",
29
31
  or wants to [brief purpose]. [One sentence about what the skill does].
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-code-patrol
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "check against patterns", "pattern compliance",
5
6
  "convention check", "review against vault", or "institutional review".
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-context-resume
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "where did I leave off", "what was I working on",
5
6
  "catch me up", "resume session", or "continue where we stopped".
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: soleri-curator
3
+ tier: default
4
+ description: >
5
+ Use when the user says "curator status", "vault health", "how is the vault",
6
+ "curator health", "check vault quality", or "what needs grooming".
7
+ Quick vault health check with targeted grooming recommendations.
8
+ For full maintenance (dedup, archive, consolidate), use vault-curate.
9
+ ---
10
+
11
+ # Curator — Vault Health and Quick Grooming
12
+
13
+ Get a rapid health snapshot of the vault and run targeted grooming on specific entries. Use this for regular check-ins and spot fixes. For deep maintenance (dedup, archive stale, full consolidation) use the `vault-curate` skill.
14
+
15
+ ## When to Use
16
+
17
+ - Quick "how is the vault doing?" check
18
+ - After a few capture sessions to verify entry quality
19
+ - Spot-grooming specific entries or domains
20
+ - Before starting a big research session
21
+
22
+ ## Orchestration
23
+
24
+ ### Step 1: Health Snapshot
25
+
26
+ ```
27
+ YOUR_AGENT_curator op:curator_health
28
+ ```
29
+
30
+ Present results as a status table:
31
+
32
+ | Metric | Value | Status |
33
+ | ----------------------- | ------------------ | ------------- |
34
+ | **Total entries** | {totalEntries} | — |
35
+ | **Quality score** | {qualityScore}/100 | {ok/warn/bad} |
36
+ | **Stale entries** | {staleCount} | — |
37
+ | **Duplicates detected** | {duplicateCount} | — |
38
+ | **Grooming needed** | {needsGrooming} | — |
39
+
40
+ If health score < 70 or duplicates > 10, recommend running `vault-curate`.
41
+
42
+ ### Step 2: Curator Status
43
+
44
+ ```
45
+ YOUR_AGENT_curator op:curator_status
46
+ ```
47
+
48
+ Show last grooming date, entries processed, and any pending actions.
49
+
50
+ ### Step 3: Targeted Grooming (optional)
51
+
52
+ If specific entries need attention:
53
+
54
+ ```
55
+ YOUR_AGENT_curator op:curator_groom
56
+ params: {
57
+ entryIds: ["<id1>", "<id2>"],
58
+ tags: ["<suggested-tag>"]
59
+ }
60
+ ```
61
+
62
+ Report how many entries were updated.
63
+
64
+ ## Exit Criteria
65
+
66
+ Health snapshot presented. If issues found, user is informed with a clear recommendation to run `vault-curate` for full maintenance or `curator_groom` for spot fixes.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-deep-review
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "deep review", "code smells", "architecture review",
5
6
  "is this well architected", or "optimization review". Multi-pass code review
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-deliver-and-ship
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "ship it", "pre-PR check", "delivery checklist", "is this ready",
5
6
  "final review", or "ready to deploy". Runs pre-delivery quality gates
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-discovery-phase
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "I don't know where to start", "investigate",
5
6
  "research this", "explore the problem", or "discovery". Structured exploration
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-dream
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "dream", "consolidate memory", "clean up memory",
5
6
  "memory cleanup", or "dream status". Runs automatic memory consolidation
@@ -78,7 +79,18 @@ YOUR_AGENT_core op:brain_build_intelligence
78
79
 
79
80
  Rebuild brain intelligence with the freshly consolidated vault data.
80
81
 
81
- ### Step 5: Capture to Memory
82
+ ### Step 5: Normalize Relative Dates
83
+
84
+ If the dream report includes entries with relative date references ("today", "yesterday", "last week"), normalize them. Search for entries containing relative dates and update to absolute ISO dates:
85
+
86
+ ```
87
+ YOUR_AGENT_vault op:search_intelligent
88
+ params: { query: "today OR yesterday OR last week OR last month", limit: 20 }
89
+ ```
90
+
91
+ For each entry with relative dates, update `content` to replace relative references with absolute dates based on the entry's `capturedAt` timestamp.
92
+
93
+ ### Step 6: Capture to Memory
82
94
 
83
95
  ```
84
96
  YOUR_AGENT_memory op:session_capture
@@ -96,6 +108,24 @@ Auto-dream triggers automatically on session start when BOTH conditions are met:
96
108
 
97
109
  Manual `/dream` always runs immediately (force=true).
98
110
 
111
+ ## Auto-Dream Scheduling
112
+
113
+ To enable periodic auto-dream (runs every 24h after 5+ sessions):
114
+
115
+ ```
116
+ YOUR_AGENT_core op:curator_schedule_start
117
+ params: {
118
+ intervalHours: 24,
119
+ minSessions: 5
120
+ }
121
+ ```
122
+
123
+ To disable:
124
+
125
+ ```
126
+ YOUR_AGENT_core op:curator_schedule_stop
127
+ ```
128
+
99
129
  ## Background
100
130
 
101
131
  Inspired by Claude Code's AutoDream feature and the neuroscience of REM sleep.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-env-setup
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "setup environment", "post-clone setup", "broken build",
5
6
  "missing dependencies", or "MODULE_NOT_FOUND". Detects what a project needs,
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-executing-plans
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "execute my plan", "run the plan", "start executing",
5
6
  or "implement the plan". Executes tasks sequentially with review checkpoints.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-finishing-a-development-branch
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "finish branch", "ready to merge", "PR ready",
5
6
  "submit PR", or "close branch". Handles pre-merge checks, PR creation,
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-fix-and-learn
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "fix it", "apply the fix", "patch this and remember",
5
6
  or "fix and capture". Executes a fix AFTER root cause is identified and
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-health-check
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "system health", "agent health", "run diagnostics",
5
6
  "system status", or "check health". Read-only health assessment of the
@@ -0,0 +1,100 @@
1
+ ---
2
+ name: soleri-intake
3
+ tier: default
4
+ description: >
5
+ Use when the user says "ingest this", "add this URL", "import this book",
6
+ "read and capture", "ingest batch", or when processing external content
7
+ into the vault. Handles URLs, text, books, and batch imports with
8
+ automatic knowledge extraction.
9
+ ---
10
+
11
+ # Intake — Ingest External Content
12
+
13
+ Import external content (URLs, books, text, batch files) into the vault with automatic knowledge extraction. The intake skill handles chunking, entity extraction, and vault persistence so you don't have to do it manually.
14
+
15
+ ## When to Use
16
+
17
+ - User pastes a URL ("save this article to vault")
18
+ - User shares a book or long document ("ingest this book into your knowledge base")
19
+ - User wants to capture raw text from an external source
20
+ - Batch importing multiple sources at once
21
+
22
+ ## Orchestration
23
+
24
+ ### Step 1: Identify Content Type
25
+
26
+ Determine what the user is providing:
27
+
28
+ | Type | Use Op | When |
29
+ | ---------------- | -------------- | -------------------------------- |
30
+ | URL | `ingest_url` | User pastes a web link |
31
+ | Book / long doc | `ingest_book` | PDF, long markdown, or file path |
32
+ | Raw text | `ingest_text` | User pastes text directly |
33
+ | Multiple sources | `ingest_batch` | List of URLs or file paths |
34
+
35
+ ### Step 2: Ingest
36
+
37
+ **URL:**
38
+
39
+ ```
40
+ YOUR_AGENT_intake op:ingest_url
41
+ params: {
42
+ url: "<url>",
43
+ domain: "<inferred domain>",
44
+ tags: ["<tag1>", "<tag2>"]
45
+ }
46
+ ```
47
+
48
+ **Book / Long Document:**
49
+
50
+ ```
51
+ YOUR_AGENT_intake op:ingest_book
52
+ params: {
53
+ path: "<file path or url>",
54
+ title: "<document title>",
55
+ domain: "<domain>",
56
+ chunkStrategy: "chapter"
57
+ }
58
+ ```
59
+
60
+ **Raw Text:**
61
+
62
+ ```
63
+ YOUR_AGENT_intake op:ingest_text
64
+ params: {
65
+ text: "<content>",
66
+ title: "<descriptive title>",
67
+ domain: "<domain>",
68
+ tags: ["<tag>"]
69
+ }
70
+ ```
71
+
72
+ **Batch:**
73
+
74
+ ```
75
+ YOUR_AGENT_intake op:ingest_batch
76
+ params: {
77
+ sources: [
78
+ { type: "url", value: "<url1>" },
79
+ { type: "url", value: "<url2>" }
80
+ ],
81
+ domain: "<domain>"
82
+ }
83
+ ```
84
+
85
+ ### Step 3: Report Results
86
+
87
+ Present a summary table:
88
+
89
+ | Field | Value |
90
+ | ------------------- | ----------------- |
91
+ | **Entries created** | {count} |
92
+ | **Domain** | {domain} |
93
+ | **Tags** | {tags.join(', ')} |
94
+ | **Status** | {status} |
95
+
96
+ If any sources failed, list them with reasons so the user can retry.
97
+
98
+ ## Exit Criteria
99
+
100
+ All content ingested, entry IDs confirmed, results reported to user.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-knowledge-harvest
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "learn from this", "harvest knowledge", "ingest this",
5
6
  or "extract patterns from". Extracts multiple patterns from a source like
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: soleri-loop
3
+ tier: default
4
+ description: >
5
+ Use when the user says "start a loop", "run until done", "iterate until X",
6
+ "loop status", or "cancel loop". Manages iterative execution loops that
7
+ repeat a task until a condition is met or a grade threshold is reached.
8
+ ---
9
+
10
+ # Loop — Iterative Execution
11
+
12
+ Run a task in a loop until a condition is met — grade threshold, promise fulfilled, or explicit cancellation. Useful for plan refinement, quality iteration, and autonomous improvement cycles.
13
+
14
+ ## When to Use
15
+
16
+ - Improving a plan until it reaches grade A
17
+ - Running validation until all tests pass
18
+ - Any task that needs to repeat with self-correction until done
19
+
20
+ ## Orchestration
21
+
22
+ ### Step 1: Start Loop
23
+
24
+ ```
25
+ YOUR_AGENT_loop op:loop_start
26
+ params: {
27
+ prompt: "<task description>",
28
+ mode: "<plan-iteration | custom>",
29
+ maxIterations: <number, default 10>
30
+ }
31
+ ```
32
+
33
+ **Modes:**
34
+
35
+ - `plan-iteration` — repeats `create_plan` until grade >= A (target-based)
36
+ - `custom` — user-defined stop condition; loop continues until promise satisfied
37
+
38
+ Note the `loopId` from the response — needed for status and cancel.
39
+
40
+ ### Step 2: Monitor
41
+
42
+ At each iteration, check status:
43
+
44
+ ```
45
+ YOUR_AGENT_loop op:loop_status
46
+ params: { loopId: "<loopId>" }
47
+ ```
48
+
49
+ Report progress to user:
50
+
51
+ | Field | Value |
52
+ | ------------------ | ------------------------------------ |
53
+ | **Iteration** | {currentIteration} / {maxIterations} |
54
+ | **Status** | {status} |
55
+ | **Last result** | {lastResult} |
56
+ | **Stop condition** | {stopCondition} |
57
+
58
+ ### Step 3: Cancel (if needed)
59
+
60
+ If the user wants to stop early:
61
+
62
+ ```
63
+ YOUR_AGENT_loop op:loop_cancel
64
+ params: { loopId: "<loopId>", reason: "<why stopping>" }
65
+ ```
66
+
67
+ ## Exit Criteria
68
+
69
+ Loop completes when: stop condition is met, max iterations reached, or user explicitly cancels. Report final outcome and iteration count.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-mcp-doctor
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "MCP not working", "tools missing", "fix MCP",
5
6
  "mcp doctor", or "server not connecting". Diagnoses and repairs MCP server
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: soleri-onboard-me
3
+ tier: default
3
4
  description: >
4
5
  Use when the user says "onboard me", "I'm new here", "project overview",
5
6
  or "what should I know about this codebase". Provides a structured tour