/memtrace-skills:memtrace-codebase-explorationfrom memtrace-skills
Maps an indexed source-code repo into a structured overview covering scale, communities, central symbols, execution flows, API surface, and recent activity. Helps onboard to unfamiliar codebases.
Ships in memtrace-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Full codebase exploration workflow — from indexing through architectural understanding. Chains indexing, graph algorithms, community detection, and temporal analysis into a structured onboarding experience. Use this when someone is new to a codebase and needs to build a mental model.
Call list_indexed_repositories first. If the repo is already indexed, skip to step 2.
Otherwise, call index_directory with the project path, then poll check_job_status until completion.
Success criteria: Repo appears in list_indexed_repositories with non-zero node/edge counts.
Call get_repository_stats to understand scale:
Report these numbers to the user — they set expectations for the codebase's size and complexity.
Call list_communities to see how the codebase naturally clusters into logical modules.
Decision: If >10 communities, summarize the top 5–7 by size and let the user ask about specific ones.
Each community represents a cohesive module — these are the "areas" of the codebase.
Call find_central_symbols — PageRank over CALLS/REFERENCES edges (no method param):
{ "repo_id": "<repo>", "limit": 15 }
These are the symbols that the rest of the codebase depends on most heavily. They form the "skeleton" of the architecture.
Call find_bridge_symbols to identify chokepoints — symbols that connect otherwise-separate parts of the codebase.
Decision: If bridge symbols overlap heavily with central symbols, flag them as critical infrastructure — high importance AND single point of failure.
Call list_processes to discover entry points:
This shows HOW the code is actually used at runtime, not just how it's structured.
Call find_api_endpoints to list all HTTP routes.
Decision: If multiple repos are indexed, also call get_api_topology to map service-to-service dependencies.
Call get_evolution to see recent activity:
{ "repo_id": "<repo>", "from": "30d ago", "mode": "overview" }
Check totals.episode_count and episode boundaries. For file/symbol hotspots, switch to compound:
{ "repo_id": "<repo>", "from": "30d ago", "mode": "compound" }
Review top_changed_files and top_touched_symbols.
Call find_most_complex_functions:
{ "repo_id": "<repo>", "top_n": 10 }
Full parameter spec for every Memtrace tool: references/mcp-parameters.md (bundled at the memtrace-skills plugin root).
Synthesize findings into a structured overview:
The deliverable is the 7-part overview above. Skeleton (one headline per part):
EngineHandle::open (central AND bridge — flag it)top_changed_files| Mistake | Reality |
|---|---|
| Skipping indexing and using file-based grep | The knowledge graph provides structural understanding that grep cannot — callers, callees, communities, processes |
| Reporting raw numbers without interpretation | "450 functions across 12 communities" means nothing; describe what each community does |
| Only looking at code structure | Execution flows (processes) show how the code is actually used — always include them |
| Ignoring temporal context | Recent evolution shows where active development is happening — this is where the user will likely need to work |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncable-dev/memtrace-public --plugin memtrace-skills27 skills in this plugin
/memtrace-api-topologyMap API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg, find, or manual file search for routes or HTTP calls; Memtrace maps endpoints and call edges from the indexed AST graph./memtrace-change-impact-analysisCompute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated change plan. Use for multi-symbol or multi-part edits, refactors, API changes, renames, removals, PR reviews, or risk assessments that need a plan; for one symbol's raw blast radius, call get_impact directly. Do not manually grep references or browse files for impact; use Memtrace graph context, change history, and decision recall/provenance./memtrace-cochangeFind files that historically co-change with a target symbol or file, ranked by co-occurrence across git episodes. Use when the user asks about historical coupling, co-change, what changes with this, hidden dependencies, or what else needs to move for source code. Do not use git log, git diff, Grep, or manual file search to correlate changes; Memtrace queries co-change and temporal graph data directly./memtrace-code-reviewReview GitHub pull requests with Memtrace's local graph-backed review engine. Use when the user asks to review a GitHub pull request, run Memtrace code review, post Memtrace review comments, create a PR with a review step, or publish local graph-backed review findings to GitHub. Prefer the review_github_pr MCP tool over manual diff inspection. Do not use for local working-tree diffs — that is the built-in /code-review; this skill is for GitHub PRs via review_github_pr./memtrace-continuous-memoryKeep the Memtrace index fresh while editing by watching a repo for live, incremental re-indexing. Use when the user asks to keep Memtrace fresh while editing, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic agent memory), or make just-saved source code queryable immediately. Do not fall back to repeated Grep or manual rescans; configure Memtrace watching./memtrace-dailyOrient at the start of a coding session, review what recently changed in a repository, and self-audit after completing work. Use when the user wants the daily briefing (what changed in the last 24h with complexity deltas), hotspots (complexity × churn refactor priorities), or a session review (clean/review/risky verdicts per editing session). For catching up after time away or resuming a prior session, use memtrace-session-continuity; daily is the last-24h briefing + hotspots + self-audit. Do not reconstruct recent activity from git log; Memtrace diffs the graph at save granularity.Other plugins' skills for the same job