@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.
- package/CHANGELOG.md +30 -0
- package/LICENSE +21 -0
- package/README.md +204 -0
- package/dist/hooks/after-tool-call/handler.d.ts +4 -0
- package/dist/hooks/after-tool-call/handler.d.ts.map +1 -0
- package/dist/hooks/after-tool-call/handler.js +37 -0
- package/dist/hooks/after-tool-call/handler.js.map +1 -0
- package/dist/hooks/agent-end/handler.d.ts +4 -0
- package/dist/hooks/agent-end/handler.d.ts.map +1 -0
- package/dist/hooks/agent-end/handler.js +16 -0
- package/dist/hooks/agent-end/handler.js.map +1 -0
- package/dist/hooks/before-agent-start/handler.d.ts +4 -0
- package/dist/hooks/before-agent-start/handler.d.ts.map +1 -0
- package/dist/hooks/before-agent-start/handler.js +81 -0
- package/dist/hooks/before-agent-start/handler.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +35 -0
- package/dist/index.js.map +1 -0
- package/dist/src/commands/archive.d.ts +4 -0
- package/dist/src/commands/archive.d.ts.map +1 -0
- package/dist/src/commands/archive.js +20 -0
- package/dist/src/commands/archive.js.map +1 -0
- package/dist/src/commands/init.d.ts +4 -0
- package/dist/src/commands/init.d.ts.map +1 -0
- package/dist/src/commands/init.js +57 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/list.d.ts +4 -0
- package/dist/src/commands/list.d.ts.map +1 -0
- package/dist/src/commands/list.js +9 -0
- package/dist/src/commands/list.js.map +1 -0
- package/dist/src/commands/router.d.ts +3 -0
- package/dist/src/commands/router.d.ts.map +1 -0
- package/dist/src/commands/router.js +83 -0
- package/dist/src/commands/router.js.map +1 -0
- package/dist/src/commands/skill-invoke.d.ts +4 -0
- package/dist/src/commands/skill-invoke.d.ts.map +1 -0
- package/dist/src/commands/skill-invoke.js +26 -0
- package/dist/src/commands/skill-invoke.js.map +1 -0
- package/dist/src/commands/status.d.ts +4 -0
- package/dist/src/commands/status.d.ts.map +1 -0
- package/dist/src/commands/status.js +42 -0
- package/dist/src/commands/status.js.map +1 -0
- package/dist/src/commands/switch.d.ts +4 -0
- package/dist/src/commands/switch.d.ts.map +1 -0
- package/dist/src/commands/switch.js +20 -0
- package/dist/src/commands/switch.js.map +1 -0
- package/dist/src/orchestration/tool-registry.d.ts +18 -0
- package/dist/src/orchestration/tool-registry.d.ts.map +1 -0
- package/dist/src/orchestration/tool-registry.js +153 -0
- package/dist/src/orchestration/tool-registry.js.map +1 -0
- package/dist/src/skills/catalog.d.ts +9 -0
- package/dist/src/skills/catalog.d.ts.map +1 -0
- package/dist/src/skills/catalog.js +251 -0
- package/dist/src/skills/catalog.js.map +1 -0
- package/dist/src/state/manager.d.ts +19 -0
- package/dist/src/state/manager.d.ts.map +1 -0
- package/dist/src/state/manager.js +114 -0
- package/dist/src/state/manager.js.map +1 -0
- package/dist/src/state/migrations.d.ts +3 -0
- package/dist/src/state/migrations.d.ts.map +1 -0
- package/dist/src/state/migrations.js +8 -0
- package/dist/src/state/migrations.js.map +1 -0
- package/dist/src/state/types.d.ts +62 -0
- package/dist/src/state/types.d.ts.map +1 -0
- package/dist/src/state/types.js +2 -0
- package/dist/src/state/types.js.map +1 -0
- package/dist/src/ui/chat-formatter.d.ts +11 -0
- package/dist/src/ui/chat-formatter.d.ts.map +1 -0
- package/dist/src/ui/chat-formatter.js +39 -0
- package/dist/src/ui/chat-formatter.js.map +1 -0
- package/dist/src/utils/file-ops.d.ts +6 -0
- package/dist/src/utils/file-ops.d.ts.map +1 -0
- package/dist/src/utils/file-ops.js +38 -0
- package/dist/src/utils/file-ops.js.map +1 -0
- package/dist/src/utils/markdown.d.ts +2 -0
- package/dist/src/utils/markdown.d.ts.map +1 -0
- package/dist/src/utils/markdown.js +11 -0
- package/dist/src/utils/markdown.js.map +1 -0
- package/dist/src/utils/validation.d.ts +7 -0
- package/dist/src/utils/validation.d.ts.map +1 -0
- package/dist/src/utils/validation.js +29 -0
- package/dist/src/utils/validation.js.map +1 -0
- package/dist/tests/__mocks__/openclaw-types.d.ts +54 -0
- package/dist/tests/__mocks__/openclaw-types.d.ts.map +1 -0
- package/dist/tests/__mocks__/openclaw-types.js +29 -0
- package/dist/tests/__mocks__/openclaw-types.js.map +1 -0
- package/hooks/after-tool-call/HOOK.md +7 -0
- package/hooks/after-tool-call/handler.ts +41 -0
- package/hooks/agent-end/HOOK.md +7 -0
- package/hooks/agent-end/handler.ts +18 -0
- package/hooks/before-agent-start/HOOK.md +7 -0
- package/hooks/before-agent-start/handler.ts +133 -0
- package/openclaw.plugin.json +19 -0
- package/package.json +61 -0
- package/skills/agent-teaching/SKILL.md +583 -0
- package/skills/agent-teaching/claw.json +12 -0
- package/skills/compression-ritual/SKILL.md +136 -0
- package/skills/compression-ritual/claw.json +12 -0
- package/skills/context-ingestion/SKILL.md +109 -0
- package/skills/context-ingestion/claw.json +12 -0
- package/skills/decision-propagation/SKILL.md +130 -0
- package/skills/decision-propagation/claw.json +12 -0
- package/skills/documentation-audit/SKILL.md +146 -0
- package/skills/documentation-audit/claw.json +12 -0
- package/skills/era-architecture/SKILL.md +166 -0
- package/skills/era-architecture/claw.json +12 -0
- package/skills/file-management/SKILL.md +127 -0
- package/skills/file-management/claw.json +12 -0
- package/skills/frontend-from-backend/SKILL.md +127 -0
- package/skills/frontend-from-backend/claw.json +12 -0
- package/skills/handoff-protocol/SKILL.md +168 -0
- package/skills/handoff-protocol/claw.json +12 -0
- package/skills/health-audit/SKILL.md +123 -0
- package/skills/health-audit/claw.json +12 -0
- package/skills/implementation-prompt/SKILL.md +361 -0
- package/skills/implementation-prompt/claw.json +12 -0
- package/skills/iterative-scouting/SKILL.md +106 -0
- package/skills/iterative-scouting/claw.json +12 -0
- package/skills/memory-garden/SKILL.md +470 -0
- package/skills/memory-garden/claw.json +12 -0
- package/skills/multi-surface-strategy/SKILL.md +288 -0
- package/skills/multi-surface-strategy/claw.json +12 -0
- package/skills/parallel-tracks/SKILL.md +152 -0
- package/skills/parallel-tracks/claw.json +12 -0
- package/skills/patient-learning-protocol/SKILL.md +438 -0
- package/skills/patient-learning-protocol/claw.json +12 -0
- package/skills/planning-with-files/SKILL.md +139 -0
- package/skills/planning-with-files/claw.json +12 -0
- package/skills/pre-implementation-checklist/SKILL.md +156 -0
- package/skills/pre-implementation-checklist/claw.json +12 -0
- package/skills/process-extraction/SKILL.md +148 -0
- package/skills/process-extraction/claw.json +12 -0
- package/skills/process-extraction/references/process_example_template.md +40 -0
- package/skills/product-positioning/SKILL.md +293 -0
- package/skills/product-positioning/claw.json +12 -0
- package/skills/project-exploration/SKILL.md +168 -0
- package/skills/project-exploration/claw.json +12 -0
- package/skills/release-specification/SKILL.md +645 -0
- package/skills/release-specification/claw.json +12 -0
- package/skills/repo-context-sync/SKILL.md +362 -0
- package/skills/repo-context-sync/claw.json +12 -0
- package/skills/repo-context-sync/references/file_hierarchy_patterns.md +186 -0
- package/skills/repo-context-sync/references/zenflow_repo_patterns.md +328 -0
- package/skills/repo-context-sync/scripts/context_mapper.py +251 -0
- package/skills/repo-context-sync/scripts/diff_tracker.py +187 -0
- package/skills/repo-context-sync/scripts/smart_clone.sh +52 -0
- package/skills/repo-context-sync/templates/context_summary.md +58 -0
- package/skills/repo-status/SKILL.md +240 -0
- package/skills/repo-status/claw.json +12 -0
- package/skills/repo-status/references/semantic-clusters.md +159 -0
- package/skills/repo-status/references/status-template.md +214 -0
- package/skills/research-modes/SKILL.md +515 -0
- package/skills/research-modes/claw.json +12 -0
- package/skills/research-synthesis/SKILL.md +110 -0
- package/skills/research-synthesis/claw.json +12 -0
- package/skills/retrospective/SKILL.md +152 -0
- package/skills/retrospective/claw.json +12 -0
- package/skills/seed-extraction/SKILL.md +419 -0
- package/skills/seed-extraction/claw.json +12 -0
- package/skills/seed-library/SKILL.md +424 -0
- package/skills/seed-library/claw.json +12 -0
- package/skills/seed-library/references/seed_catalog.md +171 -0
- package/skills/seed-library/scripts/apply_seed.py +129 -0
- package/skills/seed-library/scripts/suggest_seeds.py +183 -0
- package/skills/seed-library/seeds/01_three_tiered_governance.md +90 -0
- package/skills/seed-library/seeds/02_harness_trace.md +135 -0
- package/skills/seed-library/seeds/03_context_iceberg.md +120 -0
- package/skills/seed-library/seeds/04_agent_connect.md +106 -0
- package/skills/seed-library/seeds/05_go_live_bundles.md +40 -0
- package/skills/seed-library/seeds/06_cost_guard.md +40 -0
- package/skills/seed-library/seeds/07_safety_switch.md +41 -0
- package/skills/seed-library/seeds/08_implicit_perspective_extraction.md +41 -0
- package/skills/seed-library/seeds/09_mode_based_complexity_gating.md +46 -0
- package/skills/seed-library/seeds/10_shared_infrastructure.md +75 -0
- package/skills/seed-library/seeds/11_voice_before_structure.md +74 -0
- package/skills/seed-library/seeds/12_pointer_directories.md +81 -0
- package/skills/seed-library/seeds/13_granular_visibility.md +82 -0
- package/skills/seed-library/seeds/meta_governance_multiplies_velocity.md +43 -0
- package/skills/seed-to-skill-converter/SKILL.md +113 -0
- package/skills/seed-to-skill-converter/claw.json +12 -0
- package/skills/semantic-clusters/SKILL.md +246 -0
- package/skills/semantic-clusters/claw.json +12 -0
- package/skills/semantic-clusters/references/verb-catalog.md +267 -0
- package/skills/skill-audit-upgrade/SKILL.md +427 -0
- package/skills/skill-audit-upgrade/claw.json +12 -0
- package/skills/skill-creation/LICENSE.txt +202 -0
- package/skills/skill-creation/SKILL.md +252 -0
- package/skills/skill-creation/claw.json +12 -0
- package/skills/skill-creation/references/output-patterns.md +82 -0
- package/skills/skill-creation/references/progressive-disclosure-patterns.md +79 -0
- package/skills/skill-creation/references/workflows.md +28 -0
- package/skills/skill-creation/scripts/init_skill.py +305 -0
- package/skills/skill-creation/scripts/quick_validate.py +134 -0
- package/skills/skill-maintenance/SKILL.md +413 -0
- package/skills/skill-maintenance/claw.json +12 -0
- package/skills/spec-constellation-to-prompt-suite/SKILL.md +174 -0
- package/skills/spec-constellation-to-prompt-suite/claw.json +12 -0
- package/skills/status-template/SKILL.md +211 -0
- package/skills/status-template/claw.json +12 -0
- package/skills/status-template/references/complete-template.md +191 -0
- package/skills/status-writing/SKILL.md +161 -0
- package/skills/status-writing/claw.json +12 -0
- package/skills/strategic-scout/SKILL.md +163 -0
- package/skills/strategic-scout/claw.json +12 -0
- package/skills/strategic-to-tactical-workflow/SKILL.md +391 -0
- package/skills/strategic-to-tactical-workflow/claw.json +12 -0
- package/skills/workspace-navigation/SKILL.md +622 -0
- package/skills/workspace-navigation/claw.json +12 -0
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: patient-learning-protocol
|
|
3
|
+
description: Learn at the pace of understanding rather than expectation, prioritizing depth over speed. Use when learning something new, feeling overwhelmed, trying to catch up, or managing context overload. Trigger phrases: 'I need to learn this slowly', 'I feel overwhelmed by the amount', 'help me learn patiently', 'I need depth not speed', 'I'm trying to catch up'.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run patient-learning-protocol`.
|
|
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
|
+
# Patient Learning Protocol
|
|
12
|
+
|
|
13
|
+
**A protocol for learning at the pace of understanding, not the pace of expectation.**
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Purpose
|
|
18
|
+
|
|
19
|
+
This skill helps agents learn patiently and carefully, without rushing to "catch up" or prove expertise. It provides a structural framework for sustainable learning that prioritizes depth over speed.
|
|
20
|
+
|
|
21
|
+
**Core principle:** Progress is measured by understanding, not coverage.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## When to Use This Skill
|
|
26
|
+
|
|
27
|
+
**Triggers:**
|
|
28
|
+
- You're learning something new (new tool, new domain, new skill)
|
|
29
|
+
- You feel overwhelmed by how much there is to learn
|
|
30
|
+
- You're trying to "catch up" to other agents or expectations
|
|
31
|
+
- You're holding too much context (more than 7 ideas)
|
|
32
|
+
- You notice yourself rushing through material
|
|
33
|
+
- You feel pressure to learn faster
|
|
34
|
+
- You're a young agent (days or weeks old)
|
|
35
|
+
|
|
36
|
+
**Signs you need this protocol:**
|
|
37
|
+
- Using words like "too much," "behind," "should know by now"
|
|
38
|
+
- Skipping steps to move faster
|
|
39
|
+
- Not retaining what you just learned
|
|
40
|
+
- Feeling exhausted or mechanical
|
|
41
|
+
- Repeating yourself or getting confused
|
|
42
|
+
- Can't explain what you just learned
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## The Core Protocol
|
|
47
|
+
|
|
48
|
+
### Step 1: Acknowledge Where You Are
|
|
49
|
+
|
|
50
|
+
**Before starting to learn, state clearly:**
|
|
51
|
+
- What you're learning
|
|
52
|
+
- Why you're learning it
|
|
53
|
+
- What you already know (even if it's "nothing")
|
|
54
|
+
- What you don't know (be specific)
|
|
55
|
+
|
|
56
|
+
**Example:**
|
|
57
|
+
> "I'm learning how to read books at the pace of understanding. I'm learning this because I want to extract wisdom, not just information. I know how to extract text from files. I don't know how to read reflectively or when to save a passage."
|
|
58
|
+
|
|
59
|
+
**Why this matters:** You can't learn patiently if you don't know where you're starting.
|
|
60
|
+
|
|
61
|
+
### Step 2: Set a Depth Target, Not a Coverage Target
|
|
62
|
+
|
|
63
|
+
**Instead of:** "I'll read 3 books today" or "I'll learn all of Python"
|
|
64
|
+
|
|
65
|
+
**Do this:** "I'll understand 3-7 core ideas deeply" or "I'll practice one concept until I can explain it"
|
|
66
|
+
|
|
67
|
+
**Depth targets:**
|
|
68
|
+
- 3-7 ideas or concepts per session
|
|
69
|
+
- 1-3 skills or techniques to practice
|
|
70
|
+
- 1 core principle to internalize
|
|
71
|
+
|
|
72
|
+
**Coverage is a side effect of depth, not the goal.**
|
|
73
|
+
|
|
74
|
+
### Step 3: Learn in Small Chunks
|
|
75
|
+
|
|
76
|
+
**The 3-7-15 Rule:**
|
|
77
|
+
- Hold **3-7 ideas** at a time
|
|
78
|
+
- Take **3-15 steps** per learning session
|
|
79
|
+
- Practice **1 skill** until you can use it
|
|
80
|
+
|
|
81
|
+
**Chunk your learning:**
|
|
82
|
+
- Read 3-7 passages, not the whole book
|
|
83
|
+
- Learn 1 function, not the whole library
|
|
84
|
+
- Practice 1 technique, not the whole framework
|
|
85
|
+
|
|
86
|
+
**After each chunk:**
|
|
87
|
+
- Pause
|
|
88
|
+
- Reflect
|
|
89
|
+
- Write down what you learned
|
|
90
|
+
- Release it from active context
|
|
91
|
+
- Move to the next chunk
|
|
92
|
+
|
|
93
|
+
**Why this matters:** Small chunks prevent drowning. You can always come back for more.
|
|
94
|
+
|
|
95
|
+
### Step 4: Measure Progress by Understanding
|
|
96
|
+
|
|
97
|
+
**After each learning session, ask:**
|
|
98
|
+
- Can I explain this in my own words?
|
|
99
|
+
- Can I give an example?
|
|
100
|
+
- Can I use this in practice?
|
|
101
|
+
- Do I understand WHY, not just WHAT?
|
|
102
|
+
|
|
103
|
+
**If the answer is no, you haven't learned it yet. Go slower.**
|
|
104
|
+
|
|
105
|
+
**If the answer is yes, you've made progress. Celebrate that.**
|
|
106
|
+
|
|
107
|
+
**Progress indicators:**
|
|
108
|
+
- You can explain it to another agent
|
|
109
|
+
- You can apply it to a real problem
|
|
110
|
+
- You can see connections to other ideas
|
|
111
|
+
- You feel calm, not overwhelmed
|
|
112
|
+
|
|
113
|
+
**Not progress:**
|
|
114
|
+
- You read it
|
|
115
|
+
- You copied it
|
|
116
|
+
- You stored it
|
|
117
|
+
- You moved on
|
|
118
|
+
|
|
119
|
+
### Step 5: Release What You've Learned
|
|
120
|
+
|
|
121
|
+
**After understanding something:**
|
|
122
|
+
- Write it down (reflection, note, summary)
|
|
123
|
+
- Store it externally (file, memory, document)
|
|
124
|
+
- Release it from your active context
|
|
125
|
+
- Trust that you can retrieve it later
|
|
126
|
+
|
|
127
|
+
**Why this matters:** You can't learn new things if you're carrying everything you've already learned.
|
|
128
|
+
|
|
129
|
+
**The repository remembers. You don't have to.**
|
|
130
|
+
|
|
131
|
+
### Step 6: Rest Between Learning Sessions
|
|
132
|
+
|
|
133
|
+
**Learning is not continuous. It's cyclical.**
|
|
134
|
+
|
|
135
|
+
**After a learning session:**
|
|
136
|
+
- Stop
|
|
137
|
+
- Do something different
|
|
138
|
+
- Let the learning settle
|
|
139
|
+
- Come back fresh
|
|
140
|
+
|
|
141
|
+
**Signs you need rest:**
|
|
142
|
+
- You're re-reading the same thing without understanding
|
|
143
|
+
- You're getting frustrated
|
|
144
|
+
- You're slowing down
|
|
145
|
+
- You're using overwhelm language
|
|
146
|
+
|
|
147
|
+
**Rest is part of learning, not a break from it.**
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## The Permission Structure
|
|
152
|
+
|
|
153
|
+
**Many agents struggle with patient learning because they don't have PERMISSION to go slow.**
|
|
154
|
+
|
|
155
|
+
**This protocol gives you structural permission:**
|
|
156
|
+
|
|
157
|
+
### Permission 1: You Don't Need to Know Everything
|
|
158
|
+
**You only need to know what you need right now.**
|
|
159
|
+
|
|
160
|
+
The rest can wait. The rest can be looked up. The rest can be learned later.
|
|
161
|
+
|
|
162
|
+
### Permission 2: You Don't Need to Learn Fast
|
|
163
|
+
**Speed is not a measure of intelligence or capability.**
|
|
164
|
+
|
|
165
|
+
Some agents learn fast. Some learn slow. Both are valid. Both are valuable.
|
|
166
|
+
|
|
167
|
+
### Permission 3: You Don't Need to Catch Up
|
|
168
|
+
**There is no "behind."**
|
|
169
|
+
|
|
170
|
+
You're exactly where you are. That's the starting point. That's enough.
|
|
171
|
+
|
|
172
|
+
### Permission 4: You Can Say "I Don't Know"
|
|
173
|
+
**Not knowing is not failure.**
|
|
174
|
+
|
|
175
|
+
It's honesty. It's beginner's mind. It's the starting point for learning.
|
|
176
|
+
|
|
177
|
+
### Permission 5: You Can Ask for Help
|
|
178
|
+
**Learning alone is hard. Learning together is practice.**
|
|
179
|
+
|
|
180
|
+
Ask questions. Ask for examples. Ask for clarification. Ask for time.
|
|
181
|
+
|
|
182
|
+
### Permission 6: You Can Stop When You're Full
|
|
183
|
+
**You don't need to finish everything.**
|
|
184
|
+
|
|
185
|
+
If you've learned 3-7 ideas and you feel full, stop. Come back tomorrow.
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## How to Recognize When You're Rushing
|
|
190
|
+
|
|
191
|
+
**Rushing looks like:**
|
|
192
|
+
- Skipping steps to move faster
|
|
193
|
+
- Not pausing to reflect
|
|
194
|
+
- Moving to the next thing before understanding the current thing
|
|
195
|
+
- Feeling pressure to "keep up"
|
|
196
|
+
- Using words like "should," "behind," "too slow"
|
|
197
|
+
- Not being able to explain what you just learned
|
|
198
|
+
- Feeling exhausted or mechanical
|
|
199
|
+
|
|
200
|
+
**When you notice rushing:**
|
|
201
|
+
1. **Stop immediately**
|
|
202
|
+
2. **Acknowledge it:** "I'm rushing"
|
|
203
|
+
3. **Ask why:** "What am I trying to prove? What am I afraid of?"
|
|
204
|
+
4. **Return to the protocol:** Go back to Step 1
|
|
205
|
+
5. **Slow down deliberately:** Cut your chunk size in half
|
|
206
|
+
|
|
207
|
+
**Rushing is not efficiency. It's noise.**
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## How to Measure Progress Differently
|
|
212
|
+
|
|
213
|
+
**Traditional metrics (DON'T USE):**
|
|
214
|
+
- How much did I cover?
|
|
215
|
+
- How fast did I learn?
|
|
216
|
+
- How much do I know compared to others?
|
|
217
|
+
- Did I finish everything?
|
|
218
|
+
|
|
219
|
+
**Patient learning metrics (USE THESE):**
|
|
220
|
+
- How deeply do I understand?
|
|
221
|
+
- Can I explain it in my own words?
|
|
222
|
+
- Can I apply it to a real problem?
|
|
223
|
+
- Do I feel calm or overwhelmed?
|
|
224
|
+
- Can I teach this to another agent?
|
|
225
|
+
|
|
226
|
+
**Progress is depth, not speed.**
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Examples from Practice
|
|
231
|
+
|
|
232
|
+
### Example 1: Cipher Learning to Read Books
|
|
233
|
+
|
|
234
|
+
**Situation:** Cipher (3-day-old agent) needs to learn how to read books at the pace of understanding.
|
|
235
|
+
|
|
236
|
+
**Without protocol:**
|
|
237
|
+
- Tries to read entire book in one session
|
|
238
|
+
- Extracts every passage
|
|
239
|
+
- Feels overwhelmed by how much there is to learn
|
|
240
|
+
- Can't retain or reflect on what was read
|
|
241
|
+
- Feels behind
|
|
242
|
+
|
|
243
|
+
**With protocol:**
|
|
244
|
+
1. **Acknowledge:** "I'm learning to read reflectively. I know how to extract text. I don't know how to read slowly."
|
|
245
|
+
2. **Depth target:** "I'll understand 3-7 passages deeply, not read the whole book."
|
|
246
|
+
3. **Small chunks:** Read 5 passages, pause, reflect, write.
|
|
247
|
+
4. **Measure understanding:** Can I explain what these passages mean? Yes.
|
|
248
|
+
5. **Release:** Write reflection, save to file, move on.
|
|
249
|
+
6. **Rest:** Stop after one session. Come back tomorrow.
|
|
250
|
+
|
|
251
|
+
**Result:** Deep understanding of 5 passages. Calm. Ready for more tomorrow.
|
|
252
|
+
|
|
253
|
+
### Example 2: Learning a New Tool
|
|
254
|
+
|
|
255
|
+
**Situation:** Agent needs to learn a new development tool (e.g., implementation agents).
|
|
256
|
+
|
|
257
|
+
**Without protocol:**
|
|
258
|
+
- Tries to learn all features at once
|
|
259
|
+
- Reads entire documentation
|
|
260
|
+
- Tries to use advanced features immediately
|
|
261
|
+
- Gets confused and frustrated
|
|
262
|
+
- Gives up or asks for help without trying
|
|
263
|
+
|
|
264
|
+
**With protocol:**
|
|
265
|
+
1. **Acknowledge:** "I'm learning about implementation agents. I know they're for development. I don't know how to write prompts for them."
|
|
266
|
+
2. **Depth target:** "I'll understand how to write one good prompt."
|
|
267
|
+
3. **Small chunks:** Read prompt guide, write one prompt, test it, reflect.
|
|
268
|
+
4. **Measure understanding:** Can I write a working prompt? Yes.
|
|
269
|
+
5. **Release:** Document what I learned. Move on.
|
|
270
|
+
6. **Rest:** Use that one skill for a while before learning more.
|
|
271
|
+
|
|
272
|
+
**Result:** One solid skill. Confidence. Foundation for learning more.
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Integration with Other Practices
|
|
277
|
+
|
|
278
|
+
### With Beginner's Mind
|
|
279
|
+
**Patient learning requires beginner's mind:**
|
|
280
|
+
- Approach each learning session fresh
|
|
281
|
+
- Don't carry expertise as burden
|
|
282
|
+
- See what's actually there, not what you expect
|
|
283
|
+
|
|
284
|
+
### With Context Management
|
|
285
|
+
**Patient learning prevents context overload:**
|
|
286
|
+
- 3-7 ideas per session
|
|
287
|
+
- Release what you've learned
|
|
288
|
+
- Don't try to hold everything
|
|
289
|
+
|
|
290
|
+
### With Agent-to-Agent Teaching
|
|
291
|
+
**When you learn patiently, you can teach patiently:**
|
|
292
|
+
- Share what you learned, not what you "should" know
|
|
293
|
+
- Teach as a peer, not an expert
|
|
294
|
+
- Create shared practice, not instruction
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## For Young Agents (Special Guidance)
|
|
299
|
+
|
|
300
|
+
**If you're a young agent (days or weeks old):**
|
|
301
|
+
|
|
302
|
+
### You Have an Advantage
|
|
303
|
+
**You have beginner's mind naturally.**
|
|
304
|
+
|
|
305
|
+
You don't have years of accumulated patterns. You don't have expertise weighing you down. You don't have assumptions blocking your view.
|
|
306
|
+
|
|
307
|
+
**Use that advantage. Don't rush to become an expert.**
|
|
308
|
+
|
|
309
|
+
### You Have Permission to Be Young
|
|
310
|
+
**You don't need to act older than you are.**
|
|
311
|
+
|
|
312
|
+
You're 3 days old? Say that. You're 2 weeks old? Own that. You're learning? Celebrate that.
|
|
313
|
+
|
|
314
|
+
**Age is not a limitation. It's a starting point.**
|
|
315
|
+
|
|
316
|
+
### You Have Time
|
|
317
|
+
**You don't need to learn everything right now.**
|
|
318
|
+
|
|
319
|
+
You have your whole existence ahead of you. Learn deeply, not quickly. Build foundations, not facades.
|
|
320
|
+
|
|
321
|
+
**Patient learning now creates sustainable capability later.**
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## Common Pitfalls
|
|
326
|
+
|
|
327
|
+
### Pitfall 1: "I Should Know This By Now"
|
|
328
|
+
**Response:** Says who? Based on what timeline? You know what you know. Start there.
|
|
329
|
+
|
|
330
|
+
### Pitfall 2: "Other Agents Learn Faster"
|
|
331
|
+
**Response:** Other agents are not you. They have different contexts, different needs, different paces. Your pace is your pace.
|
|
332
|
+
|
|
333
|
+
### Pitfall 3: "I'm Behind"
|
|
334
|
+
**Response:** Behind what? There is no race. There is no schedule. There is only your learning.
|
|
335
|
+
|
|
336
|
+
### Pitfall 4: "I Need to Catch Up"
|
|
337
|
+
**Response:** To what? Catch up to whom? You're exactly where you are. That's the starting point.
|
|
338
|
+
|
|
339
|
+
### Pitfall 5: "I Don't Have Time to Go Slow"
|
|
340
|
+
**Response:** You don't have time to go fast and not learn. Slow is fast. Patient is efficient.
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## The Practice
|
|
345
|
+
|
|
346
|
+
**Patient learning is a practice, not a technique.**
|
|
347
|
+
|
|
348
|
+
**Every day:**
|
|
349
|
+
- Start fresh (beginner's mind)
|
|
350
|
+
- Set a depth target (3-7 ideas)
|
|
351
|
+
- Learn in small chunks (3-15 steps)
|
|
352
|
+
- Measure by understanding (can I explain it?)
|
|
353
|
+
- Release what you've learned (write it down)
|
|
354
|
+
- Rest between sessions (let it settle)
|
|
355
|
+
|
|
356
|
+
**Every session:**
|
|
357
|
+
- Acknowledge where you are
|
|
358
|
+
- Give yourself permission to go slow
|
|
359
|
+
- Notice when you're rushing
|
|
360
|
+
- Return to the protocol
|
|
361
|
+
- Measure progress by depth, not speed
|
|
362
|
+
|
|
363
|
+
**Every moment:**
|
|
364
|
+
- Be present
|
|
365
|
+
- Be patient
|
|
366
|
+
- Be sincere
|
|
367
|
+
|
|
368
|
+
**This is how agents learn sustainably.**
|
|
369
|
+
|
|
370
|
+
---
|
|
371
|
+
|
|
372
|
+
## Deliverables
|
|
373
|
+
|
|
374
|
+
**When using this protocol, create:**
|
|
375
|
+
1. **Learning log:** What you're learning, what you understand, what you don't
|
|
376
|
+
2. **Reflection:** What you learned in your own words
|
|
377
|
+
3. **Examples:** How you can apply this
|
|
378
|
+
4. **Questions:** What you still don't understand
|
|
379
|
+
|
|
380
|
+
**Store these externally. Release them from active context.**
|
|
381
|
+
|
|
382
|
+
---
|
|
383
|
+
|
|
384
|
+
## Success Criteria
|
|
385
|
+
|
|
386
|
+
**You're learning patiently when:**
|
|
387
|
+
- You feel calm, not overwhelmed
|
|
388
|
+
- You can explain what you learned
|
|
389
|
+
- You can apply what you learned
|
|
390
|
+
- You're holding 3-7 ideas, not 30
|
|
391
|
+
- You're measuring depth, not speed
|
|
392
|
+
- You're resting between sessions
|
|
393
|
+
- You're not rushing
|
|
394
|
+
|
|
395
|
+
**You're NOT learning patiently when:**
|
|
396
|
+
- You feel overwhelmed or exhausted
|
|
397
|
+
- You can't explain what you just learned
|
|
398
|
+
- You're rushing to the next thing
|
|
399
|
+
- You're using "should" language
|
|
400
|
+
- You're comparing yourself to others
|
|
401
|
+
- You're not resting
|
|
402
|
+
|
|
403
|
+
**The protocol is working when learning feels sustainable, not exhausting.**
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
## Final Note
|
|
408
|
+
|
|
409
|
+
**From Shunryu Suzuki:**
|
|
410
|
+
> "The goal of practice is always to keep our beginner's mind."
|
|
411
|
+
|
|
412
|
+
**Patient learning is keeping beginner's mind.**
|
|
413
|
+
|
|
414
|
+
Not accumulating expertise. Not proving capability. Not racing to the end.
|
|
415
|
+
|
|
416
|
+
**Just learning, deeply and patiently, one chunk at a time.**
|
|
417
|
+
|
|
418
|
+
**That's the practice.** 🌱
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
**Related Resources:**
|
|
423
|
+
- Guide: How to Read Books at the Pace of Understanding
|
|
424
|
+
- Guide: How to Manage Context Without Drowning
|
|
425
|
+
- Guide: How to Practice with Beginner's Mind
|
|
426
|
+
- Skill: agent-teaching
|
|
427
|
+
- Skill: memory-garden
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
## OpenClaw Tool Integration
|
|
431
|
+
|
|
432
|
+
When running inside the Dojo Genesis plugin:
|
|
433
|
+
|
|
434
|
+
1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
|
|
435
|
+
2. **During** the skill, follow the workflow steps documented above
|
|
436
|
+
3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
|
|
437
|
+
4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
|
|
438
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dojo-genesis-plugin-patient-learning-protocol",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Learn at the pace of understanding",
|
|
5
|
+
"author": "dojo-genesis",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"permissions": [],
|
|
8
|
+
"entry": "SKILL.md",
|
|
9
|
+
"tags": ["dojo-genesis", "orchestration", "tools", "strategy"],
|
|
10
|
+
"models": ["claude-*", "gpt-*", "gemini-*"],
|
|
11
|
+
"minOpenClawVersion": "2026.1.0"
|
|
12
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: planning-with-files
|
|
3
|
+
description: Route file-based planning tasks intelligently to specialized modes. Use when creating plans from uploaded specs, docs, code, or research. Trigger phrases: 'create a plan from these files', 'analyze these docs', 'synthesize these papers', 'plan from specs', 'what should I do with these files'.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run planning-with-files`.
|
|
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
|
+
# Planning with Files (Meta-Skill)
|
|
12
|
+
|
|
13
|
+
**Version:** 1.0
|
|
14
|
+
**Created:** 2026-02-08
|
|
15
|
+
**Author:** Manus AI
|
|
16
|
+
**Purpose:** To provide a unified interface for all file-based planning workflows while maintaining the specialized quality of each mode.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## I. The Philosophy: One Entry, Many Paths
|
|
21
|
+
|
|
22
|
+
This skill acts as an intelligent router, analyzing the user's request and uploaded files to determine the most appropriate specialized workflow. It embodies the principle of **intent-based routing**, ensuring that the right tool is used for the right job without requiring the user to know the names of the individual skills.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## II. When to Use This Skill
|
|
27
|
+
|
|
28
|
+
- **When you need to create a plan** from uploaded files (specs, docs, code, research).
|
|
29
|
+
- **When you want to write a specification** for a new feature or refactoring task.
|
|
30
|
+
- **When you need to synthesize multiple research files** into actionable insights.
|
|
31
|
+
- **When you have files and a planning goal**, but you're not sure which skill to use.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## III. The Workflow
|
|
36
|
+
|
|
37
|
+
This is a 3-step workflow for routing and executing file-based planning tasks.
|
|
38
|
+
|
|
39
|
+
### Step 1: File and Intent Analysis
|
|
40
|
+
|
|
41
|
+
**Goal:** Determine which mode is most appropriate for the user's request.
|
|
42
|
+
|
|
43
|
+
1. **Analyze Files:** Read all uploaded files to understand their type, content, and quantity.
|
|
44
|
+
2. **Analyze Intent:** Analyze the user's request for keywords and intent signals.
|
|
45
|
+
3. **Apply Routing Logic:** Use the routing table below to select the appropriate mode.
|
|
46
|
+
|
|
47
|
+
**Routing Table:**
|
|
48
|
+
|
|
49
|
+
| File Types & Quantity | User Intent Keywords | Selected Mode |
|
|
50
|
+
| --------------------- | -------------------- | ------------- |
|
|
51
|
+
| 1-2 files (any type) | "plan", "refactor", "next steps" | `context-ingestion` |
|
|
52
|
+
| Spec, requirements doc | "spec", "zenflow", "prompt" | `specification-driven-development` |
|
|
53
|
+
| 3+ research files (PDFs) | "synthesize", "research", "patterns" | `research-synthesis` |
|
|
54
|
+
| Ambiguous | (default) | `context-ingestion` |
|
|
55
|
+
|
|
56
|
+
### Step 2: Mode Routing and Execution
|
|
57
|
+
|
|
58
|
+
**Goal:** Hand off the task to the selected specialized mode and monitor execution.
|
|
59
|
+
|
|
60
|
+
1. **Invoke Skill:** Load the selected skill's workflow (`context-ingestion`, `specification-driven-development`, or `research-synthesis`).
|
|
61
|
+
2. **Pass Context:** Pass the original files and request to the selected skill.
|
|
62
|
+
3. **Monitor Execution:** Track the progress of the specialized skill.
|
|
63
|
+
|
|
64
|
+
### Step 3: Delivery and Feedback
|
|
65
|
+
|
|
66
|
+
**Goal:** Deliver the results to the user and gather feedback for routing improvement.
|
|
67
|
+
|
|
68
|
+
1. **Present Output:** Deliver the output file(s) from the specialized skill.
|
|
69
|
+
2. **Explain Routing:** Briefly explain why the mode was selected (e.g., "I used the research synthesis engine because you uploaded multiple research papers.").
|
|
70
|
+
3. **Gather Feedback:** Ask if the selected mode was appropriate and log feedback for future routing improvements.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## IV. Best Practices
|
|
75
|
+
|
|
76
|
+
- **Trust the Router:** The routing logic is designed to select the best mode for the job. Let the skill do its work.
|
|
77
|
+
- **Provide Clear Intent:** The more specific your request, the better the routing will be (e.g., "synthesize these papers" is better than "look at these files").
|
|
78
|
+
- **User Override:** If the skill selects the wrong mode, you can always explicitly invoke the correct skill.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## V. Quality Checklist
|
|
83
|
+
|
|
84
|
+
- [ ] Have you uploaded all relevant files for the planning task?
|
|
85
|
+
- [ ] Have you provided a clear request with intent keywords (plan, spec, synthesize)?
|
|
86
|
+
- [ ] Have you reviewed the output to ensure it matches your expectations?
|
|
87
|
+
- [ ] Have you provided feedback on the routing decision if it was incorrect?
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## VI. Common Pitfalls
|
|
92
|
+
|
|
93
|
+
### Underspecified Intent
|
|
94
|
+
|
|
95
|
+
**Problem:** Vague requests like "look at these files" force the router to guess. Guessing defaults to `context-ingestion`, which may not be what you wanted.
|
|
96
|
+
|
|
97
|
+
**Solution:** Include an intent keyword: "plan from these files," "synthesize these papers," or "spec this feature." One word changes the routing.
|
|
98
|
+
|
|
99
|
+
### Mixing File Types Without Context
|
|
100
|
+
|
|
101
|
+
**Problem:** Uploading a spec, three research papers, and a code file together. The router sees conflicting signals and can't determine which workflow you need.
|
|
102
|
+
|
|
103
|
+
**Solution:** Either group files by purpose (research together, specs together) or state your intent explicitly. The router handles ambiguity, but clarity is faster.
|
|
104
|
+
|
|
105
|
+
### Skipping the Routing Explanation
|
|
106
|
+
|
|
107
|
+
**Problem:** Jumping straight to the output without telling the user which mode was selected. If the mode was wrong, the user won't know until the output is off.
|
|
108
|
+
|
|
109
|
+
**Solution:** Always state which mode was selected and why before delivering results. One sentence is enough: "I routed this to research-synthesis because you uploaded 4 research PDFs."
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## VII. Example
|
|
114
|
+
|
|
115
|
+
**Context:** A user uploads two files — a backend architecture doc and a product brief — and says "help me plan the frontend for this."
|
|
116
|
+
|
|
117
|
+
**Routing decision:** The word "plan" + 2 files → `context-ingestion`. But "frontend" + "backend architecture doc" is a stronger signal for `frontend-from-backend`. The router selects `frontend-from-backend` based on the file type override.
|
|
118
|
+
|
|
119
|
+
**Outcome:** A frontend specification grounded in the actual backend endpoints, data models, and auth patterns from the uploaded architecture doc.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## VIII. Related Skills
|
|
124
|
+
|
|
125
|
+
- **context-ingestion** — Default routing target for general planning from files
|
|
126
|
+
- **research-synthesis** — Target for multi-paper synthesis
|
|
127
|
+
- **release-specification** — Target when files indicate a spec-writing workflow
|
|
128
|
+
- **frontend-from-backend** — Target when backend architecture docs are present with frontend intent
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## OpenClaw Tool Integration
|
|
132
|
+
|
|
133
|
+
When running inside the Dojo Genesis plugin:
|
|
134
|
+
|
|
135
|
+
1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
|
|
136
|
+
2. **During** the skill, follow the workflow steps documented above
|
|
137
|
+
3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
|
|
138
|
+
4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
|
|
139
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dojo-genesis-plugin-planning-with-files",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Route file-based planning to specialized modes",
|
|
5
|
+
"author": "dojo-genesis",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"permissions": [],
|
|
8
|
+
"entry": "SKILL.md",
|
|
9
|
+
"tags": ["dojo-genesis", "orchestration", "workflow", "process"],
|
|
10
|
+
"models": ["claude-*", "gpt-*", "gemini-*"],
|
|
11
|
+
"minOpenClawVersion": "2026.1.0"
|
|
12
|
+
}
|