byline: Command for Claude Code

.claude/commands/write-series.md

write-series is a command for Claude Code from indianic/byline. It costs 24 tokens per session (2,045 once invoked), scanned A, original, MIT.

A command that writes and publishes one article through Byline, an article-writing service, using a fixed sequence of steps. It creates a brief, writes the HTML, and verifies the result.

In plain words
What is it for?
Use it to create and publish one article for a specified persona, topic, website, and word count.
Why use it?
It reduces the number of tool calls needed for a single article while retaining the required checks. It also makes the choice between evergreen and recent-news writing explicit.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is indianic/byline's own configuration. It tells Claude Code how to work on byline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything byline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to indianic/byline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/indianic/byline/main/.claude/commands/write-series.md
Clone the repo
git clone --depth 1 https://github.com/indianic/byline

Made for: Claude Code.

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-series

README.md
[![agentmods](https://agentmods.dev/badge/commands/indianic/byline/write-series/github.svg)](https://agentmods.dev/commands/indianic/byline/write-series)
Your own site
<a href="https://agentmods.dev/commands/indianic/byline/write-series"><img src="https://agentmods.dev/badge/commands/indianic/byline/write-series/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for write-series

Your own site · 80×15
<a href="https://agentmods.dev/commands/indianic/byline/write-series"><img src="https://agentmods.dev/badge/commands/indianic/byline/write-series.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,045 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00024 $0.02045
Opus 5.5 $0.00010 $0.00818
Sonnet 5.5 $0.00005 $0.00409
Haiku 4.5 $0.00002 $0.00204

Measured 1mo ago against content hash 57369673e975, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-series 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 1mo 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/commands/write-series.md · 159 lines

How it starts

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

Write and publish through Byline. Arguments: $ARGUMENTS

Without --count (or with --count 1), write and publish ONE article on the given topic — skip straight to Per-article steps below and run it once.

With --count N (N from 2 to 12), the argument after site/persona is a THEME, not a single topic: plan a pillar-and-spokes series of N articles on that theme, get the user's approval on the titles, then run Per-article steps once per article.

Step 0 — Plan the series (only when --count > 1)

Call plan_series with the persona, the theme, count, and the target site. It returns a brief (prose instructing you how to propose titles), a series_id, and one seed per slot — each slot already carries a distinct hook, arc, texture and author presence, so the titles you propose do not need to worry about sounding alike. Planning never fails: if the series runs longer than one of those dimensions has options, some slot is forced to repeat it, and that slot's repeats array names which dimension — check it, and vary that slot's title angle a little harder by hand if it's non-empty.

Follow the returned brief exactly: propose article 1 as the pillar (the theme's head question, for a reader who knows nothing) and every later slot as a spoke (one long-tail question, answered in depth, linking back to the pillar once). Give each title its primary keyword and the question it answers. Then stop and show the list to the user before writing anything else. Byline does not invent the titles — you do, from the brief — and nothing gets written until the user approves the list or asks for changes.

Once approved, run Per-article steps once per slot, in order, passing that slot's seed as build_writing_brief's seed, plan_series's series_id as series throughout, and that slot's approved title/keyword/question as the topic for step 1.

Per-article steps

The point of this command is that a correct article costs six tool calls, not the eighteen a series run used to take. Do not add calls the steps below do not ask for.

Read the full file on GitHub · 159 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. 1mo ago Changed · +70 lines 57369673e975
  2. 2mo ago First seen · 89 lines · 24 tokens per session scan A fc0d2b2a88bc

Subscribe to this mod's changes

write-series is a command published in the GitHub repository indianic/byline (2 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 2,045 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

write-series compared with commands from other repositories

write-series next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-seriesindianic/bylineCommand21mo agoMITA24Claude Code
checklistgithub/spec-kitCommand148ktodayMITA13Claude Code
clarifygithub/spec-kitCommand148ktodayMITA27Claude Code
specifygithub/spec-kitCommand148ktodayMITA13Claude Code
convergegithub/spec-kitCommand148ktodayMITA35Claude Code
speckit.bug.testgithub/spec-kitCommand148ktodayMITA13Claude Code
analyzegithub/spec-kitCommand148ktodayMITA26Claude Code