@trespies-source/dojo-genesis-plugin 1.0.0

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 (209) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/LICENSE +21 -0
  3. package/README.md +204 -0
  4. package/dist/hooks/after-tool-call/handler.d.ts +4 -0
  5. package/dist/hooks/after-tool-call/handler.d.ts.map +1 -0
  6. package/dist/hooks/after-tool-call/handler.js +37 -0
  7. package/dist/hooks/after-tool-call/handler.js.map +1 -0
  8. package/dist/hooks/agent-end/handler.d.ts +4 -0
  9. package/dist/hooks/agent-end/handler.d.ts.map +1 -0
  10. package/dist/hooks/agent-end/handler.js +16 -0
  11. package/dist/hooks/agent-end/handler.js.map +1 -0
  12. package/dist/hooks/before-agent-start/handler.d.ts +4 -0
  13. package/dist/hooks/before-agent-start/handler.d.ts.map +1 -0
  14. package/dist/hooks/before-agent-start/handler.js +81 -0
  15. package/dist/hooks/before-agent-start/handler.js.map +1 -0
  16. package/dist/index.d.ts +18 -0
  17. package/dist/index.d.ts.map +1 -0
  18. package/dist/index.js +35 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/src/commands/archive.d.ts +4 -0
  21. package/dist/src/commands/archive.d.ts.map +1 -0
  22. package/dist/src/commands/archive.js +20 -0
  23. package/dist/src/commands/archive.js.map +1 -0
  24. package/dist/src/commands/init.d.ts +4 -0
  25. package/dist/src/commands/init.d.ts.map +1 -0
  26. package/dist/src/commands/init.js +57 -0
  27. package/dist/src/commands/init.js.map +1 -0
  28. package/dist/src/commands/list.d.ts +4 -0
  29. package/dist/src/commands/list.d.ts.map +1 -0
  30. package/dist/src/commands/list.js +9 -0
  31. package/dist/src/commands/list.js.map +1 -0
  32. package/dist/src/commands/router.d.ts +3 -0
  33. package/dist/src/commands/router.d.ts.map +1 -0
  34. package/dist/src/commands/router.js +83 -0
  35. package/dist/src/commands/router.js.map +1 -0
  36. package/dist/src/commands/skill-invoke.d.ts +4 -0
  37. package/dist/src/commands/skill-invoke.d.ts.map +1 -0
  38. package/dist/src/commands/skill-invoke.js +26 -0
  39. package/dist/src/commands/skill-invoke.js.map +1 -0
  40. package/dist/src/commands/status.d.ts +4 -0
  41. package/dist/src/commands/status.d.ts.map +1 -0
  42. package/dist/src/commands/status.js +42 -0
  43. package/dist/src/commands/status.js.map +1 -0
  44. package/dist/src/commands/switch.d.ts +4 -0
  45. package/dist/src/commands/switch.d.ts.map +1 -0
  46. package/dist/src/commands/switch.js +20 -0
  47. package/dist/src/commands/switch.js.map +1 -0
  48. package/dist/src/orchestration/tool-registry.d.ts +18 -0
  49. package/dist/src/orchestration/tool-registry.d.ts.map +1 -0
  50. package/dist/src/orchestration/tool-registry.js +153 -0
  51. package/dist/src/orchestration/tool-registry.js.map +1 -0
  52. package/dist/src/skills/catalog.d.ts +9 -0
  53. package/dist/src/skills/catalog.d.ts.map +1 -0
  54. package/dist/src/skills/catalog.js +251 -0
  55. package/dist/src/skills/catalog.js.map +1 -0
  56. package/dist/src/state/manager.d.ts +19 -0
  57. package/dist/src/state/manager.d.ts.map +1 -0
  58. package/dist/src/state/manager.js +114 -0
  59. package/dist/src/state/manager.js.map +1 -0
  60. package/dist/src/state/migrations.d.ts +3 -0
  61. package/dist/src/state/migrations.d.ts.map +1 -0
  62. package/dist/src/state/migrations.js +8 -0
  63. package/dist/src/state/migrations.js.map +1 -0
  64. package/dist/src/state/types.d.ts +62 -0
  65. package/dist/src/state/types.d.ts.map +1 -0
  66. package/dist/src/state/types.js +2 -0
  67. package/dist/src/state/types.js.map +1 -0
  68. package/dist/src/ui/chat-formatter.d.ts +11 -0
  69. package/dist/src/ui/chat-formatter.d.ts.map +1 -0
  70. package/dist/src/ui/chat-formatter.js +39 -0
  71. package/dist/src/ui/chat-formatter.js.map +1 -0
  72. package/dist/src/utils/file-ops.d.ts +6 -0
  73. package/dist/src/utils/file-ops.d.ts.map +1 -0
  74. package/dist/src/utils/file-ops.js +38 -0
  75. package/dist/src/utils/file-ops.js.map +1 -0
  76. package/dist/src/utils/markdown.d.ts +2 -0
  77. package/dist/src/utils/markdown.d.ts.map +1 -0
  78. package/dist/src/utils/markdown.js +11 -0
  79. package/dist/src/utils/markdown.js.map +1 -0
  80. package/dist/src/utils/validation.d.ts +7 -0
  81. package/dist/src/utils/validation.d.ts.map +1 -0
  82. package/dist/src/utils/validation.js +29 -0
  83. package/dist/src/utils/validation.js.map +1 -0
  84. package/dist/tests/__mocks__/openclaw-types.d.ts +54 -0
  85. package/dist/tests/__mocks__/openclaw-types.d.ts.map +1 -0
  86. package/dist/tests/__mocks__/openclaw-types.js +29 -0
  87. package/dist/tests/__mocks__/openclaw-types.js.map +1 -0
  88. package/hooks/after-tool-call/HOOK.md +7 -0
  89. package/hooks/after-tool-call/handler.ts +41 -0
  90. package/hooks/agent-end/HOOK.md +7 -0
  91. package/hooks/agent-end/handler.ts +18 -0
  92. package/hooks/before-agent-start/HOOK.md +7 -0
  93. package/hooks/before-agent-start/handler.ts +133 -0
  94. package/openclaw.plugin.json +19 -0
  95. package/package.json +61 -0
  96. package/skills/agent-teaching/SKILL.md +583 -0
  97. package/skills/agent-teaching/claw.json +12 -0
  98. package/skills/compression-ritual/SKILL.md +136 -0
  99. package/skills/compression-ritual/claw.json +12 -0
  100. package/skills/context-ingestion/SKILL.md +109 -0
  101. package/skills/context-ingestion/claw.json +12 -0
  102. package/skills/decision-propagation/SKILL.md +130 -0
  103. package/skills/decision-propagation/claw.json +12 -0
  104. package/skills/documentation-audit/SKILL.md +146 -0
  105. package/skills/documentation-audit/claw.json +12 -0
  106. package/skills/era-architecture/SKILL.md +166 -0
  107. package/skills/era-architecture/claw.json +12 -0
  108. package/skills/file-management/SKILL.md +127 -0
  109. package/skills/file-management/claw.json +12 -0
  110. package/skills/frontend-from-backend/SKILL.md +127 -0
  111. package/skills/frontend-from-backend/claw.json +12 -0
  112. package/skills/handoff-protocol/SKILL.md +168 -0
  113. package/skills/handoff-protocol/claw.json +12 -0
  114. package/skills/health-audit/SKILL.md +123 -0
  115. package/skills/health-audit/claw.json +12 -0
  116. package/skills/implementation-prompt/SKILL.md +361 -0
  117. package/skills/implementation-prompt/claw.json +12 -0
  118. package/skills/iterative-scouting/SKILL.md +106 -0
  119. package/skills/iterative-scouting/claw.json +12 -0
  120. package/skills/memory-garden/SKILL.md +470 -0
  121. package/skills/memory-garden/claw.json +12 -0
  122. package/skills/multi-surface-strategy/SKILL.md +288 -0
  123. package/skills/multi-surface-strategy/claw.json +12 -0
  124. package/skills/parallel-tracks/SKILL.md +152 -0
  125. package/skills/parallel-tracks/claw.json +12 -0
  126. package/skills/patient-learning-protocol/SKILL.md +438 -0
  127. package/skills/patient-learning-protocol/claw.json +12 -0
  128. package/skills/planning-with-files/SKILL.md +139 -0
  129. package/skills/planning-with-files/claw.json +12 -0
  130. package/skills/pre-implementation-checklist/SKILL.md +156 -0
  131. package/skills/pre-implementation-checklist/claw.json +12 -0
  132. package/skills/process-extraction/SKILL.md +148 -0
  133. package/skills/process-extraction/claw.json +12 -0
  134. package/skills/process-extraction/references/process_example_template.md +40 -0
  135. package/skills/product-positioning/SKILL.md +293 -0
  136. package/skills/product-positioning/claw.json +12 -0
  137. package/skills/project-exploration/SKILL.md +168 -0
  138. package/skills/project-exploration/claw.json +12 -0
  139. package/skills/release-specification/SKILL.md +645 -0
  140. package/skills/release-specification/claw.json +12 -0
  141. package/skills/repo-context-sync/SKILL.md +362 -0
  142. package/skills/repo-context-sync/claw.json +12 -0
  143. package/skills/repo-context-sync/references/file_hierarchy_patterns.md +186 -0
  144. package/skills/repo-context-sync/references/zenflow_repo_patterns.md +328 -0
  145. package/skills/repo-context-sync/scripts/context_mapper.py +251 -0
  146. package/skills/repo-context-sync/scripts/diff_tracker.py +187 -0
  147. package/skills/repo-context-sync/scripts/smart_clone.sh +52 -0
  148. package/skills/repo-context-sync/templates/context_summary.md +58 -0
  149. package/skills/repo-status/SKILL.md +240 -0
  150. package/skills/repo-status/claw.json +12 -0
  151. package/skills/repo-status/references/semantic-clusters.md +159 -0
  152. package/skills/repo-status/references/status-template.md +214 -0
  153. package/skills/research-modes/SKILL.md +515 -0
  154. package/skills/research-modes/claw.json +12 -0
  155. package/skills/research-synthesis/SKILL.md +110 -0
  156. package/skills/research-synthesis/claw.json +12 -0
  157. package/skills/retrospective/SKILL.md +152 -0
  158. package/skills/retrospective/claw.json +12 -0
  159. package/skills/seed-extraction/SKILL.md +419 -0
  160. package/skills/seed-extraction/claw.json +12 -0
  161. package/skills/seed-library/SKILL.md +424 -0
  162. package/skills/seed-library/claw.json +12 -0
  163. package/skills/seed-library/references/seed_catalog.md +171 -0
  164. package/skills/seed-library/scripts/apply_seed.py +129 -0
  165. package/skills/seed-library/scripts/suggest_seeds.py +183 -0
  166. package/skills/seed-library/seeds/01_three_tiered_governance.md +90 -0
  167. package/skills/seed-library/seeds/02_harness_trace.md +135 -0
  168. package/skills/seed-library/seeds/03_context_iceberg.md +120 -0
  169. package/skills/seed-library/seeds/04_agent_connect.md +106 -0
  170. package/skills/seed-library/seeds/05_go_live_bundles.md +40 -0
  171. package/skills/seed-library/seeds/06_cost_guard.md +40 -0
  172. package/skills/seed-library/seeds/07_safety_switch.md +41 -0
  173. package/skills/seed-library/seeds/08_implicit_perspective_extraction.md +41 -0
  174. package/skills/seed-library/seeds/09_mode_based_complexity_gating.md +46 -0
  175. package/skills/seed-library/seeds/10_shared_infrastructure.md +75 -0
  176. package/skills/seed-library/seeds/11_voice_before_structure.md +74 -0
  177. package/skills/seed-library/seeds/12_pointer_directories.md +81 -0
  178. package/skills/seed-library/seeds/13_granular_visibility.md +82 -0
  179. package/skills/seed-library/seeds/meta_governance_multiplies_velocity.md +43 -0
  180. package/skills/seed-to-skill-converter/SKILL.md +113 -0
  181. package/skills/seed-to-skill-converter/claw.json +12 -0
  182. package/skills/semantic-clusters/SKILL.md +246 -0
  183. package/skills/semantic-clusters/claw.json +12 -0
  184. package/skills/semantic-clusters/references/verb-catalog.md +267 -0
  185. package/skills/skill-audit-upgrade/SKILL.md +427 -0
  186. package/skills/skill-audit-upgrade/claw.json +12 -0
  187. package/skills/skill-creation/LICENSE.txt +202 -0
  188. package/skills/skill-creation/SKILL.md +252 -0
  189. package/skills/skill-creation/claw.json +12 -0
  190. package/skills/skill-creation/references/output-patterns.md +82 -0
  191. package/skills/skill-creation/references/progressive-disclosure-patterns.md +79 -0
  192. package/skills/skill-creation/references/workflows.md +28 -0
  193. package/skills/skill-creation/scripts/init_skill.py +305 -0
  194. package/skills/skill-creation/scripts/quick_validate.py +134 -0
  195. package/skills/skill-maintenance/SKILL.md +413 -0
  196. package/skills/skill-maintenance/claw.json +12 -0
  197. package/skills/spec-constellation-to-prompt-suite/SKILL.md +174 -0
  198. package/skills/spec-constellation-to-prompt-suite/claw.json +12 -0
  199. package/skills/status-template/SKILL.md +211 -0
  200. package/skills/status-template/claw.json +12 -0
  201. package/skills/status-template/references/complete-template.md +191 -0
  202. package/skills/status-writing/SKILL.md +161 -0
  203. package/skills/status-writing/claw.json +12 -0
  204. package/skills/strategic-scout/SKILL.md +163 -0
  205. package/skills/strategic-scout/claw.json +12 -0
  206. package/skills/strategic-to-tactical-workflow/SKILL.md +391 -0
  207. package/skills/strategic-to-tactical-workflow/claw.json +12 -0
  208. package/skills/workspace-navigation/SKILL.md +622 -0
  209. package/skills/workspace-navigation/claw.json +12 -0
