write-section

write-section is a skill for Claude Code, Codex from AlessandroCaforio/Academic-Writing. It costs 20 tokens per session (2,352 once invoked), scanned A, original, MIT.

A thesis-writing workflow for drafting or revising sections such as the literature review, abstract, conclusion, and appendices. It uses the section type and the project's existing writing conventions to guide the work.

In plain words
What is it for?
It is for writing a new section, revising a chapter, drafting an abstract or conclusion, or preparing appendix content.
Why use it?
It reduces the need to remember separate preparation and review steps for each kind of thesis section.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alessandrocaforio/academic-writing/write-section
Any agent
npx skills add AlessandroCaforio/Academic-Writing --skill write-section
Clone the repo
git clone --depth 1 https://github.com/AlessandroCaforio/Academic-Writing

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for write-section

README.md
[![agentmods](https://agentmods.dev/badge/skills/alessandrocaforio/academic-writing/write-section.svg)](https://agentmods.dev/skills/alessandrocaforio/academic-writing/write-section)
Your own site
<a href="https://agentmods.dev/skills/alessandrocaforio/academic-writing/write-section"><img src="https://agentmods.dev/badge/skills/alessandrocaforio/academic-writing/write-section.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,352 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.02352
Opus 5 $0.00010 $0.01176
Sonnet 5 $0.00004 $0.00470
Haiku 4.5 $0.00002 $0.00235

Measured 5d ago against content hash b7bf6d5cd43e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

write-section scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/write-section/SKILL.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Write Section Skill

Write or revise a section of the thesis. This is a generalizable skill that adapts to any chapter based on section-specific templates and the established conventions from Chapters 3-5.

Arguments

  • introduction — Redirects to the /write-introduction skill (specialized)
  • literature [section] — Write/revise a section of Ch.2 (e.g., literature 2.1.4)
  • abstract — Write the thesis abstract (~250 words)
  • conclusion — Write Ch.6 (Conclusion)
  • appendix A or appendix B — Write appendix content
  • revise <chapter> — Revise an existing chapter (e.g., revise data, revise methodology)

If argument is introduction, invoke the /write-introduction skill instead.


Pre-Writing Protocol (ALL sections)

Before writing any section, you MUST:

  1. Read the target file to understand current state (stub? outline? partial draft? complete?)
  2. Read thesis/CLAUDE.md for conventions, bib keys, custom commands
  3. Read CLAUDE.md (root) for project context, measure definitions, findings
  4. Read .claude/reference/literature-evidence.md for concrete findings from 20+ papers — use for any section that references literature
  5. Read at least 40 lines from 03_data.tex, 04_methodology.tex, and 05_results.tex to internalize the writing style
  6. Read references.bib to know which citations are available

Using the Narrative Architect

For literature-heavy sections (Ch.2 subsections, Ch.1 Antecedents, Ch.6 Interpretation), dispatch the narrative-architect agent BEFORE drafting. Provide:

  • Goal: What the section needs to establish
  • Target section: e.g., "§2.2 — Economic Shocks and Political Behavior"
  • Constraints: Length, must-cite papers, emphasis points

The architect returns a paragraph-by-paragraph outline with specific paper citations and transition strategies. Use this as the backbone for your draft.

Style Requirements (from Chapters 3-5)

Read the full file on GitHub · 268 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 268 lines · 20 tokens per session scan A b7bf6d5cd43e

Subscribe to this mod's changes

write-section is a skill published in the GitHub repository AlessandroCaforio/Academic-Writing (17 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 2,352 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

proofcheck

Systematically verify mathematical proofs in statistics/ML theory paper appendices. Use when user says "proof check", "check proofs", "verify proofs", "audit paper", "检查证明", "证明验证", or wants to verify correctness of a paper's mathematical proofs.

gyf9712/stat-theory-skills · 57 tokens

theory-simulation

Bridge between theoretical results and Monte Carlo simulation, built to top-stat-journal standards (AoS, JASA, JRSS-B, Biometrika, Bernoulli). Two modes: (1) DESIGN mode — for each theoretical claim, design new simulations that verify rates, coverage, stress-test assumptions, and reveal theory-improvement…

gyf9712/stat-theory-skills · 214 tokens

proof-repair

Generate self-consistent repair plans for mathematical proof issues found by /proofcheck, with literature-backed support. For each problematic assumption, model, proposition, or theorem, proposes fixes that preserve the full dependency chain and searches arXiv, Semantic Scholar, and Google Scholar for new references…

gyf9712/stat-theory-skills · 114 tokens

theory-sharpen

Systematically assess whether a paper's theoretical results can be strengthened: relax assumptions, sharpen rates, align theory with model and experiments, and benchmark against state-of-the-art literature. Use when user says "sharpen theory", "strengthen results", "relax assumptions", "improve rates", "理论提升", "放宽假设"…

gyf9712/stat-theory-skills · 105 tokens

theory-design

Design a coherent theoretical framework for a new statistics / ML theory research topic, paper-type aware. Three modes — Theory paper (explain phenomena or provide new theoretical tools), Methodology paper (propose a new method with theoretical guarantees), Application paper (apply existing methods to scientific data…

gyf9712/stat-theory-skills · 227 tokens

proof-writer

Writes rigorous mathematical proofs for ML/AI theory. Use when asked to prove a theorem, lemma, proposition, or corollary, fill in missing proof steps, formalize a proof sketch, 补全证明, 写证明, 证明某个命题, or determine whether a claimed proof can actually be completed under the stated assumptions.

gyf9712/stat-theory-skills · 73 tokens