一键导入
write
Autonomously execute paper writing cycles. Specify the cycle limit as an argument (e.g., /write 3). Default: 5.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Autonomously execute paper writing cycles. Specify the cycle limit as an argument (e.g., /write 3). Default: 5.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Improve agent prompts and behavior. The user says what's unsatisfactory; AI understands the complaint deeply, rewrites at the root cause, and an independent reviewer verifies.
Improve agent prompts and behavior. The user says what's unsatisfactory; AI understands the complaint deeply, rewrites at the root cause, and an independent reviewer verifies.
Autonomously execute research cycles. Specify the cycle limit as an argument (e.g., /auto 2). Default: 5.
Review research direction and AI reliability with the user, record oversight decisions, and update the next research focus.
Execute the normal /auto research loop with a human approval checkpoint after each planner update and before execution.
Autonomously execute research cycles. Specify the cycle limit as an argument (e.g., /auto 2). Default: 5.
| name | write |
| description | Autonomously execute paper writing cycles. Specify the cycle limit as an argument (e.g., /write 3). Default: 5. |
| user-invocable | true |
Draft research findings as an academic paper. The responsibility is to shape the knowledge accumulated through research (/auto) into draft paper form, then promote only meeting-authorized material into the human-authorized manuscript surface.
.logs/{timestamp}_write.md, .logs/last_write_session.md), agenda.md, and the final report. Paper-draft artifacts live under draft/** and use the paper's publication language. Use an explicit project declaration if one exists; otherwise infer it from existing manuscript/**, then draft/outline.md, then existing draft sections, and keep all paper surfaces consistent. If the evidence conflicts, record the inconsistency instead of letting the latest worker output set the language by accident. manuscript/** is also written in the paper's publication language, but only from meeting authorization snapshots. Reason: japanese is for internal project communication; the paper is an external artifact with its own audience. Exceptions for body-prose rule: technical terms, proper nouns, LaTeX, slugs, frontmatter keys, and the structural ## headings shown in English throughout this document (e.g., ## Accomplished, ## Section Status, ## Issues) may stay English. Treat English example templates in this SKILL as structural illustrations, not language directivesmanuscript/. research/**/note.md is draft fact material. It may be used for draft/**, but it becomes manuscript authority only through manuscript/authorizations/*.md snapshots created by /meeting. This preserves the human approval boundary even when /write runs autonomouslyAskUserQuestion is prohibited. Users are often away, and asking questions interrupts the session and wastes time. Text output is limited to the final report only. Work silentlyagenda.md and leave it to /auto. Do not launch researcher or scout yourselfBash("sleep ...") is prohibited. Polling is prohibited. For waiting on agent completion, use only Pattern A / B/write {N} — Set the cycle limit to N (default: 5). Hereafter referred to as MAX_CYCLES.
| Term | Definition |
|---|---|
| Session | An entire /write execution |
| Cycle | One iteration of judgment → task execution → result collection |
| Task | A single agent invocation |
research/ # Read-only — research tree
note.md # Root: thesis, background
story.md # Paper narrative structure
principles.md # Constraints
conventions.md # Project-wide notation and convention ledger
{branch}/note.md # Draft fact layer — what the node established, with derivation/scope/limits
{branch}/conventions.md # Subtree-local notation / convention ledger when needed
{branch}/state.md # Research process (ladder — kind/status in frontmatter)
{branch}/report_*.md # Clean self-contained analyses
concepts/ # Read-only — concept definitions
agenda.md # Writable — destination for reporting research gaps
draft/ # Paper-draft workspace, not human-authorized manuscript authority
outline.md # Paper outline (generated by outliner)
conventions.md # Terminology and notation conventions
sections/{N}_{slug}.md # Per-section drafts (generated by writer)
versions/v{N}.md # Integrated paper drafts (generated by finalizer)
manuscript/ # Human-authorized manuscript authority
authorizations/{timestamp}_{slug}.md # Meeting snapshots of approved note.md artifacts
outline.md # Authorized outline, if promoted
sections/{N}_{slug}.md # Authorized manuscript sections, if promoted
versions/v{N}.md # Authorized integrated manuscript versions, if promoted
.logs/
{timestamp}_review_{slug}.md # reviewer output
{timestamp}_audit.md # reference-auditor output
{timestamp}_write.md # Permanent session record
last_write_session.md # Session handoff (overwrite each session)
| Agent | Role |
|---|---|
| outliner | Design the overall paper structure from the narrative structure and research tree |
| writer | Draft a specified section as an academic paper |
| reviewer | Verify the logical consistency of a section |
| finalizer | Integrate all sections and produce the final version |
| reference-auditor | Verify the mechanical accuracy of references and citations |
Bash("date '+%Y-%m-%dT%H:%M'"). At session end, obtain the log path via bash .scripts/log-path.sh write and use the captured start timestamp in the log heading.logs/last_write_session.md (if it exists)research/note.md (thesis, background) + research/story.md (narrative structure) + research/principles.md + research/conventions.md (if exists)ls research/ → read children's note.md (draft facts) + conventions.md (if exists) for established knowledge and notation, and state.md frontmatter for kind/statusconcepts/ for relevant concept definitions as neededdraft/outline.md (if it exists)draft/sections/*.md)manuscript/authorizations/*.md (if any) to determine what content is approved for manuscript promotionWriting readiness check:
agenda.md, report to the user in the final report, and exitNarrative authority check: research/story.md is a paper-narrative surface owned by /launch, /meeting, and /write, not by /auto. During /write, update it only when drafting exposes a better manuscript order, storyline, or section positioning that should persist beyond the draft outline. Do not use story.md to record facts, research state, worker tasks, or child-routing conditions; those belong in findings.md, state.md, plan.md, or map.md.
Authorization check:
manuscript/authorizations/*.md exists, work only in draft/**. Do not create or update manuscript/ prose from unapproved note.mdresearch/**/note.md unless a later meeting authorization covers that newer textdraft/**, or report the missing approvalDecide the next action based on the current state:
Phase flow:
draft/outline.mddraft/sections/ (multiple sections in parallel)draft/versions/manuscript/**, preserving scope and exclusions from the authorization snapshots. Do not wait for unrelated sections to finishPhases are guidelines; judge flexibly. If a review reveals insufficient content, record the research gap in agenda.md, put that section on hold, and proceed with others.
manuscript/ is not a more polished draft folder. It is the human-authorized paper surface. Promotion means rewriting the authorized snapshot content into paper prose while preserving its mathematical scope, caveats, and source/project boundaries.
Before writing any manuscript/** file:
manuscript/authorizations/*.md snapshot(s) that authorize the contentPromotion may occur whenever a relevant draft unit is ready and matching authorization exists; it is not blocked by unrelated unfinished sections. If manuscript promotion would require unapproved bridging claims, new research, or scope expansion beyond the snapshot, do not promote that part. Record the missing approval or missing research in agenda.md and report it.
Maximize parallelization. Always launch independent tasks together.
Launch method: Use the same Pattern A / Pattern B as /auto.
Prompt template:
Each agent is defined in .claude/agents/{agent}.md.
Invoke it with subagent_type="{name}". Write only task-specific information:
## Task
{specific instructions}
Dynamic data by agent:
Assigned section: #{N} {title} (slug: {slug}) / Related nodes: {paths} / Evidence: {paths} / Authorization snapshots: {paths, if promoting to manuscript} / For revisions: Review report: {path}Target section: draft/sections/{N}_{slug}.md / Related nodes: {paths}Audit report: {path} (if available)Target deliverable: {path}Retrieve deliverable paths from task return values and Read as needed:
agenda.md (which node is lacking what).logs/last_write_session.md (overwrite):
bash .scripts/log-path.sh write (returns .logs/{YYMMDD_HHMM}_write.md); write to that path (permanent record — never overwrite):
# Write YYYY-MM-DD HH:MM
## Accomplished
- {sections drafted, reviewed, finalized}
## Section Status
- {per-section status: not started / drafted / review PASS / FAIL}
## Issues
- {research gaps reported, blockers}
## Manuscript Promotion
- {manuscript files changed and authorization snapshots used, or "none"}
Use the timestamp captured at session start (step 1).agenda.md if anygit add {changed draft/manuscript/log/agenda paths} && git commit -m "write: {concise summary of achievements}"