paper-drafting-plan
Skill0 starsChanged 4 months agoMITView on GitHub
Use when a research phase/result finishes and Gavin wants to decide where each new result, analysis component, figure, table, control, limitation, or planned experiment belongs in the main paper and appendices.
In this repository5 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
31 rules. About 0 are common, 23 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈23
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use this skill after a research phase, result checkpoint, deck, audit, or major analysis completes.
- Distinctive: line 33
Use when the user says or implies:
- Very specific: line 42
Do not use for a pure literature review, full manuscript drafting, or venue formatting unless the user asks.
- Distinctive: line 47
Read the project status anchors first:
- Distinctive: line 53
Read the phase result summary files before raw tables:
- Distinctive: line 57
Only inspect raw CSV/JSON when counts, denominators, or artifact coverage need verification.
- Distinctive: line 61
Create or update a project-local markdown source file named one of:
- Very specific: line 104
if a .tex source exists, show rough rendered draft text for that section/subsection.
- Distinctive: line 105
if the node is only planned, show the writing intent, claim boundary, gate, and supporting artifact/code paths.
- Distinctive: line 125
Update these files after each completed phase.
- Very specific: line 152
If a result already has a provenance entry, link the HTML and markdown ledger to that provenance file rather than duplicating every command …
- Distinctive: line 156
Use appendices as lettered top-level buckets and numbered subsections within each bucket:
- Distinctive: line 183
When new experimental phases accumulate, add later appendix letters rather than overloading A-D.
- Distinctive: line 191
If Gavin asks for an HTML link he can open while away from the server, expose the dashboard through the existing project browser/Cloudflare …
- Distinctive: line 208
Keep it standalone: no remote CSS, JS, fonts, or CDN dependencies.
- Very specific: line 209
Use normal local path text (/home/<user>/...) rather than file:// links unless Gavin asks.
- Distinctive: line 211
Add a visible "source generated from" note if the HTML was generated from an existing markdown plan whose date differs from today's date.
- Very specific: line 213
If you cannot verify a code path, mark it needs provenance instead of inventing one.
- Distinctive: line 214
Prefer a hierarchy + preview layout over one giant dense table when the user is discussing manuscript organization.
- Distinctive: line 215
If a public/openable link is needed away from the server, serve the static dashboard through the existing project browser/http-server + …
- Distinctive: line 221
Use this shape in replies:
- Very specific: line 235
Use a plain code block: start with `
only, not`text. - Very specific: line 238
Keep columns short: Item, Main, Appx, Status, Gate.
- Distinctive: line 243
Before assigning a result to the main paper, answer:
- Distinctive: line 256
After updating the plan, report:
- Distinctive: line 267
Use monospace aligned tables in plain triple-backtick code blocks.
- Very specific: line 268
Start code blocks with `` only.
- Distinctive: line 269
Do not use Markdown pipe tables for this skill, because Discord shows them raw and unaligned.
- Distinctive: line 272
If a cell is too long, continue it on a new line under the same column.
- Distinctive: line 279
Treating planned work as done: Keep incomplete phases in a planned section with explicit gates.
- Distinctive: line 281
Relying on chat memory: Always ground placements in local artifacts and write the durable plan file.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Paper Drafting Plan
Overview
Use this skill after a research phase, result checkpoint, deck, audit, or major analysis completes. The goal is not to immediately write polished prose. The goal is to keep a durable map from research artifacts to manuscript locations so that valuable work is not lost:
- what belongs in the main paper;
- what belongs in appendices;
- what is only a control/limitation/caveat;
- what is not paper-ready yet but may become useful;
- what remains blocked or planned.
For Gavin's projects, update a project-local planning document each time, rather than relying on Discord history. Prefer concise section/appendix ledgers with artifact paths and claim boundaries.
When Gavin asks whether a mature research project is ready to become a conference paper and uploads an older draft plus a venue author kit, do not only give a strategic yes/no. Create a paper-specific workspace, import the old draft as a theory/source seed, import the venue template into a manuscript directory, and produce the markdown + HTML paper-plan dashboard in the same pass. For the July 2026 nonlinear SAE / AAAI pattern, see references/nonlinear-sae-aaai-paper-planning-2026-07.md.
When to Use
Use when the user says or implies:
- "phase is done; update the paper plan"
- "where should these results go in the paper?"
- "organize main paper and appendix"
- "keep track of everything we have done"
- "what have we got for the manuscript so far?"
- "after this phase, call/update the paper drafting plan"
Do not use for a pure literature review, full manuscript drafting, or venue formatting unless the user asks; use research-paper-writing for those broader tasks.
Required Inputs To Inspect
- Resolve the project root from the Discord channel / router / user message.
- Read the project status anchors first:
handbook.mdtodo.mdRECENT_CHAT.mdor equivalent handoff file- existing paper workspace (
paper/...) if present
- Read any project-local naming or terminology notes before updating the plan. For Value Action, inspect
/home/<user>/value_action/docs/VALUE_ACTION_S_AND_V_METRIC_RENAMING.mdand use S1/S2/S3 + V1/V2 naming rather than old Q1-Q5 names. For nonlinear SAE plans that extend EV/L0 comparisons into auto-interpretability, dominance, or redundancy, usereferences/nonlinear-sae-dominance-aware-metric-plan.md: keep fixed-ksparse-regime wins separate from interpretability claims until dominance-stratified auto-interp and high-dominance redundancy checks are planned/run. - Read the phase result summary files before raw tables:
RUN_SUMMARY.md,*_SYNTHESIS.md,*_RESULTS.md,*_PLAN.md- presentation
README.mdfiles - paper
README.md,main.tex, section files, appendix files, provenance ledgers
- Only inspect raw CSV/JSON when counts, denominators, or artifact coverage need verification.
Durable Output Files
Create or update a project-local markdown source file named one of:
paper/<paper-name>/PAPER_DRAFTING_PLAN.md
paper/PAPER_DRAFTING_PLAN.md
PAPER_DRAFTING_PLAN.mdAlso create or update an adjacent static HTML companion:
paper/<paper-name>/PAPER_DRAFTING_PLAN.html
paper/PAPER_DRAFTING_PLAN.html
PAPER_DRAFTING_PLAN.htmlChoose the paper-specific location if a paper workspace exists. Treat the markdown as the durable text source and the HTML as Gavin's always-readable planning dashboard. Both files should carry the same Last updated, project root, paper root, and source-plan metadata.
The markdown file should include:
# Paper Drafting Plan
Last updated: YYYY-MM-DD
Project root: ...
Paper root: ...
HTML companion: ...
## Current Paper Thesis
## Main Paper Section Plan
## Appendix Plan
## Result-to-Section Ledger
## Result-to-Code / Artifact Links
## Planned / Not Yet Ready
## Open Claim Hygiene Questions
## Next Update TriggerThe HTML companion should be a standalone, dependency-free file with inline CSS/JS and should include:
- a compact paper thesis / current drafting decision panel;
- a clickable hierarchy for main-paper sections, subsections/subsubsections/paragraph nodes, appendix sections/subsections, and planned-but-undrafted nodes;
- a preview panel for each hierarchy node:
- if a
.texsource exists, show rough rendered draft text for that section/subsection; - if the node is only planned, show the writing intent, claim boundary, gate, and supporting artifact/code paths;
- for section-level nodes, include child subsection buttons and a drawer with full text including children; that full-node drawer must also include the rendered tables, figures, and diagrams referenced anywhere in those child subsections;
- if a
- main-section cards or tree nodes showing section, claim role, draft status, and linked
.texfile when present; - appendix cards/tree nodes with stable appendix letters/subsections;
- table/figure previews where possible: surface linked
\input{tables/...}files as preview/source blocks and available figures/images as browser previews, while clearly noting that browser rendering is not final paper rendering; - a result-to-section ledger with status chips (
draft-ready,needs writeup,planned,exploratory, etc.); - a result-to-code/artifact ledger linking local paths for scripts, analysis folders, tables, decks, browsers, and provenance files;
- open claim-hygiene questions and next drafting gates;
- filter/search controls if the ledger is large;
- a collapsible left-hand hierarchy for main sections, subsections, appendix sections, and planned-but-undrafted nodes; default view should show only first-level nodes, with per-node expand/collapse buttons plus a show-all/collapse-all control;
- a right-hand preview panel: if a
.texsource exists, show rough rendered draft text; if not drafted, show the plan/claim boundary; parent section previews should expose child subsection links and a full-node preview option; - citations and references styled as distinct colored inline chips rather than raw LaTeX;
- formula/math notation rendered as readable browser math (inline math chips and display-math blocks with subscripts/superscripts/fractions/symbols) rather than showing raw LaTeX commands like
\mathbb,\frac,\begin{align}, or\[...\]; - basic manuscript typography preserved in previews: section/subsection/subsubsection/paragraph headings should render as headings,
\textbf{}as bold,\emph{}as italics, list items as browser lists, and blockquotes/other simple markdown-like structure where feasible; - for the Value Action-style implementation details and pitfalls Gavin corrected in June 2026, consult
references/value-action-html-dashboard-2026-06.md; - table inputs rendered as readable HTML tables when possible, and figures/diagrams embedded as image previews when available; do not show raw LaTeX table source as the primary preview;
- print-friendly styling so Gavin can export it to PDF or screenshot it.
Detailed implementation pattern: references/html-preview-dashboard.md. For Discord-thread delivery and Value Action-style preview artifacts, also consult references/discord-thread-artifact-paper-preview.md. Prefer a reproducible builder script under the paper workspace (for example scripts/build_paper_planning_dashboard.py or scripts/build_paper_preview_mode.py) over hand-editing large static HTML dashboards.
Update these files after each completed phase. If the update is large, preserve important prior decisions in an archive section rather than deleting them.
Main Paper Planning Rules
For each new result/component, decide whether it is:
- Main claim — belongs in a main Results section, with a short table/figure and tight claim.
- Method standard — belongs in Methods or Experimental Setup.
- Control baseline — may belong in main Results if it changes interpretation; full details go appendix.
- Case study — one or two representative examples in main; full inventory in appendix.
- Diagnostic / caveat — Discussion or Limitations; detailed evidence appendix.
- Infrastructure / browser / tooling — Reproducibility or appendix unless central to the paper.
- Planned but incomplete — keep in
Planned / Not Yet Ready; do not write as a result.
For every main-paper placement, record:
section/subsection:
claim role:
artifact paths:
code / generating scripts:
source data paths:
canonical tables/figures:
claim boundary:
status: draft-ready | needs table | needs figure | needs verification | plannedIf a result already has a provenance entry, link the HTML and markdown ledger to that provenance file rather than duplicating every command inline. If provenance is missing, add a short needs provenance gate in the result-to-code/artifact ledger.
Appendix Organization Rules
Use appendices as lettered top-level buckets and numbered subsections within each bucket:
Appendix A — Metric definitions and formulas
A1 S1 answer-site association screen
A2 S2 content/action-span association screen
A3 S3 pre-decision contrast-contribution screen
A4 V1 singleton causal decisiveness validation
A5 V2 small-bundle Shapley causal decisiveness validation
A6 P0 whole-probe quality diagnostic
Appendix B — Feature pools and feature identity
B1 pool definitions
B2 manifest/union accounting
B3 explanation/validation pipeline
Appendix C — Dataset/task/value distribution
C1 prompt/task variants
C2 answer-format variants
C3 value/family/item balance
Appendix D — Artifact index and reproducibility
D1 scripts
D2 data roots
D3 browser/deck/export pathsWhen new experimental phases accumulate, add later appendix letters rather than overloading A-D. Keep experimental appendices separate from non-experimental/method appendices unless Gavin asks otherwise.
HTML Companion Dashboard Rules
The HTML file is for planning and discussion, not for replacing provenance ledgers or manuscript source. Build it so Gavin can open it directly in a browser from the project checkout.
If Gavin asks for a “paper preview mode,” “web-like paper preview,” or says it should be “like the Value Action one,” build a separate PAPER_PREVIEW_MODE.html when useful: a manuscript-browser interface with a collapsible hierarchy, right-side reading pane, planned nodes for undrafted result sections, and rough-rendered seed text only where real source text exists. Do not invent final paper prose for planned sections; show plan, claim boundary, gates, and artifact paths instead. If he asks to attach it to the Discord thread, register it as a Thread File via scripts/manage_discord_web_log.py add-file and verify the Cloudflare URL. See references/discord-thread-artifact-paper-preview.md.
If Gavin asks for an HTML link he can open while away from the server, expose the dashboard through the existing project browser/Cloudflare pattern rather than only returning a local file path. See references/public-paper-planning-link.md for the reusable quick-tunnel + served-entrypoint pattern.
Minimum structure:
<header> title, last updated, source markdown path, project/paper roots
<nav> jump links to preview browser, result ledger, artifact links, gates
<section id="browser"> two-pane hierarchy + preview panel
<aside> searchable/filterable tree for main sections/subsections and appendices
<main> selected-node preview: drafted text or planned intent/gate
<section id="ledger"> filterable result-to-section table/cards
<section id="artifacts"> result-to-code/artifact links, or per-node artifact cards
<section id="gates"> planned work, claim hygiene questions, next triggerImplementation rules:
- Keep it standalone: no remote CSS, JS, fonts, or CDN dependencies.
- Use normal local path text (
/home/<user>/...) rather thanfile://links unless Gavin asks; browsers often block file links differently across contexts. - Make status visually scannable with small colored chips, but keep all information readable as text.
- Add a visible "source generated from" note if the HTML was generated from an existing markdown plan whose date differs from today's date.
- Include enough artifact/code paths for each result that Gavin can jump from "what section do I write?" to "what script/table/report supports it?".
- If you cannot verify a code path, mark it
needs provenanceinstead of inventing one. - Prefer a hierarchy + preview layout over one giant dense table when the user is discussing manuscript organization.
- If a public/openable link is needed away from the server, serve the static dashboard through the existing project browser/http-server + Cloudflare tunnel pattern and verify the public URL. Explicitly mention that Cloudflare quick-tunnel URLs are temporary unless a named tunnel is configured.
Result-to-Section Ledger Template
For Gavin-facing chat responses from this skill, show the plan as monospace aligned tables inside plain triple-backtick code blocks, not Markdown pipe tables. Discord shows Markdown pipe tables as raw text with unaligned columns, which Gavin cannot read.
Use this shape in replies:
Phase / result Main placement Appx Status
------------------------------ ---------------------- ----- ------------
S/V metric standard Methods A draft-ready
all-56 S/V item sweep Results E draft-ready
raw/PCA dense controls Results F draft-ready
Task2 prompt reversal Results / Limits G needs writeup
Task1 clean-option branch Methods / Results H needs writeupFormatting rules:
- Use a plain code block: start with
only, nottext. - Pad columns with spaces so headers and row values line up visually.
- Split wide ledgers into multiple small aligned tables by status/topic.
- Keep columns short:
Item,Main,Appx,Status,Gate. - Wrap long cells onto continuation lines under the same column instead of letting any row push horizontally past the visible page/chat width.
Claim Hygiene Checklist
Before assigning a result to the main paper, answer:
- What exactly is the unit of analysis? (
feature,value_item,prompt cell,branch, etc.) - Is the result descriptive/probe-only, causal, Shapley over a small bundle, or free-generation steering?
- Are answer-token, action-span, pre-answer, and reason-token sites kept separate?
- Are normal/reversed option order and answer-format variants kept branch-labeled?
- Are controls and dense baselines represented?
- Is there a clear limitation if scaffold/position/syntax features dominate?
- Are counts/denominators verified from artifacts rather than memory?
- Does the result need a figure/table before it is draft-ready?
Reporting Back To Gavin
After updating the plan, report:
- Where the durable markdown plan file is.
- Where the HTML companion dashboard is.
- The current main-paper skeleton.
- The appendix A/B/C... organization.
- A result-to-section ledger for completed and planned phases.
- The biggest not-yet-written or not-yet-done pieces.
Formatting rule for Gavin-facing replies:
- Use monospace aligned tables in plain triple-backtick code blocks.
- Start code blocks with
only; do not use a visible language label liketext. - Do not use Markdown pipe tables for this skill, because Discord shows them raw and unaligned.
- Split wide tables into several smaller aligned tables.
- Keep columns short:
Item,Main,Appx,Status,Gate. - If a cell is too long, continue it on a new line under the same column. Never let long cells push into the next column or off the PDF/chat page.
Common Pitfalls
- Dumping every result into Results. Main paper needs a small number of claim-bearing results; appendices can hold the full audit trail.
- Mixing evidence classes. S1/S2/S3 screens, V1/V2 causal validations, small-bundle Shapley, and free-generation steering are different evidence types. During transition, mention old Q names only parenthetically when needed.
- Forgetting completed controls. Negative/control results often shape the central claim and should be planned explicitly.
- Treating planned work as done. Keep incomplete phases in a planned section with explicit gates.
- Using appendix letters inconsistently. Once Appendix E is all-56 audit, do not later reuse E for prompt robustness.
- Relying on chat memory. Always ground placements in local artifacts and write the durable plan file.
- Returning only a local path when Gavin asks for an anywhere-openable link. For Discord/mobile access, publish or link the HTML through a served browser directory and Cloudflare tunnel, verify the public URL, and state the quick-tunnel persistence caveat.
Verification Checklist
- Project root and paper root resolved.
- Existing paper
main.tex/ section files inspected if present. - Latest project
todo.mdand handoff/recent-chat notes inspected. - Every completed phase has a proposed main and appendix location.
- Appendix letters and subsection IDs are unique and stable.
- Planned/incomplete work is clearly separated from completed results.
- Claim boundaries and evidence class are recorded.
- Durable
PAPER_DRAFTING_PLAN.mdupdated. - Static
PAPER_DRAFTING_PLAN.htmlcompanion updated and opens without external dependencies. - Result-to-code/artifact links are recorded or explicitly marked
needs provenance. - Response includes the markdown plan path, HTML path, and compact section ledger.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

