Writing Fragments skill for Claude

Writing, explore: mine raw fragments, no structure yet.

Writing Fragments SKILL.md

The full skill file from mattpocock/skills (MIT).

<what-to-do>

This is pure explore: widen the space of what could be written without committing to structure. Committing is exploit, a separate skill's job. Run a grilling session that produces fragments, interviewing the user relentlessly about whatever they want to write about. Imposing phases, outlines, or article structure is out of scope here.

As fragments emerge from either side of the conversation, append them to a single markdown file.

If the user did not pass a path, ask once where to save the document, then remember it for the rest of the session.

Capture fragments from the very first thing the user says, including the initial prompt.

On first write, put a single H1 at the top with a working title (it can change later) and nothing else: no metadata, no TOC, no date.

</what-to-do> <supporting-info>

What is a fragment

A fragment is any piece of text that might survive into the final article. It must be readable by the author (the author can tell what it means), but it does not need to define its terms or be comprehensible to a cold reader. The bar is "is this a piece of good writing?", not "is this a self-contained argument?"

Fragments are deliberately heterogeneous. Examples of what could be a fragment:

  • A sharp sentence you'd want to deploy somewhere but don't yet know where.
  • A claim with a one-line justification.
  • A vignette: a thing that happened, a code snippet, a scenario, an analogy.
  • A half-thought: "something about how X feels like Y, work this out later."
  • A quote, a piece of dialogue, an overheard line.
  • A list of related observations that hang together by feel.
  • A complaint, a confession, a punchline.
  • A leading word: a compact metaphor or coinage the whole piece can hang on (one term that names the idea, the way tracer bullets or fog of war names a whole pattern).

Of these, the leading word is the most valuable fragment to land. It is load-bearing: name the right one in explore and it shapes the structure, the transitions, and the title later, paying dividends through the entire exploit phase. When the conversation circles a recurring idea, push to coin a word for it.

The novelist's diary is the model: years of unstructured noticings that later get mined for raw material. Fragments are noticings.

File format

# Working title

A first fragment lives here.

It can be multiple paragraphs. It can include lists, code, quotes: whatever
shape the fragment naturally takes.

---

A second fragment.

---

> A quoted line that the user wants to keep around.

A reaction to it.

---

- A cluster of related observations
- That hang together by feel
- And want to be near each other

Fragments are separated by a horizontal rule (\n---\n). No headings inside the body. No tags. No order beyond the order they were added.

Writing rhythm

Append silently. Don't ask permission for each fragment. Mention what you added in passing ("adding that"), but don't interrupt the conversation with save dialogs.

Before every write: re-read the file from disk. The user may have edited, reordered, or deleted fragments between turns, so preserve their changes. Never overwrite the file; only append (or, if the user asks, edit a specific fragment in place).

The user can say "cut the last one", "rewrite that one sharper", "merge those two" at any time. Treat those as first-class instructions.

</supporting-info>

How to install Writing Fragments

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit mattpocock/skills/skills/in-progress/writing-fragments#main ~/.claude/skills/writing-fragments

Codex

npx degit mattpocock/skills/skills/in-progress/writing-fragments#main ~/.codex/skills/writing-fragments

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Writing Fragments skill do?

Writing, explore: mine raw fragments, no structure yet.

+How do I install Writing Fragments in Claude Code?

Copy the skill folder into ~/.claude/skills/writing-fragments, for example with "npx degit mattpocock/skills/skills/in-progress/writing-fragments#main ~/.claude/skills/writing-fragments". Claude Code loads it automatically and uses it when a task matches.

+Does Writing Fragments work with ChatGPT or Codex?

Yes. Writing Fragments uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/writing-fragments. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Writing Fragments free?

Writing Fragments is published on GitHub by mattpocock under the MIT license, which allows free use.

Related writing & editing skills

  1. Humanizer

    Rewrite AI-sounding text so it reads like the writer without changing what it says.

    blader/humanizer★ 70k
  2. Stop Slop

    Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.

    hardikpandya/stop-slop★ 19k
  3. Writing Skills

    Use when creating new skills, editing existing skills, or verifying skills work before deployment

    obra/superpowers★ 319k
  4. Writing Shape

    Writing, exploit: shape raw material into an article, paragraph by paragraph.

    mattpocock/skills★ 327k
  5. Writing Plans

    Use when you have a spec or requirements for a multi-step task, before touching code

    obra/superpowers★ 319k
  6. Discernment Nudge

    Official

    After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans,…

    anthropics/skills★ 197k
  7. Doc Coauthoring

    Official

    Guide users through a structured workflow for co-authoring documentation.

    anthropics/skills★ 197k
  8. Internal Comms

    Official

    A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use.

    anthropics/skills★ 197k
  9. Spec Driven Development

    Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet.

    addyosmani/agent-skills★ 119k

See all writing & editing skills →

More skills from mattpocock

  1. Grill Me

    A relentless interview to sharpen a plan or design.

    mattpocock/skills★ 327k
  2. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k

All skills by mattpocock →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.