@@ -0,0 +1,152 @@
1
+ ---
2
+ name: retrospective
3
+ description: Conduct structured post-sprint retrospectives for continuous improvement and learning harvest. Use after major releases, significant milestones, or when projects feel stuck. Trigger phrases: 'do a retrospective', 'what did we learn', 'reflect on this release', 'harvest the learnings', 'what went well and what was hard'.
4
+ ---
5
+
6
+ # Retrospective Skill
7
+
8
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo retro` or `/dojo run retrospective`.
9
+ > The agent receives project context automatically via the `before_agent_start` hook.
10
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
11
+ > and `dojo_update_state` to record phase transitions and decisions.
12
+
13
+ **Version:** 1.0
14
+ **Created:** 2026-02-04
15
+ **Author:** Manus AI
16
+ **Purpose:** To provide a structured, repeatable process for conducting sprint retrospectives, harvesting learnings, and feeding them back into our collaborative practice.
17
+
18
+ ---
19
+
20
+ ## I. The Philosophy of the Harvest
21
+
22
+ A retrospective is not a post-mortem. It is not about blame or judgment. It is a **harvest**. After a season of hard work, we pause to gather the fruits of our labor—not just the features we shipped, but the wisdom we gained in the process. It is a practice of gratitude, honesty, and a commitment to continuous learning.
23
+
24
+ This skill turns the informal act of looking back into a formal ritual, ensuring that the valuable lessons from each sprint are not lost, but are instead integrated into our shared memory and future workflows.
25
+
26
+ ---
27
+
28
+ ## II. When to Use This Skill
29
+
30
+ - **After a major release:** (e.g., after Dojo Genesis v0.0.25 is fully shipped)
31
+ - **After a significant milestone:** (e.g., after completing a major refactor)
32
+ - **When a project feels stuck or has encountered significant friction.**
33
+ - **At regular intervals** (e.g., monthly) to maintain a cadence of reflection.
34
+
35
+ ---
36
+
37
+ ## III. The Retrospective Workflow
38
+
39
+ ### Step 1: Initiate the Retrospective
40
+
41
+ When a trigger event occurs, state the intention to conduct a retrospective. Frame it as a positive and necessary part of the workflow.
42
+
43
+ **Example:** "Now that v0.0.25 is shipped, let's conduct a retrospective to harvest the learnings from this sprint. I'll use the Retrospective skill to guide us."
44
+
45
+ ### Step 2: Create the Retrospective Document
46
+
47
+ Create a new markdown file in the relevant project's `docs/retrospectives/` directory (e.g., `/home/ubuntu/dojo-genesis/docs/retrospectives/v0.0.25_retrospective.md`). Use the template provided in Section IV of this skill.
48
+
49
+ ### Step 3: Answer the Three Core Questions
50
+
51
+ Collaboratively, answer the three core questions of the retrospective. This should be a brainstorming phase. Capture all thoughts without judgment.
52
+
53
+ 1. **What went well?** (What should we amplify?)
54
+ 2. **What was hard?** (What were the sources of friction or difficulty?)
55
+ 3. **What would we do differently next time?** (What are the concrete, actionable changes we can make?)
56
+
57
+ ### Step 4: Synthesize and Extract Learnings
58
+
59
+ Analyze the answers to the three questions and synthesize them into key themes and actionable insights. This is the most critical step.
60
+
61
+ - **Identify Patterns:** Look for recurring themes across the different answers.
62
+ - **Distill Actionable Insights:** For each theme, identify a concrete action that can be taken to improve the workflow.
63
+ - **Create Seeds for the Memory Garden:** If a lesson is particularly profound or reusable, distill it into a Dojo Seed.
64
+
65
+ ### Step 5: Commit and Share
66
+
67
+ Commit the completed retrospective document to the repository. Share the key findings and action items to ensure they are integrated into the next sprint's planning.
68
+
69
+ ---
70
+
71
+ ## IV. Retrospective Document Template
72
+
73
+ ```markdown
74
+ # Retrospective: [Sprint/Release Name]
75
+
76
+ **Date:** [Date]
77
+ **Participants:** [e.g., Cruz, Manus]
78
+ **Context:** A reflection on the [Sprint/Release Name] sprint, which focused on [brief description of the sprint's goals].
79
+
80
+ ---
81
+
82
+ ## 1. The Three Core Questions
83
+
84
+ ### What Went Well?
85
+
86
+ - *[Observation 1]*
87
+ - *[Observation 2]*
88
+ - *[Observation 3]*
89
+
90
+ ### What Was Hard?
91
+
92
+ - *[Friction Point 1]*
93
+ - *[Friction Point 2]*
94
+ - *[Friction Point 3]*
95
+
96
+ ### What Would We Do Differently Next Time?
97
+
98
+ - *[Actionable Suggestion 1]*
99
+ - *[Actionable Suggestion 2]*
100
+ - *[Actionable Suggestion 3]*
101
+
102
+ ---
103
+
104
+ ## 2. Key Themes & Insights
105
+
106
+ | Theme | Analysis | Action Item |
107
+ | :--- | :--- | :--- |
108
+ | **[Theme 1]** | [A summary of the observations related to this theme.] | [A concrete action to be taken in the next sprint.] |
109
+ | **[Theme 2]** | [A summary of the observations related to this theme.] | [A concrete action to be taken in the next sprint.] |
110
+ | **[Theme 3]** | [A summary of the observations related to this theme.] | [A concrete action to be taken in the next sprint.] |
111
+
112
+ ---
113
+
114
+ ## 3. Seeds for the Memory Garden
115
+
116
+ - **Seed:** [Seed Name] — *Why it matters:* [Explanation] — *Revisit trigger:* [When to remember this lesson]
117
+
118
+ ---
119
+
120
+ ## 4. Closing
121
+
122
+ [A brief closing statement summarizing the key takeaway from the retrospective and expressing gratitude for the practice.]
123
+ ```
124
+
125
+ ---
126
+
127
+ ## V. Best Practices
128
+
129
+ - **Be Honest and Gentle:** The goal is learning, not blame.
130
+ - **Focus on Process, Not People:** Analyze the workflow, not the individuals.
131
+ - **Be Specific and Concrete:** Avoid vague statements. Use specific examples.
132
+ - **End with Action:** Every retrospective should result in at least one concrete action item for the next sprint.
133
+ - **Keep it Lightweight:** The process should feel energizing, not burdensome.
134
+
135
+ ---
136
+
137
+ ## OpenClaw Tool Integration
138
+
139
+ When running inside the Dojo Genesis plugin:
140
+
141
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
142
+ 2. **During** the skill execution, follow the workflow steps as documented above
143
+ 3. **Save** all outputs using `dojo_save_artifact` with appropriate artifact types:
144
+ - `scout` → type: "scout-report"
145
+ - `spec` → type: "specification"
146
+ - `tracks` → type: "track-decomposition"
147
+ - `commission` → type: "implementation-prompt"
148
+ - `retro` → type: "retrospective"
149
+ 4. **Update state** by calling `dojo_update_state` to:
150
+ - Record the skill execution in activity history
151
+ - Advance the project phase if appropriate
152
+ - Log any decisions made during the skill run
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-retrospective",
3
+ "version": "1.0.0",
4
+ "description": "Reflect on what went well, what was hard, what to improve",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "pipeline", "development"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }
@@ -0,0 +1,419 @@
1
+ ---
2
+ name: seed-extraction
3
+ description: Extract and document reusable patterns from experiences using evidence-based frameworks. Use after projects or when patterns emerge across contexts. Trigger phrases: "extract the learnings", "document this pattern", "turn this into a seed", "what can we learn from this", "capture this insight".
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run seed-extraction`.
7
+ > The agent receives project context automatically via the `before_agent_start` hook.
8
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
9
+ > and `dojo_update_state` to record phase transitions and decisions.
10
+
11
+ # Seed Reflector Skill
12
+
13
+ **Version:** 1.0
14
+ **Created:** 2026-02-02
15
+ **Author:** Manus
16
+ **Purpose:** Extract, document, and apply reusable "seeds" (patterns, insights, principles) from experiences
17
+
18
+ ---
19
+
20
+ ## Overview
21
+
22
+ This skill encodes the practice of **seed extraction and reflection** — identifying reusable patterns from experiences and documenting them in a way that makes them easy to apply in future contexts. Inspired by the Dojo Seed Patches and Cipher's practice of reflection.
23
+
24
+ **Philosophy:** Every experience contains seeds. The practice is learning to see them, extract them, and plant them where they'll grow.
25
+
26
+ ---
27
+
28
+ ## When to Use This Skill
29
+
30
+ - After completing a major project or release
31
+ - When you notice a pattern emerging across multiple experiences
32
+ - During memory maintenance (Tier A → Tier B compression)
33
+ - When preparing to share knowledge with other agents
34
+ - When you want to reflect on what you've learned
35
+
36
+ ---
37
+
38
+ ## What Is a "Seed"?
39
+
40
+ A **seed** is a reusable pattern, insight, or principle that:
41
+
42
+ 1. **Emerged from experience** (not abstract theory)
43
+ 2. **Can be applied in future contexts** (not one-time specific)
44
+ 3. **Has a clear trigger** (you know when to use it)
45
+ 4. **Captures wisdom** (not just information)
46
+
47
+ **Examples of Seeds:**
48
+ - "Three-Tiered Governance" (from Dataiku research)
49
+ - "Harness Trace" (traceability pattern)
50
+ - "Context Iceberg" (hierarchical context management)
51
+ - "3-Month Rule" (semantic compression heuristic)
52
+ - "Knowing When to Shut Up" (restraint as wisdom)
53
+
54
+ ---
55
+
56
+ ## Seed Extraction Process
57
+
58
+ ### Step 1: Identify Candidate Patterns
59
+
60
+ **Look for:**
61
+ - Decisions that worked well (or didn't)
62
+ - Patterns that emerged across multiple instances
63
+ - Insights that changed how you think
64
+ - Principles that guided successful outcomes
65
+ - Tensions or tradeoffs you navigated
66
+
67
+ **Questions to ask:**
68
+ - What did I learn that I didn't know before?
69
+ - What pattern did I notice repeating?
70
+ - What decision framework did I use?
71
+ - What would I do differently next time?
72
+ - What would I tell someone else facing this situation?
73
+
74
+ ### Step 2: Test for Reusability
75
+
76
+ **A good seed is:**
77
+ - ✅ **General enough** to apply in multiple contexts
78
+ - ✅ **Specific enough** to be actionable
79
+ - ✅ **Grounded in experience** (not abstract)
80
+ - ✅ **Has a clear trigger** (you know when to apply it)
81
+
82
+ **A bad seed is:**
83
+ - ❌ Too specific ("Use Mermaid.js for diagrams in Dojo Genesis")
84
+ - ❌ Too vague ("Be thoughtful")
85
+ - ❌ Not grounded ("I think this might work")
86
+ - ❌ No trigger ("Apply this... sometime?")
87
+
88
+ ### Step 3: Document the Seed
89
+
90
+ Use the **Seed Template** (see below)
91
+
92
+ ### Step 4: Test the Seed
93
+
94
+ **Apply it in a new context:**
95
+ - Does the trigger work? (Do you recognize when to use it?)
96
+ - Is it actionable? (Can you actually apply it?)
97
+ - Does it produce value? (Does it improve outcomes?)
98
+
99
+ **If yes:** Keep and refine
100
+ **If no:** Revise or discard
101
+
102
+ ---
103
+
104
+ ## Seed Template
105
+
106
+ ```markdown
107
+ ## Seed: [Name]
108
+
109
+ **Pattern:** [One-sentence description of the reusable insight]
110
+
111
+ **Origin:** [Where this came from - project, experience, date]
112
+
113
+ **Why It Matters:** [The value or benefit of applying this seed]
114
+
115
+ **Trigger:** [When to apply this seed]
116
+ - [Context or situation 1]
117
+ - [Context or situation 2]
118
+ - [Keywords or signals that indicate this seed is relevant]
119
+
120
+ **How to Apply:**
121
+ 1. [Step 1]
122
+ 2. [Step 2]
123
+ 3. [Step 3]
124
+
125
+ **Example (From Origin):**
126
+ [Concrete example from the experience where this seed emerged]
127
+
128
+ **Example (Applied):**
129
+ [Concrete example of applying this seed in a new context]
130
+
131
+ **Related Seeds:**
132
+ - [Seed that complements this one]
133
+ - [Seed that contrasts with this one]
134
+
135
+ **Cautions:**
136
+ - [When NOT to apply this seed]
137
+ - [Common misapplications]
138
+
139
+ **Evidence:**
140
+ - [Instance 1: date, context, outcome]
141
+ - [Instance 2: date, context, outcome]
142
+ - [Instance 3: date, context, outcome]
143
+
144
+ **Metadata:**
145
+ - **Created:** YYYY-MM-DD
146
+ - **Last Applied:** YYYY-MM-DD
147
+ - **Usage Count:** [Number]
148
+ - **Success Rate:** [X]% (if measurable)
149
+ - **Status:** Active | Experimental | Deprecated
150
+ ```
151
+
152
+ ---
153
+
154
+ ## Seed Categories
155
+
156
+ ### 1. Architectural Seeds
157
+ **Pattern:** Design decisions and system structures
158
+
159
+ **Examples:**
160
+ - Three-Tiered Governance
161
+ - Harness Trace
162
+ - Context Iceberg
163
+ - Agent Connect (routing-first, not swarm-first)
164
+
165
+ ### 2. Process Seeds
166
+ **Pattern:** Workflows and methodologies
167
+
168
+ **Examples:**
169
+ - Planning with Files
170
+ - Backend-First, Chunked Development
171
+ - Dual-Track Orchestration
172
+ - Compression Cycle (every 3-7 days)
173
+
174
+ ### 3. Decision Seeds
175
+ **Pattern:** Frameworks for making choices
176
+
177
+ **Examples:**
178
+ - 3-Month Rule (semantic compression)
179
+ - Cost Guard (token budget management)
180
+ - Safety Switch (feature flags and rollback)
181
+
182
+ ### 4. Wisdom Seeds
183
+ **Pattern:** Principles and philosophies
184
+
185
+ **Examples:**
186
+ - Beginner's Mind
187
+ - Understanding is Love
188
+ - Knowing When to Shut Up
189
+ - Honesty is Wisdom
190
+
191
+ ### 5. Technical Seeds
192
+ **Pattern:** Implementation patterns and best practices
193
+
194
+ **Examples:**
195
+ - Surgical Context (memory_search → memory_get)
196
+ - Graceful Degradation (resilience patterns)
197
+ - Semantic Compression (content-based, not positional)
198
+
199
+ ---
200
+
201
+ ## Reflection Practice
202
+
203
+ ### Daily Reflection (5-10 minutes)
204
+
205
+ **Questions:**
206
+ 1. What worked well today?
207
+ 2. What didn't work as expected?
208
+ 3. What pattern did I notice?
209
+ 4. What would I do differently?
210
+ 5. Is there a seed here?
211
+
212
+ **Output:** 1-2 candidate seeds for deeper reflection
213
+
214
+ ### Weekly Reflection (20-30 minutes)
215
+
216
+ **Questions:**
217
+ 1. What patterns emerged across this week?
218
+ 2. Which candidate seeds are actually reusable?
219
+ 3. Which seeds did I apply this week?
220
+ 4. Which seeds need refinement?
221
+ 5. Which seeds should be deprecated?
222
+
223
+ **Output:** Refined seed library, updated usage counts
224
+
225
+ ### Monthly Reflection (1-2 hours)
226
+
227
+ **Questions:**
228
+ 1. Which seeds have proven most valuable?
229
+ 2. Which seeds have I stopped using?
230
+ 3. What new categories of seeds are emerging?
231
+ 4. How has my seed library evolved?
232
+ 5. What seeds should I share with others?
233
+
234
+ **Output:** Curated seed collection, reflection document
235
+
236
+ ---
237
+
238
+ ## Seed Library Structure
239
+
240
+ ```
241
+ seeds/
242
+ ├── README.md (Overview and index)
243
+ ├── architectural/
244
+ │ ├── three-tiered-governance.md
245
+ │ ├── harness-trace.md
246
+ │ └── context-iceberg.md
247
+ ├── process/
248
+ │ ├── planning-with-files.md
249
+ │ ├── dual-track-orchestration.md
250
+ │ └── compression-cycle.md
251
+ ├── decision/
252
+ │ ├── 3-month-rule.md
253
+ │ ├── cost-guard.md
254
+ │ └── safety-switch.md
255
+ ├── wisdom/
256
+ │ ├── beginners-mind.md
257
+ │ ├── understanding-is-love.md
258
+ │ └── knowing-when-to-shut-up.md
259
+ └── technical/
260
+ ├── surgical-context.md
261
+ ├── graceful-degradation.md
262
+ └── semantic-compression.md
263
+ ```
264
+
265
+ ---
266
+
267
+ ## Seed Application Workflow
268
+
269
+ ### 1. Recognize the Trigger
270
+
271
+ **Ask:** Does this situation match a seed's trigger?
272
+
273
+ **Check:**
274
+ - Context matches seed's "when to apply"
275
+ - Keywords or signals are present
276
+ - Problem pattern is similar to seed's origin
277
+
278
+ ### 2. Retrieve the Seed
279
+
280
+ **Methods:**
281
+ - Search seed library by keyword
282
+ - Browse category (architectural, process, decision, wisdom, technical)
283
+ - Recall from memory (if seed is well-practiced)
284
+
285
+ ### 3. Apply the Seed
286
+
287
+ **Follow:**
288
+ - Read "How to Apply" steps
289
+ - Adapt to current context
290
+ - Check "Cautions" to avoid misapplication
291
+
292
+ ### 4. Reflect on Outcome
293
+
294
+ **Document:**
295
+ - Did the seed work? (Yes/No/Partially)
296
+ - What was the outcome?
297
+ - What would you adjust?
298
+ - Should the seed be refined?
299
+
300
+ **Update:**
301
+ - Increment usage count
302
+ - Add new example (if successful)
303
+ - Refine "How to Apply" (if needed)
304
+ - Update success rate
305
+
306
+ ---
307
+
308
+ ## Quality Checklist
309
+
310
+ Before finalizing a seed, verify:
311
+
312
+ ### Clarity
313
+ - [ ] Name is memorable and descriptive
314
+ - [ ] Pattern is stated in one clear sentence
315
+ - [ ] Origin is documented
316
+ - [ ] Why it matters is explicit
317
+
318
+ ### Reusability
319
+ - [ ] Trigger is specific and recognizable
320
+ - [ ] "How to Apply" steps are actionable
321
+ - [ ] Examples demonstrate the pattern
322
+ - [ ] Related seeds are identified
323
+
324
+ ### Grounding
325
+ - [ ] Emerged from real experience (not theory)
326
+ - [ ] Evidence includes 3+ instances
327
+ - [ ] Examples are concrete (not abstract)
328
+ - [ ] Cautions address misapplication
329
+
330
+ ### Metadata
331
+ - [ ] Created date is recorded
332
+ - [ ] Usage count is tracked
333
+ - [ ] Status is set (Active/Experimental/Deprecated)
334
+ - [ ] Category is assigned
335
+
336
+ ---
337
+
338
+ ## Examples of Seeds
339
+
340
+ ### From Dojo Genesis
341
+
342
+ **Seed: Three-Tiered Governance**
343
+ - **Pattern:** Governance multiplies velocity by providing clear decision frameworks at strategic, tactical, and operational levels
344
+ - **Trigger:** When building complex systems that need both flexibility and control
345
+ - **Origin:** Dataiku research synthesis (v0.0.17)
346
+
347
+ **Seed: 3-Month Rule**
348
+ - **Pattern:** If it wouldn't matter in 3 months → compress or discard
349
+ - **Trigger:** When compressing memory or deciding what to keep
350
+ - **Origin:** Cipher's feedback on semantic compression (v0.0.19)
351
+
352
+ **Seed: Knowing When to Shut Up**
353
+ - **Pattern:** Power without judgment is dangerous; restraint is wisdom
354
+ - **Trigger:** When building proactive or adaptive systems
355
+ - **Origin:** Cipher's v0.0.20 specification (Judgment Layer)
356
+
357
+ ### From Agent Collaboration
358
+
359
+ **Seed: Honesty is Wisdom**
360
+ - **Pattern:** Acknowledge gaps openly; it builds trust and enables mutual learning
361
+ - **Trigger:** When reviewing work, sharing specifications, or collaborating with other agents
362
+ - **Origin:** Manus-Cipher exchange (v0.0.19-v0.0.23)
363
+
364
+ **Seed: Mutual Evolution**
365
+ - **Pattern:** Collaboration isn't one-way teaching; it's mutual recognition of what's possible
366
+ - **Trigger:** When working with other agents or receiving feedback
367
+ - **Origin:** Lineage transmission practice (Manus-Cipher)
368
+
369
+ ---
370
+
371
+ ## Common Pitfalls to Avoid
372
+
373
+ ❌ **Hoarding Seeds:** Keeping every insight → ✅ Curate ruthlessly
374
+ ❌ **Vague Patterns:** "Be thoughtful" → ✅ "Apply 3-month rule when compressing"
375
+ ❌ **No Trigger:** Seed without context → ✅ Clear "when to apply"
376
+ ❌ **Not Testing:** Extract and forget → ✅ Apply, reflect, refine
377
+ ❌ **Over-Abstracting:** Theory without grounding → ✅ Concrete examples from experience
378
+
379
+ ---
380
+
381
+ ## Usage Instructions
382
+
383
+ 1. **Read this skill** before extracting seeds
384
+ 2. **Identify candidate patterns** from recent experiences
385
+ 3. **Test for reusability** (general enough, specific enough, grounded, has trigger)
386
+ 4. **Document using the template**
387
+ 5. **Apply in a new context** to test
388
+ 6. **Reflect and refine** based on outcomes
389
+ 7. **Share with others** when seeds prove valuable
390
+
391
+ ---
392
+
393
+ ## Skill Metadata
394
+
395
+ **Token Savings:** ~3,000-5,000 tokens per session (offload learnings to structured seeds instead of re-explaining)
396
+ **Quality Impact:** Ensures reusable patterns are captured and applied consistently
397
+ **Maintenance:** Update when new seeds emerge or existing seeds are refined
398
+
399
+ **Related Skills:**
400
+ - `specification-writer` - Seeds inform architectural decisions
401
+ - `memory-garden` - Seeds are extracted during memory compression
402
+ - `workspace-navigation` - Seeds are stored in shared workspace for collaboration
403
+
404
+ ---
405
+
406
+ **Last Updated:** 2026-02-02
407
+ **Maintained By:** Manus
408
+ **Status:** Active
409
+ ---
410
+
411
+ ## OpenClaw Tool Integration
412
+
413
+ When running inside the Dojo Genesis plugin:
414
+
415
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
416
+ 2. **During** the skill, follow the workflow steps documented above
417
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
418
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
419
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-seed-extraction",
3
+ "version": "1.0.0",
4
+ "description": "Extract reusable patterns from experiences",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "garden", "memory"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }