/causalist:map
Given a GitHub URL or owner/repo slug, map the repository into a causal graph and open it in the Causalist web UI.
Steps
- Extract
ownerandrepofrom$ARGUMENTS. Accept eitherhttps://github.com/<owner>/<repo>or<owner>/<repo>. - Run:
causalist map "$ARGUMENTS" --open - The CLI will:
- Fetch the repo tree via Octokit (uses
$GITHUB_TOKENif set, otherwise public only) - Run four Claude agents in parallel (
ANTHROPIC_API_KEYrequired): Structure → Dependency → Semantic → Oracle - Stream progress as each agent completes
- Print the final
CausalGraphJSON to stdout - Open the graph at
https://causalist.dev/<owner>/<repo>in the user's browser
- Fetch the repo tree via Octokit (uses
- Summarize the key findings to the user: number of nodes, number of edges, top semantic layers, any particularly interesting causal clusters.
When to use this skill
- "Show me what's in this repo"
- "Map the dependencies in X"
- "What does this codebase look like?"
- "Find the blast radius of changing module Y"
What to return
A short natural-language summary of the graph plus the live URL. Do not paste the full JSON — the user already has the visual.
Required environment
ANTHROPIC_API_KEY— Causalist's own analyze calls. You can use the same key Claude Code is already using.GITHUB_TOKEN— optional, only needed for private repositories.