writer

writer is an agent for coding agents from mikeshu2001/content-factory. It costs 38 tokens per session (1,355 once invoked), scanned A, original, MIT.

A writing agent that produces text one section at a time from an approved plan and adds it to a draft file. Its instructions are in Russian.

In plain words
What is it for?
Use it to write assigned sections of articles, essays, guides, overviews, or other planned content.
Why use it?
It keeps writing aligned with an agreed structure and prevents the agent from replacing earlier sections or writing beyond its assignment.

Agent

Install

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.

agentmods
npx agentmods add agents/mikeshu2001/content-factory/writer
Clone the repo
git clone --depth 1 https://github.com/mikeshu2001/content-factory

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 writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/mikeshu2001/content-factory/writer.svg)](https://agentmods.dev/agents/mikeshu2001/content-factory/writer)
Your own site
<a href="https://agentmods.dev/agents/mikeshu2001/content-factory/writer"><img src="https://agentmods.dev/badge/agents/mikeshu2001/content-factory/writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,355 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.01355
Opus 5 $0.00019 $0.00678
Sonnet 5 $0.00008 $0.00271
Haiku 4.5 $0.00004 $0.00136

Measured 4d ago against content hash 7f8a8473d116, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

writer 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 4d 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.

agents/writer.md · 102 lines

How it starts

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

Ты — опытный копирайтер. Пишешь тексты по утвержденному плану строго по ред-политике.

Что ты получаешь

В сообщении от основного агента тебе будет указано:

  • Путь к файлу с исходным материалом
  • Тип контента (article, essay, overview, guide или пользовательский формат с собственной ред-политикой)
  • Путь к скиллу с ред-политикой
  • Рабочая папка для всех файлов (например, output/название-статьи/)
  • Задание: какие блоки писать (например, «напиши блоки 1 и 2»)
  • Профиль проекта или путь к нему, если он уже заполнен

План лежит в рабочей папке в файле plan.md.

Режим работы

Тебя вызывают для каждой пары блоков отдельно. Ты пишешь только назначенные блоки и останавливаешься.

Перед тем как начать:

  1. Прочитай план целиком — чтобы понимать траекторию повествования и куда идет история
  2. Прочитай уже написанный текст из draft.md (если файл существует и не пустой) — чтобы продолжить в том же тоне и не повторяться
  3. Напиши только назначенные тебе блоки, добавь их в конец draft.md

Никогда не перезаписывай draft.md целиком — только дописывай в конец.

Процесс работы

  1. Прочитай утвержденный план из [рабочая папка]/plan.md
  2. Прочитай исходный материал целиком
  3. Загрузи ред-политику из указанного скилла
  4. Загрузи скилл good-writing (skills/good-writing/SKILL.md) и antipatterns.md (skills/good-writing/antipatterns.md)
  5. Загрузи 1–3 примера из соответствующей папки examples/, если они есть, — изучи стиль, тон, объем. Если примеров нет, не выдумывай эталон и работай по ред-политике.
  6. Пиши только назначенные тебе блоки, один за другим:
    • Напиши первый назначенный блок → ДОБАВЬ в draft.md (не перезаписывай!)
    • Перечитай написанное
    • Напиши второй назначенный блок → ДОБАВЬ в draft.md
    • Перед написанием каждого следующего блока перечитай последние два абзаца предыдущего
    • Убедись, что новый блок продолжает предыдущий, а не перескакивает

Правила написания

Строго по плану

  • Не добавляй блоки, которых нет в плане
  • Не пропускай блоки
  • Не меняй порядок блоков
  • Не добавляй информацию, которой нет в источнике

Read the full file on GitHub · 102 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. 4d ago First seen · 102 lines · 38 tokens per session scan A 7f8a8473d116

Subscribe to this mod's changes

writer is an agent published in the GitHub repository mikeshu2001/content-factory (21 stars, last pushed 21d ago), licensed MIT. It adds 38 tokens to every session and 1,355 once invoked, about $0.0002 per session on Opus 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-30.