Copy writer
Two jobs:
- ingest: read sample articles, analyze them deeply, and save a reusable style profile with its evidence (per-article reference cards and metrics).
- use: write a new piece on a given idea that a regular reader of that platform or author would not tell apart from the real thing.
A profile describes how a source writes. It never stands in for what to say: facts, numbers, product behaviour and quotes come from the user, from the provided material, or from research, never from the profile.
Files in this skill:
references/analysis-framework.md: the dimensions to analyze. Read it before every ingest.references/profile-template.md: the exact format ofprofile.md, reference cards andsources.md. Follow it on every ingest.references/review-checklist.md: the conformance review. Run it before delivering every draft.scripts/text_stats.py: measurable style metrics (analyzesources,comparea draft against a profile). Profiles are not part of this skill: each user keeps their own, outside the skill and outside any repo it was installed from (see "Where profiles live").
Commands
/copy-writer ingest platform <name> source: <url | file> [<url | file> ...]
/copy-writer ingest author <name> source: <url | file> [...]
/copy-writer use <profile>[+<author>] write <idea> [type: <content type>] [length: <words>]
/copy-writer use <profile>[+<author>] rewrite <text or file>
/copy-writer review <profile>[+<author>] <text or file>
/copy-writer list
/copy-writer show <profile>
/copy-writer where
Natural-language requests map onto the same commands ("learn how the Akuity blog writes from these posts", "write this in the akuity-blog style").
Profile resolution:
use akuity-blog: platform only. Write in the platform's house voice: the traits shared across its authors. No personal voice, including the user's own and Claude's defaults.use akuity-blog+graz: platform decides structure, formatting, technical conventions and product naming; the author decides voice, rhythm and lexicon (see "Layering").use graz: author only, for pieces outside any platform.- A bare name is looked up in
platforms/first, thenauthors/. If it exists in both, ask which one.
Where profiles live
Profiles belong to the user, not to the skill. Never write them inside this skill's folder or inside the repository or plugin cache it came from: that copy is shared with everyone who installs the skill, is read-only in some environments and is replaced on every update.
Resolve the profiles home in this order:
- A location the user names in the conversation.
- The
COPY_WRITER_HOMEenvironment variable, if set. - The default:
~/.copy-writer/in the user's home folder.
Ways to reach it:
- Local shell (Claude Code, desktop): use the path directly; create it on first ingest.
- Cloud session linked to the user's computer: use the device file tools on the same path on their computer; ask for access to the folder if it isn't connected (create it there first if it doesn't exist).
- No access to the user's files at all: say so. For
ingest, deliver the finished profile folder as a zip and tell the user to unpack it into their profiles home (or attach it next time); foruse/review, ask them to attach the profile's folder or zip.
where prints the resolved profiles home and how it was chosen. The user can
point it at a synced or versioned folder (a private git repo, a cloud-drive
folder) if they want backup or sharing; that's their choice, not the skill's.
Layout inside the profiles home:
~/.copy-writer/
├── README.md # created on first ingest: what this folder is
├── platforms/<name>/
│ ├── profile.md # the style guide (what `use` reads first)
│ ├── metrics.json # aggregate metrics from text_stats.py
│ ├── sources.md # source list: id, url, title, author, date, type
│ ├── references/ # one analysis card per source (S01-<slug>.md)
│ └── .sources/ # full article texts (other people's writing: never publish)
└── authors/<name>/ # same layout
After each ingest, tell the user the path of the files written.
ingest
1. Set up
- Parse type (
platform/author), name (kebab-case) and sources. - If the profile exists, this is an incremental ingest: read
profile.mdandsources.md, skip sources already listed, and continue numbering (S01, S02, …). - Fewer than 5 sources overall: proceed, but mark the profile
confidence: lowand say how many more would help. 8–15 varied sources is the target.
2. Get the verbatim text
The analysis needs the article's real text, not a summary.
- Files (md, txt, html, pdf, docx): read them directly.
- URLs: get the full text in this order, stopping at the first that works: a shell fetch converted to Markdown (keep headings, lists, code blocks, links and image alt text); a browser tool's page-text read; WebFetch with a prompt asking for the complete article text verbatim in Markdown, with nothing summarized or omitted. Strip navigation, footers, cookie banners, related-post lists and comments.
- Check the result is plausibly complete (word count, ending). If a source is truncated or unreachable, say so and skip it rather than analyzing a fragment.
Save each text to .sources/SNN-<slug>.md with a small header
(url, title, author, date). Record author and date for every source: the
platform analysis depends on them.
3. Measure
python3 scripts/text_stats.py analyze <profile>/.sources/*.md --out <profile>/metrics.json
The numbers anchor the profile (sentence length, paragraph shape, heading density, code density, pronoun use, punctuation habits, recurring terms). Interpret them; don't paste them raw into rules.
4. Analyze each source
Read each article in full and write its reference card in references/
following references/profile-template.md, covering every dimension of
references/analysis-framework.md. A card holds:
- the article's outline (heading sequence with one-line purpose per section);
- how it opens and how it closes, and what each move is doing;
- the patterns observed in each dimension, each backed by a short excerpt (one or two sentences, under 30 words) where wording matters;
- what is distinctive about this article compared with the rest.
Excerpts are evidence, not copies: keep them short and few (about 5–10 per
card). The full text stays in .sources/.
5. Synthesize the profile
Compare the cards and write profile.md per the template:
- Every rule names its evidence (
[S02, S05, S07]) and its prevalence (7/9 sources). A rule seen in one source is a variant, not a rule. - Separate invariants (hold almost everywhere) from variants by content type (tutorial, announcement, release notes, opinion, case study…).
- Write rules as instructions a writer can follow and check ("Open with the reader's operational pain in 1–2 sentences; no definition-first openings"), not as adjectives ("engaging", "clear").
- Include the don'ts: things the source never does.
Platform profiles: house voice vs authors. For each rule, check whether it
holds across several authors. Only cross-author traits go into the house voice;
single-author traits go under "Author variance". If an author profile exists for
the user (or the user says which sources are theirs), list those sources but
exclude them from house-voice rules unless no other authors exist; then say
so in the profile. This keeps use <platform> free of the user's own voice.
Author profiles describe the person's voice independent of any platform: note which traits look imposed by a platform's editing and which follow them across venues.
6. Report
Tell the user: sources analyzed (and skipped, with why), confidence, the 5–8 most defining traits, gaps (for example "all sources are release posts; no tutorials seen"), and the files written.
use
1. Load
- Read
profile.md(and the author's, when layered). Readmetrics.json. - Read the reference cards of the 2–3 sources closest to the requested content
type, and their
.sources/text when available, to calibrate against real examples, not only against rules.
2. Frame
From the idea, settle: content type, reader, the one point of the piece, target length (default: the profile's median for that type), and the material it rests on. Ask only if the content type or the core facts are missing and can't be inferred; otherwise state the assumptions at the top of the reply.
Never invent facts, figures, customer names, quotes, benchmarks or product
behaviour to fit a pattern. Where the style calls for one (for example "opens
with a customer number") and none was given, put a visible
[TODO: …] placeholder.
3. Outline, then draft
- Build the outline from the profile's structure for that content type: title pattern, opening move, section sequence and heading style, closing move, CTA.
- Offer 3 title options following the profile's headline patterns.
- Draft section by section, applying voice, rhythm, lexicon and technical conventions. Code, YAML and commands follow the profile's conventions and must be correct.
4. Review
Run references/review-checklist.md, including:
python3 scripts/text_stats.py compare draft.md --profile <profile>/metrics.json
Fix what fails, then re-run. Deliberate deviations are allowed when the idea needs them; list them.
5. Deliver
The draft (Markdown unless the user asks otherwise; in a coding environment
write <slug>.md), followed by a short note: assumptions, open [TODO]s,
deliberate deviations from the profile.
Layering (<platform>+<author>)
| Dimension (framework section) | Who decides |
|---|---|
| Purpose, audience, content-type structure (1, 2) | platform |
| Argumentation (3) | platform's patterns, author's preferred moves |
| Voice and tone (4) | author, within the platform's limits (for example its formality floor and how it treats the product) |
| Sentence and paragraph rhythm (5) | author |
| Lexicon (6) | author, but platform terminology and product naming always win |
| Technical content, formatting (7, 8) | platform |
| Signature moves (9) | platform's; at most 1–2 of the author's |
| Never-do list (10) | union of both |
rewrite and review
- rewrite: keep the content and claims of the given text and restyle it to the profile; flag anything the profile's structure needs that the text lacks.
- review: don't rewrite. Return the checklist results as concrete findings (location, rule broken with its evidence ids, suggested fix), most important first.
list and show
where: the resolved profiles home and which rule chose it.list: the profiles home path, then every profile with type, source count, confidence and last-updated date.show <name>: the profile's summary, defining traits and gaps, without dumping the whole file.