ingest
Process all unprocessed raw files into wiki articles. Run this after adding files to raw/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Process all unprocessed raw files into wiki articles. Run this after adding files to raw/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a URL to the knowledge base. Clips it to raw/, then ingests it into wiki articles. One command does everything.
Run a health check on the wiki. Find broken links, missing articles, inconsistencies, and suggest improvements.
Query the knowledge base. Searches wiki articles and synthesizes an answer with references.
| name | ingest |
| description | Process all unprocessed raw files into wiki articles. Run this after adding files to raw/. |
Process all unprocessed files in raw/ and compile them into wiki articles.
Read .claude/skills/add/config.json to get the depth_level setting (100, 300, or 500).
If the file does not exist, default to 100.
raw/changelog.md to find which files have already been processedraw/ that are NOT mentioned in changelog.mdIf all files are already processed, tell the user "Nothing new to ingest." and stop.
wiki/index.md to understand existing articles and categorieswiki/ for existing article folders and filesFor each unprocessed raw file:
wiki/<source-slug>/wiki/updated datewiki/<source-slug>/wiki/<source-slug>/summary-<source-slug>.md at the configured depth levelRun uv run python build_graph.py to regenerate wiki/graph.json from article frontmatter.
Then update the graph screenshot: uv run python screenshot_graph.py
Update wiki/index.md:
Append to changelog.md:
## [YYYY-MM-DD] ingest | <brief description>
- Processed: raw/<filename1>, raw/<filename2>, ...
- Folder: wiki/<source-slug>/
- Created: <list of new wiki articles>
- Summary: wiki/<source-slug>/summary-<source-slug>.md (depth: <level>)
- Updated: <list of updated wiki articles>
The summary file name includes the folder name so it is identifiable even if downloaded
standalone. Depth level controls the writing style. Read depth from .claude/skills/add/config.json.
Naming: wiki/<source-slug>/summary-<source-slug>.md
Every source summary must include at least one ASCII diagram, regardless of depth level. Choose the most appropriate type(s) for the content:
Keep diagrams readable (under 70 characters wide). At minimum one diagram per summary.
Individual wiki articles go inside the source folder and are always written at a consistent encyclopedia style regardless of summary depth level.
Use [text](file.md) markdown links for all cross-references so they are clickable.
Every article must have a tags field in its frontmatter with 3-7 lowercase-kebab-case tags.
Tags should include both concept-specific tags and broader topic tags that connect to the
larger category the article serves (e.g., ai-agents, software-engineering-philosophy).