一键导入
wiki-init
Initialize a new topic workspace folder with standard raw/, wiki/, inbox/, and output/ directories.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize a new topic workspace folder with standard raw/, wiki/, inbox/, and output/ directories.
用 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.
Statically check and repair double-bracket linkages and frontmatter within your compiled wiki directory.
Automatically builds semantic links between concept markdown files by calculating vector similarity using a local Ollama embedding model.
| name | wiki_init |
| description | Initialize a new topic workspace folder with standard raw/, wiki/, inbox/, and output/ directories. |
| commands | {"init":"Initialize an empty workspace folder with standard raw/, wiki/, inbox/, and output/ folders."} |
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 handles the physical bootstrapping of a new academic/personal topic workspace folder.
When the user asks to initialize, configure, or set up a new wiki in a folder:
python <BIN>/init_workspace.py --topic-dir \"<path_to_initialize>\" --name \"<Topic Title>\" --scope \"<1-2 sentence description of what this wiki covers>\"
This script programmatically sets up the folder structures, and generates config.md, log.md, _index.md, and all subdirectory _index.md files.python <BIN>/llm-wiki.py lint <path_to_initialize> to verify that the initialized workspace achieves a perfect green Result: PASS. If it fails, fix the reported issues and re-run until PASS.wikis.json and a topics/ folder — you MUST register it so the hub router and wiki_hub_manager can resolve it. Run the idempotent registration command:
python <BIN>/llm-wiki.py archive --hub <hub_path> register <slug> --description "<Topic Title>"
where <slug> is the topic folder name (e.g. the final path segment) and <hub_path> is the hub root. This is safe to re-run. Skip this step only for standalone (non-hub) wikis where no ancestor hub exists.