repomaplisted
Install: claude install-skill agustinvillegas/repomap
## Installation
Before using this skill, ensure the required packages are installed:
```bash
# Dependencies for the analyzer (glob for file matching):
cd ~/.opencode/skills/repomap && npm install
# Visual server (auto-installed via npx on first serve):
npm install -g @frannn2114/repomap-visual
```
The `serve` action will auto-install the visual package via `npx` if missing.
## Actions
### analyze
Analyzes a repository and returns a `RawAnalysis` JSON object with deterministic
structural data (modules, files, imports, definitions, edges). The agent must then
use an LLM call to enrich it with semantic interpretation (roles, patterns, labels).
**Input:**
- `localPath` (string, optional) — Path to a local repository
- `repoUrl` (string, optional) — GitHub repository URL (e.g. `https://github.com/owner/repo`)
- `githubToken` (string, optional) — GitHub token for private repos
- `outputFile` (string, optional) — Write the raw analysis JSON to a file path
- `resumeFrom` (object, optional) — Previous analysis progress to resume from
At least one of `localPath` or `repoUrl` must be provided.
**How to execute:**
1. **Before starting the analysis, the agent MUST ask the user:**
"Do you want to include git data (branches and commits) in the repository map?"
- If yes, follow the [Git data pipeline](#git-data-optional-pipeline-step) section below
(ask for commit count, collect token if needed, then call `getGitData`).
- If no, proceed without git data.
- **Do not