Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Map source-code architecture with graph algorithms — PageRank centrality, bridge symbols, Louvain communities, dependency paths, and execution flows over the AST graph. Use when the user asks about source-code architecture, important symbols, centrality, PageRank, bridge functions, communities, logical modules, chokepoints, service boundaries, or dependency path questions. Do not use Glob, find, tree, or directory browsing to infer architecture; Memtrace runs graph algorithms over the AST graph.
.claude/skills/syncable-dev-memtrace-graph/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 145% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -57% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -22% | 0% |
Graph algorithms over the knowledge graph — communities (Louvain), PageRank centrality, bridge symbols (articulation points), shortest paths, and execution flows.
| Tool | Required params | Key optional | |------|-----------------|--------------| | find_central_symbols | repo_id | limit (def 25), kinds[] | | find_bridge_symbols | repo_id | limit | | find_dependency_path | repo_id, source, target | max_depth (def 20), edge_type | | list_communities | repo_id | min_size, limit | | list_processes | repo_id | limit | | get_process_flow | repo_id, process | branch |
Full parameter spec for every Memtrace tool: references/mcp-parameters.md (bundled at the memtrace-skills plugin root).
list_communities — natural module partitions.
find_central_symbols runs PageRank internally. There is no method param (no degree-centrality switch).
json{ "repo_id": "memdb", "limit": 25, "kinds": ["Function", "Method"] }
json{ "repo_id": "memdb", "limit": 15 }
json{ "repo_id": "memdb", "source": "handleLogin", "target": "DatabaseClient.query", "max_depth": 20 }
Params are source and target (symbol names) — not from/to.
json{ "repo_id": "memdb" } { "repo_id": "memdb", "process": "POST /login" }
find_central_symbols — each result carries the PageRank score plus degree counts:
json[ { "name": "DatabaseClient.query", "score": 0.0142, "in_degree": 38, "out_degree": 5 }, { "name": "handleLogin", "score": 0.0097, "in_degree": 21, "out_degree": 9 } ]
find_dependency_path returns the ordered symbol chain from source to target; list_communities returns module partitions with their member symbols.
| Mistake | Reality | |---------|---------| | find_central_symbols(method: "degree") | No method param — always PageRank | | find_dependency_path(from=..., to=...) | Use source and target |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 3,841 | 5,520 | +44% | 1 | 1 | 0% | 454 | 987 | +117% | 0 | 0 | — |
case-02 | fail→fail | 6,451 | 9,871 | +53% | 1 | 1 | 0% | 1,100 | 954 | -13% | 0 | 0 | — |
case-03 | fail→fail | 5,489 | 4,537 | -17% | 1 | 1 | 0% | 170 | 905 | +432% | 0 | 0 | — |
case-04 | fail→pass | 3,263 | 2,996 | -8% | 1 | 1 | 0% | 504 | 1,235 | +145% | 0 | 0 | — |
case-05 | pass→pass | 9,574 | 4,287 | -55% | 1 | 1 | 0% | 1,482 | 1,057 | -29% | 0 | 0 | — |
case-06 | fail→pass | 15,363 | 2,906 | -81% | 1 | 1 | 0% | 2,545 | 1,098 | -57% | 0 | 0 | — |
case-07 | fail→pass | 8,160 | 5,269 | -35% | 1 | 1 | 0% | 1,366 | 1,253 | -8% | 0 | 0 | — |
case-08 | fail→pass | 4,299 | 2,003 | -53% | 1 | 1 | 0% | 657 | 969 | +47% | 0 | 0 | — |
case-09 | pass→pass | 6,406 | 2,514 | -61% | 1 | 1 | 0% | 998 | 1,168 | +17% | 0 | 0 | — |
case-10 | pass→pass | 7,833 | 2,452 | -69% | 1 | 1 | 0% | 1,181 | 1,093 | -7% | 0 | 0 | — |
case-11 | pass→pass | 7,721 | 2,281 | -70% | 1 | 1 | 0% | 1,175 | 1,084 | -8% | 0 | 0 | — |
case-12 | pass→pass | 8,639 | 2,883 | -67% | 1 | 1 | 0% | 1,523 | 1,208 | -21% | 0 | 0 | — |
case-13 | fail→pass | 7,780 | 1,998 | -74% | 1 | 1 | 0% | 1,212 | 949 | -22% | 0 | 0 | — |
case-14 | fail→pass | 23,212 | 2,029 | -91% | 1 | 1 | 0% | 1,148 | 911 | -21% | 0 | 0 | — |
case-15 | pass→pass | 8,019 | 1,860 | -77% | 1 | 1 | 0% | 1,366 | 953 | -30% | 0 | 0 | — |
case-16 | pass→pass | 7,257 | 4,191 | -42% | 1 | 1 | 0% | 1,074 | 1,015 | -5% | 0 | 0 | — |
case-17 | pass→pass | 4,781 | 2,101 | -56% | 1 | 1 | 0% | 752 | 988 | +31% | 0 | 0 | — |
case-18 | fail→pass | 8,014 | 1,624 | -80% | 1 | 1 | 0% | 1,247 | 886 | -29% | 0 | 0 | — |
case-19 | pass→pass | 4,122 | 2,215 | -46% | 1 | 1 | 0% | 686 | 1,076 | +57% | 0 | 0 | — |
case-20 | pass→pass | 3,783 | 4,128 | +9% | 1 | 1 | 0% | 616 | 1,354 | +120% | 0 | 0 | — |
case-21 | pass→pass | 8,876 | 6,423 | -28% | 1 | 1 | 0% | 1,507 | 1,648 | +9% | 0 | 0 | — |
case-22 | pass→pass | 3,906 | 2,934 | -25% | 1 | 1 | 0% | 443 | 1,116 | +152% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 18 counted toward the lift figure. The other 4 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +32 percentage points is the difference between those two pass rates over the 18 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.