repo-map
Repository discovery and mapping tool that scans a root path, catalogs every project and sub-repository, and produces a navigable inventory with Mermaid…
Skill by VitorAndTxr
Chalk Labs
Need help deploying repo-map?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vitorandtxr-repo-map
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/repo-map
Tools it pre-approves 10
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Task,TaskOutput,Bash,Glob,Grep,Read,Write,WebFetch,AskUserQuestion,Skill
What's inside
- Skill name
repo-map- Description
- Repository discovery and mapping tool that scans a root path, catalogs every project and sub-repository, and produces a navigable inventory with Mermaid architecture diagrams. Outputs: CLAUDE.md (agent memory), database ER diagrams, API endpoint catalog, workflow diagrams, and supplementary class/sequence diagrams. Use when: (1) onboarding to a new codebase, (2) inventorying repositories under a directory, (3) generating architecture documentation for existing projects, (4) user says "repo-map", "map repos", "discover projects", "inventory codebase", "scan repositories".
- License
- Apache-2.0
- Allowed tools
- Task,, TaskOutput,, Bash,, Glob,, Grep,, Read,, Write,, WebFetch,, AskUserQuestion,, Skill
- Instructions
- 77 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (5)
- SKILL.md
- claude-md-template.md · references/
- database-template.md · references/
- endpoints-template.md · references/
- workflows-template.md · references/
SKILL.md (first lines)
# Repository Discovery & Mapping
Read-only codebase analysis skill. Discover every project under a scan root, extract stack/database/API/integration metadata, and produce structured documentation with Mermaid diagrams.
## Agency CLI Integration
This skill uses `agency_cli.py` for deterministic discovery, config extraction, and diagram generation:
Resolve CLI path: find this skill's own SKILL.md via Glob (`**/repo-map/SKILL.md`), then the CLI is at `../shared/scripts/agency_cli.py` relative to the skill directory. Store result as `{CLI}`.
```bash
# Discover repos (replaces manual Glob scanning)
python {CLI} scan discover --root {scan-root}
# Full scan of a single repo (stack, endpoints, DB, env vars)
python {CLI} scan repo --root {repo-path}
# Generate diagrams from scan results
python {CLI} diagram er --input scan-result.json --output docs/database/diagrams.md
python {CLI} diagram endpoints --input scan-result.json --output docs/endpoints.md
python {CLI} diagram service-map --input scan-result.json --output docs/service-map.md
python {CLI} diagram workflow --input scan-result.json --output docs/workflows.md
```
## Variables
- **scan-root**: First argument if provided, otherwise current working directory.
- **output-root**: Same as scan-root. All artifacts are written relative to this path.
## Constraints
- NEVER modify source code in discovered repositories.
- NEVER run or build discovered projects.
- NEVER create CLAUDE.md files inside individual sub-projects.
- All diagrams MUST use Mermaid syntax -- no images, ASCII art, PlantUML, or external tools.
- Redact database connection secrets (keep host/DB name only, strip passwords and user credentials).
## Workflow
Scan and document the codebase in this order:
1. **Read agency context** -- Read `~/.claude/README_AGENCY.md` (if it exists) to understand agency roles, phases, and artifact conventions. Read any existing `CLAUDE.md` at the scan root for project conventions.
2. **Discover and analyze repositories** -- Use the CLI for all deterministic discovery and extraction:
```bash
# Step 2-3: Discover all repos and extract metadata (stack, DB, endpoints, env vars)
python {CLI} scan discover --root <scan-root>
# Save output to scan-result.json for diagram generation
# For deeper analysis of individual repos:
python {CLI} scan repo --root <repo-path>
```
3. **Map cross-project relationships** -- Use LLM judgment for semantic cross-referencing that requires understanding of the codebase context (shared DBs by name matching, inter-service call patterns, shared packages). The CLI provides the raw data; the LLM connects the dots.
4. **Generate diagrams** -- Use the CLI for deterministic diagram scaffolding, then enrich with LLM analysis:
```bash
python {CLI} diagram er --input scan-result.json --output docs/database/diagrams.md
python {CLI} diagram endpoints --input scan-result.json --output docs/endpoints.md
python {CLI} diagram service-map --input scan-result.json --output docs/service-map.md
python {CLI} diagram workflow --input scan-result.json --output docs/workflows.md
```
After generation, review and enrich: add entity details from source code analysis, complete ER diagrams with fields/relationships, add workflow details from business logic inspection.
5. **Write supplementary diagrams in `docs/diagrams/`** -- One file per topic. Use `classDiagram` for domain models, `sequenceDiagram` for multi-step interactions, `flowchart` for conditional business rules. Skip if `workflows.md` already covers everything.
9. **Write `CLAUDE.md`** -- See `references/claude-md-template.md` for structure. Agent memory file at the scan root indexing the entire landscape.
10. **Optimize context** -- After all artifacts are written, invoke the `/apply-progressive-disclosure optimize` skill on the scan root to fragment and optimize the generated `CLAUDE.md` and documentation files for minimal token consumption.
## Diagram Rules
- Use the appropriate Mermaid type: `erDiagram` for data, `sequenceDiagram` for interactions, `flowchart` for logic, `classDiagram` for domain models, `stateDiagram-v2` for state machines.
- Split large diagrams into focused blocks rather than one monolithic graph.
- Label all relationships and transitions.
- Keep entity/node names concise but descriptive.From VitorAndTxr/omni-sw, Apache-2.0.
More from VitorAndTxr/omni-sw
- 0.414score
apply-progressive-disclosure
VitorAndTxr
Progressive Disclosure Optimizer — Analyze and restructure Claude Code configuration files (CLAUDE.md, skills, commands, agents) to minimize token consumption.
SkillDFreshness: DClaude Code +9 - 0.414score
backlog
VitorAndTxr
Backlog management system — Manages user stories as structured JSON with role-based access control, replacing markdown-based BACKLOG.md.
SkillDFreshness: DClaude Code +9 - 0.414score
project-map
VitorAndTxr
Multi-repository project mapping orchestrator.
SkillDFreshness: DClaude Code - 0.414score
orchestrator
VitorAndTxr
SDLC Orchestrator — Manages the full Software Development Agency workflow end-to-end.
SkillDFreshness: DClaude Code - 0.414score
api-doc-scraper
VitorAndTxr
Agentic web scraper that reads API documentation from a URL, extracts endpoints, authentication, models, and error handling into a structured corpus, then…
SkillDFreshness: DClaude Code - 0.409score
qa
VitorAndTxr
QA Specialist — Quality guardian.
SkillDFreshness: DClaude Code +9 - 0.409score
tl
VitorAndTxr
Tech Lead — Senior technical authority.
SkillDFreshness: DClaude Code +9 - 0.409score
dev
VitorAndTxr
Developer Specialist — Execution-focused engineer.
SkillDFreshness: DClaude Code +9 - 0.409score
init-omni-sw
VitorAndTxr
Project Setup for Omni-SW Agency — Configures a project directory with all base files and hooks required by the SDLC Agency plugin before the orchestrator can…
SkillDFreshness: DClaude Code +9 - 0.409score
pm
VitorAndTxr
Product Manager — Senior business strategist and agency's primary client interface.
SkillDFreshness: DClaude Code +9 - 0.409score
po
VitorAndTxr
Product Owner — Bridge between client and technical team.
SkillDFreshness: DClaude Code +9 - 0.383score
skill-creator
VitorAndTxr
Guide for creating effective skills.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/VitorAndTxr/omni-sw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VitorAndTxr
- 0.414score
apply-progressive-disclosure
VitorAndTxr
Progressive Disclosure Optimizer — Analyze and restructure Claude Code configuration files (CLAUDE.md, skills, commands, agents) to minimize token consumption.
SkillDFreshness: DClaude Code +9 - 0.414score
backlog
VitorAndTxr
Backlog management system — Manages user stories as structured JSON with role-based access control, replacing markdown-based BACKLOG.md.
SkillDFreshness: DClaude Code +9 - 0.414score
project-map
VitorAndTxr
Multi-repository project mapping orchestrator.
SkillDFreshness: DClaude Code - 0.414score
orchestrator
VitorAndTxr
SDLC Orchestrator — Manages the full Software Development Agency workflow end-to-end.
SkillDFreshness: DClaude Code - 0.414score
api-doc-scraper
VitorAndTxr
Agentic web scraper that reads API documentation from a URL, extracts endpoints, authentication, models, and error handling into a structured corpus, then…
SkillDFreshness: DClaude Code - 0.409score
qa
VitorAndTxr
QA Specialist — Quality guardian.
SkillDFreshness: DClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get repo-map running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
repo-map skill. Agent Mart. https://agentmart.dev/skills/vitorandtxr-repo-map (last updated 2026-10-24)