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