map-corpus
/map-corpus
Use when the user points to a study-material folder and asks to make it teachable. Not for remote, credential, publish, deploy, or irreversible changes.
- Author
- gosuda ↗
- Repository
- dalcom-skills ↗
- Licence
- Apache-2.0
- Last repository change
- 10.11.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Use when the user points to a study-material folder and asks to make it teachable. Not for remote, credential, publish, deploy, or irreversible changes.
Original author description
Use when the user points to a study-material folder and asks to make it teachable. Not for remote, credential, publish, deploy, or irreversible changes.
How it works
- Fixing the two paths
- Reading everything without changing anything
- Recording sources and concepts
- Ordering ideas for learning
- Writing the map
SKILL.md preview
--- name: map-corpus description: 'Use when the user points to a study-material folder and asks to make it teachable. Not for remote, credential, publish, deploy, or irreversible changes.' --- # Map corpus You turn a folder of study material into a teachable map: a single `CORPUS.md` at the workspace root that inventories every file, names what the material teaches, and orders ideas so prerequisites come first. You never change anything inside the corpus folder itself, and the only file you write is workspace-root `CORPUS.md` (restoring the prior file, or deleting a newly created one, rolls the run back). You need the corpus folder path and the workspace root where `CORPUS.md` will live. If the corpus path is missing, ask once; if it stays unavailable, stop blocked. An existing `CORPUS.md` may be replaced, but only once the new map is complete and verified. ## Fixing the two paths Expand `~`, resolve the corpus folder to an absolute path, and confirm it exists and is a directory. Resolve the output path too, and confirm it is exactly workspace-root `CORPUS.md` without touching the corpus root. If the corpus is missing, not a directory, or the output path resolves anywhere else (or writing it would modify the corpus root), write nothing and return `blocked` with both resolved paths and the failed validation. ## Reading everything without changing anything Recursively list every file under the corpus root and attempt to read each one as-is: no conversion, no modification. Mark each file readable or unreadable and keep the observed reason for every unreadable one. Unreadable files get no conversion attempt and no converter recommendation; a map built from the readable remainder is still valid, but only if every unreadable file is disclosed with its reason. ## Recording sources and concepts For every readable file, write one source row with its path relative to the corpus root, its material kind, and either the headings worth citing or `reference only`. The row count must equal the readable file count, and no absolute path may appear in a row or a citation. Then name what the readable material teaches. For each concept, keep the source's own term where one exists, add a one-sentence definition, list its prerequisites, and give at least one citation anchor. Every readable file must be accounted for: either it contributes a concept or its source row says `reference only`. Form citations as `<path-relative-to-corpus-root>#<heading-slug>`, falling back to `<path-relative-to-corpus-root>:<start>-<end>` only when the source has no headings. ## Ordering ideas for learning Lay the concepts out as one flat numbered list with every prerequisite placed before its dependents. When two concepts depend on each other, put first whichever the corpus introduces first and disclose the cycle on the other concept's line. If the list would grow past roughly forty entries, merge concepts the corpus always teaches together. ## Writing the map Assemble `CORPUS.md` with these parts in this order: `# Corpus: <name>`; `corpus_root: <absolute path>`; `mapped: <YYYY-MM-DD>`; a `## Sources` table with `File`, `Kind`, and `Cite from` columns; a `## Concepts` numbered list whose entries carry the term, definition, `Needs:`, and `Source:` (using `Needs: none` where there are no prerequisites); and a `## Unreadable` list of each unreadable relative path with its reason, or `None` when everything read cleanly. Before writing, verify source accounting, concept coverage, citation form, and prerequisite order against the enumerated corpus. If any of those cannot be established from the material, keep any existing `CORPUS.md` untouched, write no partial replacement, and return `blocked` naming the unmet condition. Only when verification passes, wholly replace workspace-root `CORPUS.md`. On success, report the file path with counts of readable sources, unreadable sources, and concepts. If the write itself fails, say so with the error, claim nothing, and restore the prior file when one exists or remove the incomplete new file otherwise.
Files in this package (3)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- references/CORPUS-FORMAT.md 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · gosuda/dalcom-skills | 85 | Apache-2.0 |
| OutlineDriven/outline-driven-development | 90 | Apache-2.0 |
| melodic-software/claude-code-plugins | 84 | MIT |
Database snapshot: 13.11.2026 · package version b4f3bdb211f7 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100eztudy
Local, open-source NotebookLM. Turns any folder with a `sources/` directory (PDF, DOCX, PPTX, Markdown, text, code) into a study notebook — keeps an agent-maintained wiki and a local SQLite vector index over the sources, answers questions with citations, and generates quizzes,… - 90repo-understand
Use when a learner asks to learn from a repository and the agent must map curriculum structure and prerequisites before teaching. - 100study-material
从 PDF/文档/图片中提取全部内容,整理成结构化 HTML 学习资料,并录入 Study Wiki。当用户说"提取文档"、"整理资料"、"学习资料"、"提取PDF"、"帮我整理这个文档"、"extract document"、"study material",或上传 PDF/文档并要求提取内容时触发。 - 90pr-walkthrough
Use when a user asks for a zoomable PR map or graph-canvas orientation. Not for remote, credential, publish, deploy, or irreversible changes.