rewrite

rewrite is a command for Claude Code from seite-sh/seite. It costs 0 tokens per session (2,019 once invoked), scanned A, a copy of rewrite, MIT.

A command for revising existing blog posts using analysis, research, brand-voice, and SEO guidance.

In plain words
What is it for?
Use it to update statistics, examples, references, keywords, and sections in an existing post.
Why use it?
It helps bring outdated articles up to date while keeping useful structure and filling missing information.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to update statistics, examples, references, keywords, and sections in an existing post.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/seite-sh/seite/rewrite
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/seite-sh/seite

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 rewrite

README.md
[![agentmods](https://agentmods.dev/badge/commands/seite-sh/seite/rewrite/github.svg)](https://agentmods.dev/commands/seite-sh/seite/rewrite)
Your own site
<a href="https://agentmods.dev/commands/seite-sh/seite/rewrite"><img src="https://agentmods.dev/badge/commands/seite-sh/seite/rewrite/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 rewrite

Your own site · 80×15
<a href="https://agentmods.dev/commands/seite-sh/seite/rewrite"><img src="https://agentmods.dev/badge/commands/seite-sh/seite/rewrite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,019 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 100% copy Near-identical to another mod 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.00000 $0.02019
Opus 5.5 $0.00000 $0.00808
Sonnet 5.5 $0.00000 $0.00404
Haiku 4.5 $0.00000 $0.00202

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

Security

Grade A, and why

rewrite 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.

Origin

This is a copy

100% identical to rewrite — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

seite-sh/.claude/commands/rewrite.md · 260 lines

How it starts

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

Rewrite Command

Use this command to update and improve existing blog posts based on analysis findings.

Usage

/rewrite [topic or analysis file]

What This Command Does

  1. Takes existing blog post content and improvement recommendations
  2. Rewrites content with updated information and SEO optimization
  3. Maintains original article structure where effective
  4. Adds new sections to fill content gaps
  5. Updates outdated statistics, examples, and references

Process

Pre-Rewrite Review

  • Original Content: Read the existing article thoroughly
  • Analysis Report: Review findings from /analyze-existing if available
  • Research Brief: Check if new research brief exists for updated angles
  • Brand Voice: Verify alignment with current @context/brand-voice.md
  • SEO Guidelines: Apply latest requirements from @context/seo-guidelines.md
  • Competitive Context: Understand what's changed in SERP since original publication

Rewrite Strategy

Determine Scope

Based on analysis, classify the rewrite level:

  • Light Update (20-30% changes): Fix stats, add keywords, improve meta
  • Moderate Refresh (40-60% changes): Restructure sections, expand content, update examples
  • Major Rewrite (70-90% changes): New outline, significant expansion, fresh angle
  • Complete Overhaul (90%+ changes): Essentially new article on same topic
What to Keep
  • Sections that are still accurate and comprehensive
  • Unique insights or perspectives that remain valuable
  • Well-performing structure or formatting
  • Examples or case studies that are still relevant
  • Internal links that remain appropriate
What to Update
  • Outdated statistics with current data (note date/source)
  • Old screenshots or examples with current versions
  • Deprecated terminology or processes
  • Missing keywords in headings and body
  • Weak or missing meta title/description
  • Insufficient internal links
What to Add
  • New sections to fill competitive content gaps
  • Recent industry trends or developments
  • Additional examples or use cases
  • Better introduction hook if current one is weak
  • Stronger conclusion and CTA
  • Missing SEO elements (keywords, links, structure)

Read the full file on GitHub · 260 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 First seen · 260 lines · 0 tokens per session scan A 3035ad0ff600

Subscribe to this mod's changes

rewrite is a command published in the GitHub repository seite-sh/seite (25 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,019 tokens. A static security scan graded it A with 0 findings. It is 100% identical to rewrite, differing in 0 lines, and is treated as a copy.