一键导入
second-brain-edit-wiki
Apply targeted edits to one or more wiki articles from a natural-language instruction, preserving structural invariants.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply targeted edits to one or more wiki articles from a natural-language instruction, preserving structural invariants.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read new or changed files in raw/, synthesise content into wiki/ topic articles, rebuild INDEX.md, and update the ingest manifest.
Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion.
Initialize or update the Second Brain vault — creates folder structure, declares interests, configures Craft import scope, and generates CLAUDE.md.
Scan wiki/ for quality issues — contradictions, unsupported claims, and content gaps — and save a structured report to outputs/.
Continue an existing conversation thread by re-reading the wiki and appending a follow-up answer to the thread file.
Answer a natural-language question by synthesising content from wiki/, and save the response to outputs/.
| name | second-brain-edit-wiki |
| description | Apply targeted edits to one or more wiki articles from a natural-language instruction, preserving structural invariants. |
| argument-hint | "<edit_prompt>" [<slug>] |
| user-invocable | true |
Apply targeted edits to one or more wiki articles based on a natural-language instruction, while preserving all structural invariants.
/second-brain-edit-wiki "<edit_prompt>" [<slug>]
edit_prompt — free-text description of the edit to apply (required)slug — kebab-case wiki article filename without .md (optional)
wiki/INDEX.md and infers which article(s) to edit from the promptedit_prompt from the first quoted argument.slug from the second quoted argument.slug is provided, verify wiki/<slug>.md exists. If not, stop with:
✗ Article not found: wiki/<slug>.mdIf slug is provided: target is wiki/<slug>.md only.
If slug is omitted:
wiki/INDEX.md to get the full list of topics and their one-line summaries.edit_prompt for article names, topic references, or contradiction descriptions (e.g. "company-overview", "revenue figure", "headcount data").✗ Could not determine which article to edit from: "<edit_prompt>"
Hint: re-run with an explicit slug, e.g. /second-brain-edit-wiki "<prompt>" company-overviewFor each target article:
wiki/<slug>.md.edit_prompt. Use good judgement to make the minimal, targeted change that satisfies the instruction.# Heading. Never remove, replace with headings, or reorder.---\n*Sources: ...* block at the end must remain byte-for-byte unchanged. Never modify, remove, or add to source references.[[wikilinks]] must be preserved. You may add new ones; never remove without an explicit instruction to do so.## Headings and their order unless the edit explicitly requires restructuring.wiki/<slug>.md.Output one status line per article edited:
✓ wiki/company-overview.md — Updated revenue figure in summary: "$120M" → "$134M (2024 actual)"
✓ wiki/product-strategy.md — Corrected launch date from Q3 to Q4 in Key Milestones section
For errors use ✗ prefix with a brief reason.
raw/raw/edits/ or any other staging location — edits are in-place only/second-brain-ingest instead)