find_hub
Navigate codebase via Markdown feature hubs. List hubs, view linked files, rank hubs by query, or find files not linked to any hub.
Instructions
Obsidian-style feature hub navigator. Hub files are .md files containing [[path/to/file]] wikilinks that act as a Map of Content. Modes: (1) No args = list all hubs plus persisted suggested hubs and feature-group candidates, (2) hub_path or feature_name = show hub with bundled skeletons of all linked files, (3) query = rank candidate hubs by keyword, semantic, or mixed retrieval, (4) show_orphans = find files not linked to any hub. Prevents orphaned code and enables graph-based codebase navigation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_hub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Rank hubs against a natural-language feature or subsystem query. | |
| hub_path | No | Path to a specific hub .md file (relative to root). | |
| feature_name | No | Feature name to search for. Finds matching hub file automatically. | |
| ranking_mode | No | How to rank hub query candidates. Defaults to both. | |
| show_orphans | No | If true, lists all source files not linked to any feature hub. |