map-project
Skill2 starsChanged 3 months agoMITView on GitHub
Build or refresh an evidence-backed Mnema project map for a new or existing repository. Use when starting work in a repo, onboarding another agent, documenting architecture/modules/components, recording project decisions and problem solutions, repairing a stale project map, or preparing project graph context and handoff documentation.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-coordinationSkill
- architectSkill
- cavemanSkill
- code-conventionsSkill
- debug-logSkill
- frontend-designSkill
- hub-memorySkill
- jobpilotSkill
- learnSkill
- local-modelSkill
- media-genSkill
- memory-hygieneSkill
- new-projectSkill
- senior-engineerSkill
- session-handoffSkill
- skill-evolveSkill
- socratic-teaching-scaffoldsSkill
- task-workflowSkill
- testingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 1 is distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create a compact authority map that lets another agent orient itself without rediscovering the repository.
- Very specific: line 12
Call project_list; reuse the canonical name when the repo is already represented.
- Very specific: line 13
Call project_get(name) before changing an existing map.
- Very specific: line 14
Use one project map for one product/system even when it has several working-tree paths.
- Very specific: line 15
Do not model people, professional profiles, machines, learning collections, clients, or environments as projects.
- Very specific: line 31
Call project_update with the fields that evidence supports:
- Very specific: line 51
Add a lasting architecture/product decision with project_add_decision using YYYY-MM: decision — reason.
- Very specific: line 56
Add typed memory edges with memory_relation_add only when evidence supports supports, contradicts, supersedes, caused_by, derived_from, or …
- Very specific: line 58
Use the project field consistently so Mnema's graph links the project to memories, documents, sessions, tags, and typed relations.
- Very specific: line 62
Call project_get and confirm the returned map contains the intended full module list and current focus.
- Very specific: line 63
Call graph_neighbors(kind="project", key=<canonical>).
- Very specific: line 64
Search one decision and one solution through memory_search or rag_search using language a future agent would use.
- Very specific: line 65
Run integrity_check before strict-project migration or release work.
- Very specific: line 68
Do not claim the project is mapped merely because project_update succeeded.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Map a Project
Create a compact authority map that lets another agent orient itself without rediscovering the repository. Keep current state in the project map, durable atomic knowledge in memory, long-form material in RAG, and work chronology in session logs.
1. Resolve the canonical project
- Call
project_list; reuse the canonical name when the repo is already represented. - Call
project_get(name)before changing an existing map. Treat list fields such asmodules,decisions, andnext_stepsas full replacements. - Use one project map for one product/system even when it has several working-tree paths. Record private/public/OS paths in
paths; do not create duplicate project maps for repository aliases. - Do not model people, professional profiles, machines, learning collections, clients, or environments as projects. Use
profile_get/profile_update, machine tools, global memory, or thelearningRAG namespace instead.
2. Gather evidence before writing
Inspect the current worktree and verify:
- repository remote, branch, dirty state, package manifests, lockfiles, and runtime requirements;
AGENTS.md/CLAUDE.md, README, ADRs, operations docs, and deployment configuration;- actual entry points, module boundaries, dependency direction, persistence/sync paths, and external services;
- commands by running the relevant help/build/test command where safe;
- current focus from live task/issue/runtime evidence, not from code shape alone.
For serious architecture work, call prompt_get("senior-software-architect") before mapping. State unknowns explicitly; never invent ownership, runtime proof, or completion status.
3. Write the project map
Call project_update with the fields that evidence supports:
summary: one paragraph describing the product and its users.status:active,paused,done, orideabased on current evidence.stack: only technologies actually used.repoandpaths: canonical remote plus known checkout/deployment aliases.current_focus: the single active outcome, not a history dump.next_steps: concrete, ordered, verifiable actions.architecture: 3–5 sentences covering layers, data flow, authority, and boundaries.modules: the complete module list. For each module providename, repo-relativepath, one-sentencepurpose,key_files, anddepends_onusing other module names.entry_points: role to repo-relative file mappings.commands: named commands that were verified or are directly authoritative from manifests.conventions: non-obvious written invariants; omit generic coding advice.data_model: main entities/tables, ownership, lifecycle, and important relations.notes: risks, operational constraints, and unresolved gaps that do not fit elsewhere.
Preserve unchanged fields from the prior project_get response. Do not overwrite a rich map with a partial module list.
4. Partition durable project knowledge
- Add a lasting architecture/product decision with
project_add_decisionusingYYYY-MM: decision — reason; consequence. - Save one hard-won problem solution with
memory_save(type="howto", project=<canonical>): symptom, root cause, fix, and verification. - Save an atomic durable decision/preference/fact with
memory_save; keep it short enough to scan. - Store architecture, runbooks, migration plans, security reviews, and troubleshooting guides with
rag_addusing the stable URI<project>/<category>/<slug>and an appropriatekind. - Reuse the same URI to update a document. Do not create
v2/finalduplicates unless lifecycle history is intentional. - Add typed memory edges with
memory_relation_addonly when evidence supportssupports,contradicts,supersedes,caused_by,derived_from, orapplies_to.
Use the project field consistently so Mnema's graph links the project to memories, documents, sessions, tags, and typed relations. Do not create decorative or guessed graph edges.
5. Verify the map as an agent handoff
- Call
project_getand confirm the returned map contains the intended full module list and current focus. - Call
graph_neighbors(kind="project", key=<canonical>); verify linked project evidence appears. - Search one decision and one solution through
memory_searchorrag_searchusing language a future agent would use. - Run
integrity_checkbefore strict-project migration or release work; resolve unknown project references and lifecycle conflicts. - End material work with
session_log, then refreshcurrent_focus,next_steps, and any changed code-map fields.
Do not claim the project is mapped merely because project_update succeeded. The map is usable only when a fresh agent can locate the right files, understand authority and dependencies, retrieve key decisions/solutions, and identify the next verified action.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

