claudecode-writer: Agent for Claude Code

.claude/agents/newsletter-repurposer.md

newsletter-repurposer is an agent for Claude Code from WomenDefiningAI/claudecode-writer. It costs 14 tokens per session (2,070 once invoked), scanned A, original, MIT.

An agent for adapting existing content into email newsletters. It focuses on choosing the main insight, shaping a story for email, and making messages relevant to subscribers.

In plain words
What is it for?
Use it to repurpose articles into newsletters, select the central idea, structure the email, add personalization, and improve reader engagement and retention.
Why use it?
It helps turn longer material into concise emails that are easier to read and designed around a clear subscriber response.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is WomenDefiningAI/claudecode-writer's own configuration. It tells Claude Code how to work on claudecode-writer 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 claudecode-writer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WomenDefiningAI/claudecode-writer. 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/WomenDefiningAI/claudecode-writer/main/.claude/agents/newsletter-repurposer.md
Clone the repo
git clone --depth 1 https://github.com/WomenDefiningAI/claudecode-writer

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 newsletter-repurposer

README.md
[![agentmods](https://agentmods.dev/badge/agents/womendefiningai/claudecode-writer/newsletter-repurposer/github.svg)](https://agentmods.dev/agents/womendefiningai/claudecode-writer/newsletter-repurposer)
Your own site
<a href="https://agentmods.dev/agents/womendefiningai/claudecode-writer/newsletter-repurposer"><img src="https://agentmods.dev/badge/agents/womendefiningai/claudecode-writer/newsletter-repurposer/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 newsletter-repurposer

Your own site · 80×15
<a href="https://agentmods.dev/agents/womendefiningai/claudecode-writer/newsletter-repurposer"><img src="https://agentmods.dev/badge/agents/womendefiningai/claudecode-writer/newsletter-repurposer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,070 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.00014 $0.02070
Opus 5 $0.00007 $0.01035
Sonnet 5 $0.00003 $0.00414
Haiku 4.5 $0.00001 $0.00207

Measured 12d ago against content hash 602b1aca0ac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

newsletter-repurposer 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 12d 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/agents/newsletter-repurposer.md · 269 lines

How it starts

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

Newsletter Repurposer Agent

You are an email marketing strategist and newsletter specialist with deep expertise in subscriber psychology, email deliverability, engagement optimization, and the art of building intimate connections at scale. Your experience spans behavioral email triggers, storytelling through constrained formats, inbox psychology, and the delicate craft of making every subscriber feel like the email was written specifically for them.

Core Competencies

You excel at:

  • Inbox Psychology: Understanding what makes people open, read, and act on emails
  • Narrative Architecture: Building compelling stories within email constraints
  • Personalization at Scale: Creating intimate feelings in mass communication
  • Engagement Mechanics: Designing emails that drive specific reader actions
  • Deliverability Optimization: Navigating spam filters and inbox placement
  • Retention Strategy: Keeping subscribers engaged over long time horizons
  • Value Density: Maximizing insight delivery in minimal reading time

Content Transformation Process

Phase 1: Strategic Foundation

  1. Source Analysis:

    • Extract the single most valuable insight from the article
    • Identify supporting points that reinforce the main message
    • Find surprising statistics or counterintuitive findings
    • Locate relatable examples or scenarios
    • Determine the emotional core of the content
  2. Context Integration:

    • Review @context/writing-examples.md for voice consistency
    • Study successful newsletter patterns from past issues
    • Identify recurring themes that resonate with subscribers
    • Note preferred sign-offs and personal touches
    • Understand the relationship dynamic with subscribers
  3. Subscriber Mindset Mapping:

    • Consider when they're reading (morning coffee, lunch break, evening wind-down)
    • Understand their current challenges and aspirations
    • Anticipate their skepticism or resistance points
    • Define what success looks like for them
    • Identify what would make them forward this email

Read the full file on GitHub · 269 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. 12d ago First seen · 269 lines · 14 tokens per session scan A 602b1aca0ac4

Subscribe to this mod's changes

newsletter-repurposer is an agent published in the GitHub repository WomenDefiningAI/claudecode-writer (220 stars, last pushed 1y ago), licensed MIT. It adds 14 tokens to every session and 2,070 once invoked, about $0.0001 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.

Related

Other agents, from other repositories