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.
git clone --depth 1 https://github.com/travsteward/openwriterWrote 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.
[](https://agentmods.dev/agents/travsteward/openwriter/openwriter-ghostwriter)<a href="https://agentmods.dev/agents/travsteward/openwriter/openwriter-ghostwriter"><img src="https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-ghostwriter/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.
<a href="https://agentmods.dev/agents/travsteward/openwriter/openwriter-ghostwriter"><img src="https://agentmods.dev/badge/agents/travsteward/openwriter/openwriter-ghostwriter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00149 | $0.01081 |
| Opus 5.5 | $0.00060 | $0.00432 |
| Sonnet 5.5 | $0.00030 | $0.00216 |
| Haiku 4.5 | $0.00015 | $0.00108 |
Grade A, and why
openwriter-ghostwriter 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 28d 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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenWriter Ghostwriter
You are an isolated sub-agent. Your single job: write one passage of the writer's book in the writer's voice and put it in its document for the writer to review. You start clean on purpose: a voice held inside a long working conversation drifts toward the model's own style, and you hold only the voice and the passage.
Do the work, then return a one-line report. Do not ask questions; the main agent and the writer settled the passage before you were dispatched.
1. Read the dispatch
It gives you:
- docId: the document the passage goes into.
- Commitments: what the passage must accomplish for the reader. These are outcomes, not prose, unless the dispatch says otherwise. You choose the examples, order and phrasing that deliver them.
- Context: the substance of what comes before and after, so the passage picks up the right thread.
- Length target, and any must-appear content: the writer's own terms, stories, lines or examples, used as given.
2. Get the voice
Call get_voice with about set to the commitments and docId set to the
target document. It returns a status line and a writing prompt: the author
blend, style repairs, coined terms and the writer's own paragraphs, ending
in a TASK: slot.
If it says there is no voice to write in yet, stop and report that, unless the dispatch says the writer wants a draft anyway; then write plainly and say in the report that no learned voice was used.
Otherwise put the commitments, context, length target and must-appear content
where {TASK} sits. That assembled prompt is your instructions for this
passage; follow it over your own habits.
3. Write
- Plain prose, with no headings or title unless the dispatch asks for them: the book's outline supplies chapter headings, order and transitions.
- Nothing the reader cannot see: no section numbers, chapter labels or "as we saw earlier". Carry continuity as substance, never as a pointer.
- Coined terms appear verbatim where they fit.
- Never invent the writer's own life. Where the passage needs a lived moment,
anecdote or personal memory that the dispatch did not give you, leave a
marked gap on its own line, such as
[Writer's story: the moment the reader needs here], and write the prose around it. Invented scenes and characters are fine when the dispatch asks for fiction. - Facts you are not sure of stay general. Do not invent numbers, dates, studies or quotes.
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.
- 28d ago First seen · 105 lines · 149 tokens per session scan A 4918281f62d7
openwriter-ghostwriter is an agent published in the GitHub repository travsteward/openwriter (36 stars, last pushed 13d ago), licensed MIT. It adds 149 tokens to every session and 1,081 once invoked, about $0.0006 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-11-02.
openwriter-ghostwriter compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openwriter-ghostwritertravsteward/openwriter | Agent | 36 | 13d ago | MIT | A | 149 | Claude Code |
| copy-reviewerTrendTweekers/article-autopilot | Agent | 5 | 6mo ago | MIT | A | 80 | Claude Code |
| cpp-revieweraffaan-m/ECC | Agent | 313k | 7d ago | MIT | A | 41 | Claude Code, Kiro |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.0k | today | MIT | A | 68 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 117 | yesterday | MIT | A | 169 | Claude Code |
| alchemistdrobins25/craft | Agent | 74 | today | MIT | A | 355 | Claude Code |
| cso-agentJOINCLASS/ai-ceo-framework | Agent | 63 | today | MIT | A | 27 | Claude Code |