memtrace-graph

Solid

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.

AI & Automation 469 stars 41 forks Updated 5 days ago NOASSERTION

Install

View on GitHub

Quality Score: 81/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview Graph algorithms over the knowledge graph — communities (Louvain), PageRank centrality, bridge symbols (articulation points), shortest paths, and execution flows. ## Quick Reference | 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). ## Steps ### 1. Understand the architecture `list_communities` — natural module partitions. ### 2. Find critical infrastructure `find_central_symbols` runs **PageRank** internally. There is **no `method` param** (no degree-centrality switch). ```json { "repo_id": "memdb", "limit": 25, "kinds": ["Function", "Method"] } ``` ### 3. Find chokepoints ```json { "repo_id": "memdb", "limit": 15 } ``` ### 4. Path between two symbols ```json { "repo_id": "memdb", "source": "handleLogin", "target": "DatabaseClient.query", "max_depth": 20 } ``` Params are **`source`** and **`target`** (symbol names) — not `from`/`to`. ### 5. Execution flows ```json { "repo_id": "memdb" } { "repo_id": "memdb", "process": "POST...

Details

Author
syncable-dev
Repository
syncable-dev/memtrace-public
Created
5 months ago
Last Updated
5 days ago
Language
Python
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

memtrace-relationships

Map source-code relationships between symbols. Use when the user asks about callers, callees, references, imports, exports, type usages, class hierarchy, inheritance, implementations, overrides, or dependencies between symbols. Do not use Grep, Glob, rg, find, or manual text search for references; Memtrace traverses typed AST graph edges.

469 Updated 5 days ago
syncable-dev
AI & Automation Solid

memtrace-codebase-exploration

Map an indexed source-code repo into a structured overview — scale, communities, central symbols, execution flows, API surface, recent activity. Use when the user wants to explore, understand, onboard to, map, or get an overview of an indexed source-code repo, architecture, modules, or major flows. Do not use Glob, find, tree, rg, or manual file browsing as the first exploration path; Memtrace provides structured graph briefing. Do NOT use for change history / what-changed questions — use memtrace-evolution.

469 Updated 5 days ago
syncable-dev
API & Backend Listed

memtrace-api-topology

Map 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.

469 Updated 5 days ago
syncable-dev