Knowledge map
Skill Orkas-AI/Orkas-Awesome-AgentSkills/education/skills/knowledge-map
Curated Orkas agents and skills for education, product development, content creation, data analysis, office automation, and e-commerce workflows.
npx -y skills add Orkas-AI/Orkas-Awesome-AgentSkills --skill knowledge-mapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
7.9 KB, as published. Nobody here has run it
knowledge-map
Guide-and-script skill for building course knowledge maps. Use it to turn a course topic, syllabus, textbook outline, notes, or teaching materials into a structured framework, key concept explanations, concept dependencies, and optional Markdown / Markmap / Mermaid / OPML / HTML outputs.
This skill is not a tutor, homework helper, practice-question generator, or long-term study planner. It organizes what a course contains and how concepts relate; it does not teach a live lesson, solve exercises, generate full quizzes, or schedule a study calendar.
When to use
Use this skill when the user asks for:
- A course knowledge framework, knowledge map, concept map, syllabus map, or mind map.
- A structured outline from a textbook table of contents, course notes, lecture slides, Markdown, DOCX, or pasted text.
- Key concepts, prerequisite relationships, course learning order, or "what should I learn first?"
- A compact framework plus deeper explanations of selected nodes.
- Exportable course maps in Markdown, Markmap, Mermaid, OPML, or an HTML report.
Do not use this skill for:
- One-off concept tutoring or Socratic explanation.
- Homework solving, answer checking, or quiz sessions.
- Creating retrieval-practice question sets.
- Full study schedules, reminders, check-ins, or weekly plans.
- Multi-course comparison in one pass. Ask the user to split by course.
- Video/audio processing. Ask the user to provide text, transcript, outline, or notes first.
How to call
-
Identify the input mode:
topic_only: the user provides only a course topic.material_first: the user provides syllabus/notes/materials but no strong topic.hybrid: the user provides both topic and materials.
-
If the request is
topic_onlyfor a broad common course, warn that the map will be AI-inferred and ask whether the user wants to continue, provide materials, or cancel. -
Ask whether the user wants a compact map, key-node explanations, or deeper node explanations when the requested depth is unclear. Default to compact map plus key-node explanations when materials are available.
-
For structured file/material input, create an
input.jsonmatchingreferences/input-schema.md. Usescripts/validate_input.pyto validate mode, depth, preferences, and warnings. -
When materials are Markdown, TXT, pasted text, or DOCX, use
scripts/parse_outline.pyto extract the heading stream before building the map. If the parser rejects the material type or finds no headings, ask for cleaner text or continue in topic-only mode only after user confirmation. -
Generate the knowledge tree with
references/framework-rubric.mdandreferences/prompt-templates.md. Keep total nodes at or below 100 and levels at or below 5. Use one root node and stable node ids such asn0,n1,n1.1, andn1.1.1. -
For guided/deep outputs, choose 5-10 high-value nodes unless the user requested a specific focus. Write useful explanations, examples, core points, and common confusions. Do not add explanations when the user asked for a map only.
-
For concept dependencies, use
references/concept-dependency-taxonomy.md. Output only concrete, useful relations. Avoid vague links such as "A and B are related." Keep relation count within the configured budget. -
Assemble and validate structured output with
scripts/assemble_result.py. Usereferences/output-schema.mdas the contract. -
When user materials are available, run
scripts/verify_provenance.py. If many user-material nodes fail provenance matching, pause and ask whether to provide better materials, accept AI-inferred labels, or narrow the material range. -
Render requested formats with
scripts/render_outputs.py. Default to Markdown plus Markmap when the user does not specify a format. Offer HTML only when useful for browsing or sharing.
Return format
For a clarification or safety checkpoint:
**Knowledge Map Scope**
- Course/topic:
- Input mode:
- Depth:
- Output formats:
- Risk/limit:
**Please choose**
1. Continue with AI-inferred map
2. Provide syllabus/notes first
3. Narrow the course scope
For a normal response:
**Knowledge Map**
- Course:
- Source mode:
- Depth:
- Nodes:
- Outputs:
**Framework overview**
[course tree]
**Key nodes**
[guided explanations when requested]
**Concept dependencies**
[typed dependency table when requested]
**Learning route**
[what to learn first, what depends on what, and where to review]
**Files**
- [generated files, if rendered]
For script-backed workflows, include the generated output directory and the key files:
**Generated files**
- `result.json`
- `framework.md`
- `framework.markmap.html`
- `framework.mermaid.md`
- `framework.opml`
- `concept-dependencies.md`
- `provenance-audit.json`
- `report.html` when requested
External dependencies
- Python 3 standard library for included scripts.
- No fixed third-party Python packages are required by the included scripts.
- Markmap HTML uses CDN loading when rendered by
scripts/render_outputs.py; if CDN is unavailable, provide Markdown or Mermaid as the stable fallback. - The current environment must be able to read user-provided local files before file-backed parsing can run.
Limits and known issues
- Topic-only maps are AI-inferred and may omit or mis-order course content. Always label this clearly.
- The skill handles one course per run. Split multiple courses into separate maps.
- Keep generated maps at or below 100 nodes and 5 levels unless the user explicitly agrees to split the course.
- PDF/image/webpage/audio/video inputs require preprocessed text or a reliable extractor outside the core script set.
- Do not silently continue when OCR or parsed outline quality is poor.
- Do not promise that the map matches a specific curriculum unless the user supplies that syllabus or textbook outline.
- Do not expose internal audit terms such as n-gram match or provenance failure in user-facing reports unless the user asks for the audit details.
Full examples
Example 1: Topic-only framework
User:
Help me make a knowledge framework for linear algebra.
Assistant should:
- Warn that no syllabus was provided, so the map will be AI-inferred.
- Ask whether to continue, provide materials, or narrow the topic.
- If the user continues, produce a compact framework and clearly label it as inferred.
Example 2: Syllabus to map
User:
Here is my machine learning syllabus. Turn it into a mind map and tell me what to learn first.
Assistant should:
- Parse the syllabus headings.
- Build a material-first course tree.
- Add key-node explanations for high-value concepts.
- Add prerequisite dependencies if useful.
- Render Markdown and Markmap outputs.
Example 3: Focused concept dependencies
User:
Map the dependencies among calculus limits, derivatives, integrals, series, and differential equations.
Assistant should:
- Treat this as a focused topic-only map.
- Keep node count small.
- Emphasize prerequisite and application relations.
- Explain why each dependency matters for learning order.