← ClaudeAtlas

wiki_hub_managerlisted

Manage topics in the central Hub: route slugs to paths, list topics, and archive or restore topics.
Misaka16384/magi · ★ 7 · API & Backend · score 67
Install: claude install-skill Misaka16384/magi
# LLM Wiki — Hub Manager Skill (wiki_hub_manager) > **CLI (read first):** This skill drives the `magi` CLI (MAGI research workspace tool, assumed installed on PATH). If unsure of your surroundings, run `magi sync` first to locate the workspace. For the full syntax of any command: `magi <command> --help`. This skill consolidates all Hub-related operations into a single dispatcher. ## Operations 1. **Resolve a Topic Slug to Absolute Path (Router)** If you need to find the absolute path for a topic slug: `magi hub resolve <path_to_hub> <slug>` 2. **List Topics** If the user asks to list topics in the hub: `magi hub list --hub <path_to_hub>` *(Append `--archived` to include archived topics).* 3. **Archive a Topic** To archive an active topic (move it out of the active working set): `magi hub archive --hub <path_to_hub> <slug>` *(Append `--reason "<reason>"` if the user provided one).* 4. **Restore an Archived Topic** To unarchive a topic and move it back into the active working set: `magi hub restore --hub <path_to_hub> <slug>` 5. **Register an Existing Active Topic** If a topic folder exists under `topics/<slug>` but is missing from `wikis.json` (so the router cannot resolve it), register it (idempotent — safe to re-run): `magi hub register --hub <path_to_hub> <slug> --description "<Topic Title>"` *(Use `--path <registry-relative-path>` if the topic is not at the default `topics/<slug>`.)* Note: newly initialized topics are auto-reg