writing-fragments
What it does
It runs an interview that captures bits of text you might later use in an article, saving each one into a single Markdown file. It is for writers who are still gathering ideas before shaping them.
When to use it
- ✓When you have many ideas about a topic but no structure yet.
- ✓When you want to capture good sentences as you talk them through.
- ✓When you are still exploring what you want to write about.
Skill link
https://github.com/mattpocock/skills/blob/main/skills/in-progress/writing-fragments/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Interview me about my ideas on remote work, and save every good sentence to a draft file.”
5 new skills a week. 1 minute to read.
How it works
The agent asks you questions and saves each useful fragment into a single Markdown file as it appears. It does not add outlines or structure at this stage.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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>FAQ
Do the fragments have to make sense to someone else?
No. They only need to be readable by the author, and they do not need to stand on their own.
Where is the draft saved?
In a single Markdown file, whose path you choose at the start of the session.
When do I shape the draft into an article?
That is a separate step. This skill only explores, and a different skill handles shaping.
Details
Original description by the author
Writing, explore: mine raw fragments, no structure yet.
repo: mattpocock/skills
Popularity
- GitHub stars
- 310k
- Ranking position
- #118
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
ask-matt
310kLets your agent act as a guide to a set of coding skills, pointing you to the right one for your situation, from idea to shipped code.
code-review
310kChecks your changes against your repo's coding standards and the original spec, running both reviews side by side before you merge.
domain-modeling
310kBuilds a shared project glossary and records key design decisions, so your code uses the same words your team uses.
implement-spec
310kTurns a finished spec and its tickets into working code, handling the tickets in order and bringing them together on one branch.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.