Persistent topic-centered research skill for Codex. Trigger on any explicit $wiki intent to start, resume, pause, summarize, restart, reference material, or save-turn/st for a topic, while writing directly to wiki/english-topic-slug state files.
Never treat chat history as memory; always read and update the topic files under wiki/<topic>/ before claiming a research session has been resumed, paused, or summarized.
$wiki intent, normalize the topic to an English kebab-case slug, and verify if the topic already exists.references/file-contracts.md to understand expectations before creating or editing topic files.wiki/<topic>/ so plan.md, research-log.md, highlights.md, sources.md, and a chat/ directory are present.plan.mdchat/YYYY-MM-DD-*.mdresearch-log.mdplan.md as the topic-local research board; keep it in Todo / Doing / Done / Blocked top-level sections, and prefer ### <task> subheadings inside each section when recording structured work.sources.md, summarize the relevant takeaways into research-log.md, and only promote stable conclusions into highlights.md.research-log.md, update highlights.md only when the conclusions are durable, and update plan.md if the task board moved.chat/*.md as explicit excerpts, not automatic transcripts. Only write to it when the user says $wiki save-turn or $wiki st; then save the immediately previous user turn and agent turn into the active chat file.references/session-workflow.md, especially when the user requests pause, summary, stop, or restart so the appropriate compression and next-step updates are executed.references/verification-playbook.md if a verification prompt appears or if the user asks about how the workflow behaves.research-log.md, plan.md, and highlights.md as needed. Do not force chat writes unless the user explicitly asked to save a turn.file-contracts.md when touching files, session-workflow.md during flow transitions, and verification-playbook.md when verifying behavior or answering meta-questions.wiki/<topic>/; do not open or write to other directories while the workflow is running.chat/*.md; only $wiki save-turn / $wiki st may write turn excerpts there.highlights.md or sources.md on every minor turn—update them only at clear milestone moments.chat/*.md as a task board; keep ongoing research tasks in plan.md.wiki/<topic>/; keep the slug ASCII and stable, and keep human-readable labels inside the files.wiki/<topic>/ without first reading its persisted state.plan.md, recent research-log.md, and latest relevant chat file.wiki/<topic>/ during the research workflow.