بنقرة واحدة
wiki-hub-manager
Manage topics in the central Hub: route slugs to paths, list topics, and archive or restore topics.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Manage topics in the central Hub: route slugs to paths, list topics, and archive or restore topics.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Compile raw sources into detailed, Obsidian-compatible, interlinked Markdown pages under wiki/ references/ and concepts/.
Deduplicates concepts, splits overly broad concepts, and synthesizes multi-source concept definitions by dynamically searching and analyzing all papers that reference them.
Ingest new academic papers or PDFs into the raw/ folder of your active topic wiki using the local OCR model configured in config.yaml.
Ingest new academic papers, notes, or web articles into the raw/ folder of your active topic wiki.
Initialize a new topic workspace folder with standard raw/, wiki/, inbox/, and output/ directories.
Statically check and repair double-bracket linkages and frontmatter within your compiled wiki directory.
| name | wiki_hub_manager |
| description | Manage topics in the central Hub: route slugs to paths, list topics, and archive or restore topics. |
| commands | {"manage_hub":"Manage hub topics (route, list, archive, restore)."} |
Resolving script paths (read first): Commands below invoke scripts as
<BIN>/X.py(and a few as<SKILLS>/...). Resolve these to absolute paths once before running anything:
<SKILL_DIR>= the directory thisSKILL.mdlives in.<SKILLS>= theskills/folder containing this skill =<SKILL_DIR>/..<BIN>= thebin/folder beside it =<SKILL_DIR>/../../binDo not hardcode a fixed prefix like
.agents/binor../bin: shell relative paths resolve against the current working directory (usually the topic root), not this skill's location. Once resolved,<BIN>is typically.agents/binwhen invoked from the hub root, or.claude/binfrom inside a topic directory.
This skill consolidates all Hub-related operations into a single dispatcher.
Resolve a Topic Slug to Absolute Path (Router)
If you need to find the absolute path for a topic slug:
python <BIN>/router.py <path_to_hub> <slug>
List Topics
If the user asks to list topics in the hub:
python <BIN>/llm-wiki.py archive --hub <path_to_hub> list
(Append --archived to include archived topics).
Archive a Topic
To archive an active topic (move it out of the active working set):
python <BIN>/llm-wiki.py archive --hub <path_to_hub> topic <slug>
(Append --reason "<reason>" if the user provided one).
Restore an Archived Topic
To unarchive a topic and move it back into the active working set:
python <BIN>/llm-wiki.py archive --hub <path_to_hub> restore <slug>
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):
python <BIN>/llm-wiki.py archive --hub <path_to_hub> register <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-registered by wiki_init; use this mainly to repair an unregistered topic.