code-wiki
Skill38 starsChanged 5 months agoMITView on GitHub
Generate architecture wiki docs, module maps, and Mermaid diagrams for a codebase using Cybara file/search/write tools.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- susantedit/claude-skillstheir own version, first seen Oct 20, 2026
- nobodyohm-web/Thottheir own version, first seen Oct 13, 2026
- PeteChu/skillstheir own version, first seen Oct 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- PeteChu/skills★ 1same name
- nobodyohm-web/Thot★ 0same name
- susantedit/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 1passwordSkill
- adversarial-ux-testSkill
- api-debugSkill
- apple-notesSkill
- apple-remindersSkill
- authorized-web-pentestSkill
- bear-notesSkill
- birdSkill
- blogwatcherSkill
- blucliSkill
- bluebubblesSkill
- camsnapSkill
- Canvas SkillSkill
- clawdhubSkill
- cloudflare-temporary-deploySkill
- code-reviewSkill
- coding-agentSkill
- comfyuiSkill
- diagram-makerSkill
- discordSkill
- docker-managementSkill
- domain-intelSkill
- eightctlSkill
- excalidrawSkill
- fal.aiSkill
- fastmcpSkill
- food-orderSkill
- geminiSkill
- gifgrepSkill
- githubSkill
- gogSkill
- goplacesSkill
- himalayaSkill
- imsgSkill
- local-placesSkill
- mactopSkill
- manim-videoSkill
- mcporterSkill
- model-usageSkill
- nano-banana-proSkill
- nano-pdfSkill
- notionSkill
- obsidianSkill
- openai-image-genSkill
- openai-whisper-apiSkill
- openai-whisperSkill
- openhueSkill
- oracleSkill
- ordercliSkill
- oss-forensicsSkill
- peekabooSkill
- phoneSkill
- planSkill
- sagSkill
- session-logsSkill
- sherpa-onnx-ttsSkill
- skill-creatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this when the user asks to document a repository, generate architecture diagrams, create a code wiki, or onboard to an unfamiliar …
- Very specific: line 15
Default to ~/.cybara/wikis/<repo-name>/ so active repositories are not modified.
- Distinctive: line 20
If the user gave a local path, use that path.
- Very specific: line 21
If they gave a GitHub URL, clone with git clone --depth 50 <url> <tmp>/repo.
- Distinctive: line 25
Read the README, manifests, and main entry points:
- Distinctive: line 39
Every statement should trace to code, config, or docs you read.
- Distinctive: line 40
Use relative links for local output.
- Very specific: line 41
Keep Mermaid valid and readable.
- Distinctive: line 42
Do not document generated bundles or dependency directories.
- Distinctive: line 43
Do not claim coverage of the whole repo when you only sampled modules.
- Distinctive: line 47
After writing the wiki:
- Distinctive: line 54
Read the generated README.md and one module page before reporting paths back to the user.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Code Wiki
Use this when the user asks to document a repository, generate architecture diagrams, create a code wiki, or onboard to an unfamiliar codebase.
This is a reference-documentation workflow. It explains what exists and how it fits together; it is not a product strategy or roadmap exercise.
Output Location
Default to ~/.cybara/wikis/<repo-name>/ so active repositories are not modified. Only write under the repo, such as docs/wiki/, when the user explicitly asks for in-repo documentation.
Workflow
- Resolve the target repository.
- If the user gave a local path, use that path.
- If they gave a GitHub URL, clone with
git clone --depth 50 <url> <tmp>/repo. - Record
git rev-parse HEADwhen available.
- Scan the structure with
rg --files, excluding generated and dependency dirs:.git,node_modules,dist,build,target,.next,.expo,coverage,venv,.venv.
- Read the README, manifests, and main entry points:
package.json,bun.lock,Cargo.toml,pyproject.toml,go.mod,Package.swift, app entry files.
- Pick 8-10 modules for the first pass.
- Prioritize entry points, shared/core modules, API boundaries, UI route roots, persistence layers, and integration adapters.
- Write:
README.mdwith purpose, concepts, entry points, and module map.architecture.mdwith a Mermaid flowchart.modules/<module>.mdfor each selected module.diagrams/sequences.mdwith 2-4 key workflows.getting-started.mdwith verified local commands..codewiki-state.jsonwith repo path, commit, generated time, and files reviewed.
Quality Bar
- Every statement should trace to code, config, or docs you read.
- Use relative links for local output; use commit-pinned GitHub links for cloned public repos.
- Keep Mermaid valid and readable. Prefer
flowchart LRfor architecture andsequenceDiagramfor workflows. - Do not document generated bundles or dependency directories.
- Do not claim coverage of the whole repo when you only sampled modules; list gaps explicitly.
Verification
After writing the wiki:
find "$OUTPUT_DIR" -type f | sort
rg -n "TODO|TBD|unknown" "$OUTPUT_DIR" || trueRead the generated README.md and one module page before reporting paths back to the user.
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.

