원클릭으로
archiving
Use after completing a plan or when .writing/ has accumulated stale data and needs a clean reset for the next task.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use after completing a plan or when .writing/ has accumulated stale data and needs a clean reset for the next task.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate scientific figures as raster PNG via Codex's native image_gen (collaborating-with-codex bridge). Two roles — (1) design exploration, generating several diverse direction drafts in parallel for the user to pick from; the chosen draft is either used directly (manuscript, slides/PPT rework) or handed to tikz-figures as a replication reference, at the user's choice; (2) final raster output for pictorial figures (lighting/texture/3D/hand-drawn concept art, graphical abstracts) or whenever the user prefers a polished PNG. Codex runs its imagegen-scientific-schematics skill for design and visual review; this skill supplies the writing-side entry point, prompt guidance, and publication checklist. Includes an opt-in pastel modern-ML style preset (ICLR/NeurIPS 2024-2025 airy look) for when the user asks for pastel / modern ML figure styling.
Evidence-reliability check. Walks every % claim tag in LaTeX manuscript/*.tex, confirms \cite{} citekeys resolve against .writing/refs.bib (exported from Zotero), runs semantic match against network-fetched abstracts to catch hallucinated or mismatched citations, optionally checks numeric/table consistency, flags any [NEEDS-EVIDENCE] or draft-only markers. Run on demand or when the skeleton is ready for the human author.
Use when turning an approved outline and its claim stubs into LaTeX manuscript prose, writing each section's paragraphs under the claim-first discipline (resolve evidence, then write `% claim: id`-tagged prose). Reads the per-section writing standards, style cautions, and terminology ledger. Trigger after outlining, when `.writing/manuscript/*.tex` is empty or a section still needs prose; before claim-verification and polish. Also trigger on "draft the paper", "write the Methods section", "turn the outline into prose".
Use whenever a writing task will span more than 5 tool calls, multiple sessions, or risks hitting context-window limits, writing a paper, a long literature thread, a multi-section revision, anything where losing mid-task state would hurt. Creates a persistent `.writing/` directory that acts as working memory on disk, so the outline, claims, findings, and progress survive context resets. Every other superpower-writing skill assumes this directory exists; initialize it first. Trigger even when the user does not explicitly ask for "planning".
Polish prose in three passes: strip AI-writing tells, apply Strunk's rules for clarity, then hold every research claim to its evidence. Two modes: edit in place, or diff-first where the original is untouched until the user approves each change. Use when the user asks to 润色 / 改写 / 精修 / 打磨 a draft, or says "polish", "refine", "tighten", or "improve". Preserves meaning, numbers, citations, and [NEEDS-EVIDENCE] markers; never smooths an unsupported claim into a supported-sounding one.
Builds a grounded, venue-compliant response to reviewers for a CS/systems/ML paper. Atomizes every reviewer comment into an issue board with a fixed action vocabulary, enforces three finalize-blocking gates (provenance, commitment, coverage), drafts in strict R-A-C format with page cross-references, and wires every claimed change to a real manuscript location. Use when the user says "rebuttal", "reply to reviewers", "respond to reviews", "OpenReview response", or "ICML/NeurIPS rebuttal".
| name | archiving |
| description | Use after completing a plan or when .writing/ has accumulated stale data and needs a clean reset for the next task. |
Archive the active project in .writing/ into a structured archive directory, consolidate and polish project memory based on current repo facts, and reset .writing/ for the next task.
Core principle: The target is the active project (design, plan, findings, progress), not "the session."
Announce at start: "I'm using the archiving skill to archive this project and consolidate memory."
Prerequisite: .writing/progress.md and .writing/findings.md must exist with content beyond the empty template.
.writing/progress.md — extract task names from the Task Status Dashboard.writing/plan.md exists, derive the feature name from itAskUserQuestion to let the user confirm or modify the archive nameRead all active project files:
.writing/design.md (if exists).writing/plan.md (if exists).writing/progress.md.writing/findings.md.writing/agents/*/findings.md (if any exist)Generate a concise summary.md with this format:
# Archive: <name>
**Date:** YYYY-MM-DD
## Summary
<!-- 2-3 sentences: what was done, what was the outcome -->
## Key Decisions
<!-- From findings.md Technical Decisions table — only decisions with long-term value -->
## Lessons Learned
<!-- Patterns discovered, gotchas, things to remember for similar future work -->
## Key Files Changed
<!-- Important files that were created or significantly modified -->
Keep it concise. The summary is a quick-reference document. Aim for 30-60 lines. The full design, plan, findings, and progress are preserved alongside it.
mkdir -p .writing/archive
${CLAUDE_PLUGIN_ROOT}/scripts/unique-filename.sh .writing/archive "<name>" ""
mkdir -p "<returned-path>"
${CLAUDE_PLUGIN_ROOT}/scripts/snapshot-save.sh "<returned-path>"
summary.md to the archive directoryThis step performs a fact-based memory maintenance pass — not just adding new findings, but optimizing existing memory against current repo state.
4a. Explore current facts
~/.claude/projects/. Read MEMORY.md and any topic files in that directory only — do NOT glob across all projects.git diff --stat to see recent changes4b. Extract new findings
.writing/findings.md, identify items worth long-term retention:
4c. Generate unified optimization proposal
Present to user in this format:
Memory Optimization Suggestions:
New items (from this session's findings)
- [new finding 1]
- [new finding 2]
Compress (existing memory that can be condensed)
- [memory item X] -> [compressed version]
Update (inconsistent with current repo facts)
- [outdated memory Y] -> [corrected version]
Remove (no longer applicable)
- [obsolete memory Z] — reason: [why]
If there are no suggestions in a category, omit that category entirely.
4d. User confirmation
AskUserQuestion to present the suggestions4e. Execute writes
MEMORY.md stays under 200 lines — move detailed content to topic filesMEMORY.md${CLAUDE_PLUGIN_ROOT}/scripts/writing-reset.sh
This removes design.md, plan.md, progress.md, findings.md, and agents/, then recreates clean templates from canonical sources. archive/ and stash/ are preserved automatically.
Display a concise completion summary:
Archive complete:
- Archive: .writing/archive/<name>/
- Memory: <N> items added, <N> compressed, <N> updated, <N> removed
- .writing/ reset to clean state
Empty .writing/: Run ${CLAUDE_PLUGIN_ROOT}/scripts/check-writing-state.sh — if it returns empty, warn the user and ask if they still want to archive. An empty archive has no value.
No memory changes needed: If there are no new findings worth persisting and existing memory is already accurate, skip Step 4c-4e entirely. Report "Memory already up to date."
Multiple sessions in one .writing/: If progress.md shows multiple session headers, include all of them in the archive summary.
Legacy archives: Existing single-file archives in .writing/archive/*.md remain valid. The archive listing and historical archive checks should handle both formats.