install-ghostwriter

A setup wizard for a writing agent that learns your brand voice, topics, and publishing platforms, then creates the agent's files.

In plain words
What is it for?
Use it to create an agent for writing content, adapting it for different platforms, reusing existing material, generating opening ideas, and keeping a library of useful content.
Why use it?
It removes the need to design and configure a content-writing agent from scratch. The resulting agent can produce writing suited to your style and each platform.

Skill for Claude CodeCodex

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 skills/abilityai/abilities/ghostwriter
Any agent
npx skills add Abilityai/abilities --skill ghostwriter
Clone the repo
git clone --depth 1 https://github.com/Abilityai/abilities

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,455 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00036 $0.12455
Opus 5 $0.00018 $0.06228
Sonnet 5 $0.00007 $0.02491
Haiku 4.5 $0.00004 $0.01246

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

Security

Grade B, and why

install-ghostwriter scanned grade B with 1 finding 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

# Container-only config: the Trinity base image bakes ~/.claude/settings.json with
plugins/create-agent/skills/ghostwriter/SKILL.md · 1,443 lines

How it starts

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

Install Ghostwriter

ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of metadata.changelog above — e.g. install-ghostwriter vX.Y — recent: <summary>. Then proceed.

Create a content writer agent that knows your brand voice and writes platform-specific content. Powered by Claude Code and compatible with Trinity for remote deployment, scheduling, and orchestration.

What you'll get:

  • A fully configured agent directory with CLAUDE.md, skills, and Trinity files
  • 5 starting skills: write, set-voice, repurpose, hooks, library
  • A voice profile customized to your writing style
  • Zero API keys required — Claude does all the writing natively
  • Ready for local use or Trinity deployment

Built by Ability.ai — the agent orchestration platform.


STEP 1: Determine Destination

If the user provided a destination path as an argument, use it. Otherwise, ask:

Use AskUserQuestion:

  • Question: "Where should Ghostwriter be installed?"
  • Header: "Location"
  • Show these options:
    1. ~/ghostwriter — Home directory (recommended)
    2. ./ghostwriter — Current directory
    3. Custom path — Let me specify

Default to ~/ghostwriter if no preference.

Expand ~ to the actual home directory using:

echo "$HOME"

Validate the destination does not already exist:

ls -la [destination] 2>/dev/null

If it exists, warn the user and offer:

  1. Pick a different path
  2. Cancel

STEP 2: Domain-Specific Questions

Ask these 4 questions to customize the agent. Each answer directly shapes the generated files.

Q1: Platforms

Use AskUserQuestion:

  • Question: "What platforms do you write for? Select all that apply."
  • Header: "Platforms"
  • multiSelect: true
  • Options:
    1. Twitter/X — Short-form, threads, punchy takes
    2. LinkedIn — Professional long-form, thought leadership
    3. Newsletter — Email-based, editorial voice, subscriber relationship
    4. Blog — Long-form articles, SEO-friendly, evergreen content

Read the full file on GitHub · 1,443 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. 2d ago First seen · 1,443 lines · 36 tokens per session scan B bd40008cf640

Subscribe to this mod's changes

install-ghostwriter is a skill published in the GitHub repository Abilityai/abilities (11 stars, last pushed 14d ago), licensed MIT. It adds 36 tokens to every session and 12,455 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens