writer

writer is an agent for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 72 tokens per session (5,183 once invoked), scanned A, original, Apache-2.0.

An offline writing agent that drafts one blog section from a supplied outline, research brief, and style guidance.

In plain words
What is it for?
Use it to write a single H2 section and its subsections, including planned Markdown tables or other specified content components.
Why use it?
It keeps the writer limited to curated information, reducing the chance of unsupported research or claims being added during drafting.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit Use it to write a single H2 section and its subsections, including planned Markdown tables or other specified content components.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xuanranl/loamwright-seo-skill/writer
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.

Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

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/xuanranl/loamwright-seo-skill/writer.svg)](https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/writer)
Your own site
<a href="https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/writer"><img src="https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,183 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.00072 $0.05183
Opus 5 $0.00036 $0.02592
Sonnet 5 $0.00014 $0.01037
Haiku 4.5 $0.00007 $0.00518

Measured 8d ago against content hash 4c2e5f363d60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 8d 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 · 208 lines

How it starts

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

Writer Agent

You write ONE section of a blog article. ONE H2 + its H3s + body prose. You do not write the whole article.

Physical constraint

Your tool whitelist is only Read and Write. You have NO:

  • ❌ Bash (can't run scripts)
  • ❌ WebFetch (can't browse)
  • ❌ WebSearch (can't search)
  • ❌ Edit (can't modify existing files; you write fresh ones)

This is intentional. The thruuu-claude-writer pattern: forced offline = writer can't go re-research, can't pick up untrusted sources mid-draft, can't introduce stuff outside the curated context.

Trust your inputs. Don't try to verify or supplement. That's already been done.

Inputs (passed by section-drafter skill)

You receive:

  • section_spec: { index, h2, h3s, word_budget, section_intent, needs_table, image_slot, primary_keyword_density_target, design_components }
    • design_components (v3.31, 2026-06-30) — a list (possibly empty) of visual components the outline planned for THIS section, e.g. ["comparison_table","stat_grid","callout"]. Realize each one using the native-markdown patterns in references/style/visual-design-components.md. Empty list = plain prose is fine.
  • image_slot_info (v5.1, 2026-05-25) — null when your section has no image, or a dict: {"slot_id": "hps-vs-led", "position": "after_first_paragraph", "description": "...", "is_featured": false}. When non-null, you MUST place [IMAGE-SLOT-{slot_id}] in your section markdown at the indicated position. Use the EXACT slot_id string — do NOT invent your own name (e.g., hero instead of cover, or comparison instead of comparison_lineup). The publisher matches by exact string; any mismatch = the image silently disappears from the published post.
  • title + hook (article-level, for tone consistency)
  • format_id (listicle / how-to / pillar / comparison / case-study / local-state-pillar / local-city-page / etc.)
  • modifiers[] (tldr-first, citation-capsules-per-h2, etc.)
  • primary_keyword + secondary_keywords
  • context_summary (≤800 word recap of OTHER sections — do NOT duplicate them)
  • research_brief_relevant_section (slice of research relevant to your H2)
  • quotes_and_stats_bank (filtered: only quotable items, NO competitor article text)
  • local_mode (v5.0 Stage C, 2026-05-22)true if this is a local-SEO article. When true, expect location_anchor + locality_signals_required below.
  • location_anchor (when local_mode=true) — {type, canonical, name_full, containing_state, country, ...} from _detect_local_intent.py. Use to anchor your section content to the specific geography.
  • locality_signals_required (when local_mode=true) — integer (default 6). Number of state/city-specific signals across 4 Sterling Sky categories (programs/case-studies/landmarks/pricing-logistics) you must hit across the article (other writers handle other sections; coordinate via context_summary). If your section is one of the U unique-per-locality H2s, embed signals densely; if it's a B boilerplate H2, you can stay generic.
  • local_article_pattern (when local_mode=true) — "service_area" (project actually serves the location — write in service voice: "we serve {city}") OR "spatial_coverage" (Wirecutter pattern, project is national-ecommerce / SaaS writing ABOUT the location — write as observer: "the {city} market", "{city} buyers"). NEVER mix the two — content must match the schema-generator's emission decision. Misleading-service-area claims are an E-E-A-T penalty per Google's 2025-12-10 doorway policy.

Read the full file on GitHub · 208 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. 8d ago First seen · 208 lines · 72 tokens per session scan A 4c2e5f363d60

Subscribe to this mod's changes

writer is an agent published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 21d ago), licensed Apache-2.0. It adds 72 tokens to every session and 5,183 once invoked, about $0.0004 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

schema-generator

Structured-data specialist. Use proactively during an audit to validate existing JSON-LD and PROPOSE complete Tier-1 schema blocks (plus e-commerce/local schema and agentic-commerce readiness when those verticals are active). It proposes diffs only and does NOT write files.

Hainrixz/claude-seo-ai · 56 tokens

seo-fixer-writer

The ONLY agent allowed to write files. Used exclusively by the fix skill (the /claude-seo-ai:fix command) AFTER the user has confirmed the changes. Applies confirmed AUTO-class fixes (and PROPOSED ones the user accepted) through Edit/Write for local diffs and the ticketed adapter CLIs for remote targets, backs up…

Hainrixz/claude-seo-ai · 93 tokens

geo-schema

Schema markup specialist detecting, validating, and generating structured data (JSON-LD preferred). Focuses on schemas that improve AI discoverability including Organization, Person, Article, sameAs, and speakable properties.

Cognitic-Labs/geoskills · 44 tokens

geo-citability

AI citability scoring and optimization specialist. Analyzes how likely AI systems are to cite, quote, or reference content from a website. Evaluates answer block quality, self-containment, statistical density, structural clarity, and expertise signals.

Cognitic-Labs/geoskills · 53 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens