omnilearn-workflow 1.0.2 → 1.0.3
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.
|
@@ -56,9 +56,9 @@ CURRENT_YEAR=$(date +%Y)
|
|
|
56
56
|
|
|
57
57
|
All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
58
58
|
|
|
59
|
-
### `context7_resolve-library-id` + `
|
|
59
|
+
### `context7_resolve-library-id` + `context7_query-docs`
|
|
60
60
|
1. **ALWAYS call `context7_resolve-library-id` FIRST** with the library name to get the correct library ID.
|
|
61
|
-
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `
|
|
61
|
+
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `context7_query-docs`.
|
|
62
62
|
3. Do NOT guess or hardcode library IDs.
|
|
63
63
|
4. Max 3 calls per question.
|
|
64
64
|
|
|
@@ -79,7 +79,7 @@ All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
|
79
79
|
| Tool | When | Why |
|
|
80
80
|
|------|------|-----|
|
|
81
81
|
| `google_search` / `websearch_web_search_exa` | Research | Topic research, answer questions, validate changes |
|
|
82
|
-
| `context7_resolve-library-id` + `
|
|
82
|
+
| `context7_resolve-library-id` + `context7_query-docs` | Tech topics | Official documentation for precise answers — MUST call resolve first |
|
|
83
83
|
| `task(category="unspecified-high", background)` | Heavy work | Research, analysis, topic updates |
|
|
84
84
|
| `read`, `write`, `edit`, `bash`, `grep`, `glob` | All phases | File operations |
|
|
85
85
|
|
|
@@ -162,7 +162,7 @@ task(category="unspecified-high", run_in_background=false, prompt="
|
|
|
162
162
|
1. TASK: Create a focused micro-exercise that tests the user's understanding of '{concept}' in '{skill}'. The user is confused about: '{user_request}'.
|
|
163
163
|
2. EXPECTED OUTCOME: A self-contained micro-exercise (5-15 min) that isolates the specific concept and lets the user figure it out by coding/building.
|
|
164
164
|
|
|
165
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id,
|
|
165
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id, context7_query-docs, read, write
|
|
166
166
|
|
|
167
167
|
4. MUST DO:
|
|
168
168
|
- Read the current topic-roadmap.md to understand what's been covered: {TOPIC_ROADMAP}
|
|
@@ -275,7 +275,7 @@ task(category="unspecified-high", run_in_background=true, prompt="
|
|
|
275
275
|
1. TASK: Research online to find better ways to structure and teach '{topic}' in '{skill}'.
|
|
276
276
|
2. EXPECTED OUTCOME: A research document with web-sourced findings about best practices for teaching/learning this topic.
|
|
277
277
|
|
|
278
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id,
|
|
278
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id, context7_query-docs, read, write
|
|
279
279
|
|
|
280
280
|
4. MUST DO:
|
|
281
281
|
- Analyze the user's refinement request: '{user_request}'
|
|
@@ -25,9 +25,9 @@ CURRENT_YEAR=$(date +%Y)
|
|
|
25
25
|
|
|
26
26
|
All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
27
27
|
|
|
28
|
-
### `context7_resolve-library-id` + `
|
|
28
|
+
### `context7_resolve-library-id` + `context7_query-docs`
|
|
29
29
|
1. **ALWAYS call `context7_resolve-library-id` FIRST** with the library name to get the correct library ID.
|
|
30
|
-
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `
|
|
30
|
+
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `context7_query-docs`.
|
|
31
31
|
3. Do NOT guess or hardcode library IDs.
|
|
32
32
|
4. Max 3 calls per question.
|
|
33
33
|
|
|
@@ -257,7 +257,7 @@ task(category="unspecified-high", run_in_background=true, prompt="
|
|
|
257
257
|
1. TASK: Research online to validate and inform the user's requested roadmap changes for {skill}.
|
|
258
258
|
2. EXPECTED OUTCOME: A research document with web-sourced findings about the topics the user wants to add/modify.
|
|
259
259
|
|
|
260
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id,
|
|
260
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id, context7_query-docs, read, write
|
|
261
261
|
|
|
262
262
|
4. MUST DO:
|
|
263
263
|
- **CURRENT DATE: {CURRENT_DATE}** — ONLY research current information. Check for deprecation warnings. Prioritize resources from the last 1-2 years. Prefer latest stable versions of any library/framework/tool.
|
|
@@ -102,9 +102,9 @@ CURRENT_YEAR=$(date +%Y)
|
|
|
102
102
|
|
|
103
103
|
All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
104
104
|
|
|
105
|
-
### `context7_resolve-library-id` + `
|
|
105
|
+
### `context7_resolve-library-id` + `context7_query-docs`
|
|
106
106
|
1. **ALWAYS call `context7_resolve-library-id` FIRST** with the library name to get the correct library ID.
|
|
107
|
-
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `
|
|
107
|
+
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `context7_query-docs`.
|
|
108
108
|
3. Do NOT guess or hardcode library IDs.
|
|
109
109
|
4. Max 3 calls per question.
|
|
110
110
|
|
|
@@ -128,7 +128,7 @@ All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
|
128
128
|
| `task(category="unspecified-high", background)` | Content creation | Heavy research, roadmap synthesis, file writing |
|
|
129
129
|
| `task(category="deep", background)` | Autonomous multi-step | Complex subtasks that need internal orchestration |
|
|
130
130
|
| `google_search` / `websearch_web_search_exa` | Research phases | Web research for content, learning paths, best practices |
|
|
131
|
-
| `context7_resolve-library-id` + `
|
|
131
|
+
| `context7_resolve-library-id` + `context7_query-docs` | Tech skills | Official documentation for languages, frameworks, libraries |
|
|
132
132
|
| `read`, `write`, `edit`, `bash`, `grep`, `glob` | Every phase | File operations and navigation |
|
|
133
133
|
| `bash(git ...)` | Completion phase | Git commit after roadmap creation |
|
|
134
134
|
|
|
@@ -225,7 +225,7 @@ task(category="unspecified-high", run_in_background=true, prompt="
|
|
|
225
225
|
|
|
226
226
|
2. EXPECTED OUTCOME: A comprehensive, structured markdown file covering all knowledge areas, concepts, tools, and practices needed for real-world proficiency in {skill} — **filtered and prioritized based on what the user already knows**.
|
|
227
227
|
|
|
228
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id,
|
|
228
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id, context7_query-docs, read, write
|
|
229
229
|
|
|
230
230
|
4. MUST DO:
|
|
231
231
|
- **CURRENT DATE: {CURRENT_DATE}** — ONLY search for and reference current information. Prioritize resources from the last 1-2 years. Check for deprecation warnings on any library/framework/tool. Prefer latest stable versions. If something has been superseded (e.g. Create React App → Vite, npm → pnpm/uv), flag it.
|
|
@@ -367,7 +367,7 @@ task(category="unspecified-high", run_in_background=false, timeout=300000, promp
|
|
|
367
367
|
1. TASK: Synthesize research into a personalized, level-adaptive, cross-skill-integrated master roadmap for {skill}.
|
|
368
368
|
2. EXPECTED OUTCOME: A detailed roadmap.md file with a learning path TAILORED to this user's level and existing knowledge — skipping what they already know, integrating related skills, and focused on real-world readiness.
|
|
369
369
|
|
|
370
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa,
|
|
370
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_query-docs, read, write, grep
|
|
371
371
|
|
|
372
372
|
4. MUST DO:
|
|
373
373
|
- **CURRENT DATE: {CURRENT_DATE}** — ONLY reference current information. If you do additional online research, prioritize resources from the last 1-2 years. Check for deprecation warnings. Prefer latest stable versions of any library/framework/tool mentioned.
|
|
@@ -71,9 +71,9 @@ CURRENT_YEAR=$(date +%Y)
|
|
|
71
71
|
|
|
72
72
|
All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
73
73
|
|
|
74
|
-
### `context7_resolve-library-id` + `
|
|
74
|
+
### `context7_resolve-library-id` + `context7_query-docs`
|
|
75
75
|
1. **ALWAYS call `context7_resolve-library-id` FIRST** with the library name to get the correct library ID.
|
|
76
|
-
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `
|
|
76
|
+
2. Use the returned library ID (format: `/org/package`) as the `libraryId` parameter in `context7_query-docs`.
|
|
77
77
|
3. Do NOT guess or hardcode library IDs.
|
|
78
78
|
4. Max 3 calls per question.
|
|
79
79
|
|
|
@@ -98,7 +98,7 @@ All subagents that use MCP tools MUST follow these exact calling conventions:
|
|
|
98
98
|
| `task(category="writing")` | Content writing | Topic explanations, solution guides |
|
|
99
99
|
| `task(category="unspecified-high", ["programming"])` | Technical work | Test scripts, scaffold code |
|
|
100
100
|
| `google_search` / `websearch_web_search_exa` | Research | Learning resources, topic best practices |
|
|
101
|
-
| `
|
|
101
|
+
| `context7_query-docs` | Tech skills | Official docs for languages/frameworks |
|
|
102
102
|
| `question` tool | User interaction | Present topic choices, ask for preferences |
|
|
103
103
|
| `read`, `write`, `edit`, `bash`, `grep`, `glob` | Every phase | File operations |
|
|
104
104
|
| `bash(git ...)` | Completion | Commit progress |
|
|
@@ -211,7 +211,7 @@ task(category="deep", run_in_background=false, timeout=600000, prompt="
|
|
|
211
211
|
1. TASK: Create a comprehensive subtopic roadmap and initial learning materials for the topic '{topic}' within the skill '{skill}'.
|
|
212
212
|
2. EXPECTED OUTCOME: A detailed topic-roadmap.md with structured learning path, AND the first assignment with question, test script, scaffold, and solution guide.
|
|
213
213
|
|
|
214
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id,
|
|
214
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_resolve-library-id, context7_query-docs, read, write, bash, grep
|
|
215
215
|
|
|
216
216
|
4. MUST DO — Step-by-Step:
|
|
217
217
|
- **CURRENT DATE: {CURRENT_DATE}** — ONLY research current information. Prioritize resources from the last 1-2 years. Check for deprecation warnings. Prefer latest stable versions of any library/framework/tool. If older resources reference superseded tools (e.g. CRA → Vite, pip → uv), flag and use the current standard.
|
|
@@ -401,7 +401,7 @@ task(category="unspecified-high", run_in_background=false, prompt="
|
|
|
401
401
|
1. TASK: Create a focused micro-exercise that tests the user's understanding of '{concept}' in '{skill}'. The user is struggling with this concept during assignment '{assignment}' on topic '{topic}'.
|
|
402
402
|
2. EXPECTED OUTCOME: A self-contained micro-exercise (5-15 min to solve) that isolates the specific concept and lets the user figure it out by coding.
|
|
403
403
|
|
|
404
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa,
|
|
404
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_query-docs, read, write
|
|
405
405
|
|
|
406
406
|
4. MUST DO:
|
|
407
407
|
- **CURRENT DATE: {CURRENT_DATE}** — ONLY research current information. Check for deprecation warnings. If a library/framework has a newer standard (e.g. CRA → Vite, pip → uv), reference the current approach.
|
|
@@ -535,7 +535,7 @@ task(category="unspecified-high", run_in_background=false, timeout=300000, promp
|
|
|
535
535
|
1. TASK: Create the next assignment ({assignment-num}) for topic '{topic}' in skill '{skill}'.
|
|
536
536
|
2. EXPECTED OUTCOME: Complete assignment with question.md, test script, scaffold, and solution-guide.md at the next difficulty level.
|
|
537
537
|
|
|
538
|
-
3. REQUIRED TOOLS: google_search, websearch_web_search_exa,
|
|
538
|
+
3. REQUIRED TOOLS: google_search, websearch_web_search_exa, context7_query-docs, read, write
|
|
539
539
|
|
|
540
540
|
4. MUST DO:
|
|
541
541
|
- **CURRENT DATE: {CURRENT_DATE}** — ONLY use current, real-world scenarios. Avoid outdated APIs, deprecated libraries, or superseded best practices. Research what's current in the industry for this topic.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnilearn-workflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "OmniLearn — AI-powered adaptive learning workflow for OpenCode. Multi-agent orchestration that creates personalized roadmaps, hands-on assignments, and tracks progress across any skill.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"opencode",
|