style-clone

style-clone is a skill for Claude Code, Codex from Ckokoski/AuthorAgent. It costs 12 tokens per session (798 once invoked), scanned A, original, MIT.

A writing-style analysis workflow that measures an author’s voice from writing samples and produces a structured profile plus instructions for matching it. A voice profile describes patterns such as sentence structure, vocabulary and punctuation.

In plain words
What is it for?
Use it to analyze at least 5,000 words or a project’s completed chapters, then apply the resulting profile when writing in that author’s voice.
Why use it?
It replaces guesswork about an author’s style with a repeatable analysis that can guide drafting and revision.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyze at least 5,000 words or a project’s completed chapters, then apply the resulting profile when writing in that author’s voice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ckokoski/authoragent/style-clone
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.

Any agent
npx skills add Ckokoski/AuthorAgent --skill style-clone
Clone the repo
git clone --depth 1 https://github.com/Ckokoski/AuthorAgent

Made for: Claude Code, Codex.

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 style-clone

README.md
[![agentmods](https://agentmods.dev/badge/skills/ckokoski/authoragent/style-clone/github.svg)](https://agentmods.dev/skills/ckokoski/authoragent/style-clone)
Your own site
<a href="https://agentmods.dev/skills/ckokoski/authoragent/style-clone"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/style-clone/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 style-clone

Your own site · 80×15
<a href="https://agentmods.dev/skills/ckokoski/authoragent/style-clone"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/style-clone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00012 $0.00798
Opus 5.5 $0.00005 $0.00319
Sonnet 5.5 $0.00002 $0.00160
Haiku 4.5 $0.00001 $0.00080

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

Security

Grade A, and why

style-clone 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 3mo 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.

skills/author/style-clone/SKILL.md · 86 lines

How it starts

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

Style Clone Skill

Analyze the author's writing to create a quantitative Voice Profile, then use it to match their style.

Use the gateway's analyzer — do NOT hand-roll a freeform analysis. AuthorAgent already ships a 47-marker voice analyzer as a first-class service (StyleCloneService). It is deterministic, cheap (no AI call), and returns a structured StyleProfile plus an AI system prompt you can apply to every drafting/revision task. This skill's job is to CALL that service and save the result — not to re-describe the analysis in prose. A parallel markdown-only pass would drift from the real analyzer and produce a worse, unquantified profile.

How to run it

On raw text (5,000+ words → more is better)

Call the analyzer endpoint:

POST /api/style-clone/analyze
Content-Type: application/json

{ "text": "<the author's writing sample>", "source": "manual-paste" }

Response: { "profile": <StyleProfile> } — a 47-marker fingerprint across five axes (sentence structure, vocabulary, punctuation, syntax, voice) plus a ready-to-use systemPrompt for maintaining voice.

On a whole project's completed chapters

POST /api/projects/:id/style-clone

The service gathers the project's completed writing-phase chapters, concatenates them, and analyzes the combined text. Response is the same { "profile": ... }.

After analysis — persist the profile

  1. Save the returned profile's systemPrompt (and key markers) to workspace/soul/VOICE-PROFILE.md so future creative_writing / revision tasks inherit the voice.
  2. Because the analyzer is local and fast, re-run it on new chapters to detect voice drift — compare the fresh markers against the saved profile.

Style check (drift detection)

When asked to check new text against the author's style:

  1. Analyze the new text via POST /api/style-clone/analyze.
  2. Diff its markers against the saved VOICE-PROFILE.md baseline.
  3. Report per axis: ✅ matches, ⚠️ minor drift, ❌ significant departure.
  4. Offer specific suggestions (never rewrite without permission).

Read the full file on GitHub · 86 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. 3mo ago First seen · 86 lines · 12 tokens per session scan A 080acbd50c84

Subscribe to this mod's changes

style-clone is a skill published in the GitHub repository Ckokoski/AuthorAgent (124 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 798 once invoked, about $0.0000 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-08-30.

Related

style-clone compared with skills from other repositories

style-clone next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
style-cloneCkokoski/AuthorAgentSkill1244mo agoMITA12Claude Code, Codex
awesome-chatgpttaishi-i/awesome-ChatGPT-repositoriesSkill3.4kyesterdayCC0-1.0A79Claude Code
awesome-chatgpt-searchtaishi-i/awesome-ChatGPT-repositoriesSkill3.4kyesterdayCC0-1.0B63Claude Code, Codex
api-to-examplesurfmind-space/awesome-surfmindSkill918d agoMITA75Claude Code, Codex
code-translatorsurfmind-space/awesome-surfmindSkill918d agoMITA65Claude Code, Codex
dev-toolkitRbBtSn0w/awesome-copilot-mcpSkill4yesterdayMITA17Claude Code, Codex
cover-letter-buildersurfmind-space/awesome-surfmindSkill918d agoMITA58Claude Code, Codex