agentleFS
yuryalencaryuryalencar/ai-skills/skills/write/SKILL.md

write

Skill0 starsChanged 12 days agoMITView on GitHub

Write or update one section of a scientific paper in LaTeX, using the course-derived model for that section. Sections are abstract, introduction, results-discussion, conclusions, title, cover-letter and response-to-reviewers. Name the section as the argument; with no draft it interviews you and drafts, with an existing draft it updates it to match the paper, applies your suggestions, resumes it, or rewrites it. Use when asked to write, draft, create, update, revise, retarget or finish an abstract, introduction, results and discussion, conclusions, title, cover letter, or response to reviewers.

35 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use read, hunt and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    read

    Read pages from a document. Returns MinerU markdown (preferred) or PyPDF text, with optional page screenshots and sub-image fetching. When markdown is available, a figure_images_meta catalog is included — use the figures parameter to fetch specific sub-image pixels. Triggers include "read page 5", "what does page 12 say", "show me the chart on page 3", "extract pages 3-5".

    Also in 6 projects that use this

  • ninehillsSkill

    hunt

    Finds root cause before applying fixes for errors, crashes, regressions, failing tests, broken behavior, and screenshot-reported defects. Use when users report in any language errors, crashes, broken behavior, regressions, failing tests, screenshot evidence, or something that used to work and now fails. Not for code review or new features.

    Also in 4 projects that use this

  • vltingSkill

    think

    Lightweight plan-to-execution pipeline. Explores codebase, runs council deliberation, presents plan for approval, then executes via /run.

    Also in 7 projects that use this

  • genomewalkerSkill

    health

    Soul system health check with remediation

    Also in 5 projects that use this

  • AnthropicSkill

    analyze

    Answer data questions -- from quick lookups to full analyses. Use when looking up a single metric, investigating what's driving a trend or drop, comparing segments over time, or preparing a formal data report for stakeholders.

    Also in 6 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Look for the section in src/ and in main.tex, following the \input list rather than assuming file names.

    line 61
  2. Distinctive:

    No draft exists: Run the reference's Create mode.

    line 64
  3. Distinctive:

    Read the chosen reference in full and follow it.

    line 74
  4. Very specific:

    Check the ripple: results changed means abstract, conclusions and the introduction gap may be stale.

    line 83

“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/write

One entry point for writing every section of a paper. The researcher says what to write; this skill loads the procedure for that section and runs it. The sections are not interchangeable, so each has its own model, interview and checks in references/.

Usage

/write abstract
/write results-discussion
/write introduction src/introduction.tex
/write cover-letter                      # asks for the journal if unknown
/write                                   # infers the section, else asks

Sections

SectionReferenceTypical file in src/
Abstractabstractabstract.tex
Introductionintroductionintroduction.tex
Results and discussionresults-discussionresults.tex, discussion.tex or one file
Conclusionsconclusionsconclusion.tex or conclusions.tex
Titletitlemain.tex
Cover lettercover-letteroutside the manuscript
Response to reviewersresponse-to-reviewersoutside the manuscript

Methods is not offered. The course proposes no model for it, so none was invented; see todo/ in the repository. If asked, say so and offer to help in plain conversation instead.

Before anything else

  1. Check for paper-out/STATE.md and read it, with decisions.md and the relevant interviews/*.md, before asking anything. State what you already know in two or three lines.
  2. Load the style rules. Invoke paper-writing-style and read its references/human-voice.md and references/latex-conventions.md. The project's own CLAUDE.md outranks them.
  3. Lock the language. Language of the user's first message, whole run. LaTeX output is always English.

Pick the section

  1. From the argument. Match it loosely: results, discussion and results and discussion are one section; conclusion, rebuttal, reviewer response, cover, letter all map to a row above.
  2. From a file path, if given: the file's name or contents say which section it is.
  3. From context, if there is no argument: the open file, or the next step in paper-out/STATE.md. Say what you inferred and let the researcher correct it.
  4. Otherwise ask. Offer the sections most likely given the state (at most four, plus "other"), or list all seven in chat. Never guess a section and start writing.

An unrecognised section is a question, not an error: show the table and ask.

Pick the mode

Look for the section in src/ and in main.tex, following the \input list rather than assuming file names.

  • No draft exists. Run the reference's Create mode.
  • A draft exists. Say what you found and ask which applies: update it (the reference's Update mode offers reconcile with the paper, apply suggestions, or resume), or rewrite it from scratch (Create mode, after confirming that the existing text may be discarded). If the researcher's request already says "update", "revise", "fix" or "finish", skip the question.
  • Cover letter and response to reviewers often live outside the manuscript. Ask for the file if you cannot find it, and treat a letter written for another journal as a draft to retarget.

Run it

Read the chosen reference in full and follow it. Do not reimplement it here and do not mix procedures from two sections.

After it finishes

  • Update paper-out/ before you finish, as references/session-state.md in paper-writing-style sets out, creating it if absent: this section's row in STATE.md, interviews/<section>.md, a decisions.md entry for each decision, open-questions.md for anything unresolved. Name the files you wrote. A run is not finished until this is done.
  • Check the ripple: results changed means abstract, conclusions and the introduction gap may be stale; conclusions changed means the abstract's closing and the title may be stale. Name the affected sections and suggest /write <section> for each. Do not run them unasked.
  • Suggest /review <section> on what was just written, and /ask-paper for the next step.

Hard rules

  • Never invent a result, number, method detail or citation key. Emit the project's \todo{} macro, or % TODO: where there is none.
  • Never write to the researcher's files before they approve the text. paper-out/ is the exception: update it every run, and say so.
  • Never emit an em dash (---).
  • Never start writing until the section is settled and the reference's interview has what it needs.
  • Never write a section the course gives no model for. Say so instead.
  • Never finish a run without updating paper-out/. Say which files you changed.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.