Agent skill

Ghostwriter

by superzhang21 in superzhang21/ghostwriter

A skill your agent uses when switching AI persona/language style.

CC-BY-NC-ND-4.0Auto-check passedWriting & Content

Install Ghostwriter

skills CLI
$ npx skills add superzhang21/ghostwriter --skill ghostwriter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install superzhang21/ghostwriter ghostwriter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/superzhang21/ghostwriter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill .claude/skills/ghostwriter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ghostwriter
GitHub stars
302
Token cost
~759 tokens
SKILL.md length
167 words
Files
2 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
CC-BY-NC-ND-4.0

At a glance

A skill your agent uses when switching AI persona/language style.

  • Works in 4 steps: 安装 → 列出所有角色 → 切换角色 → …
  • Switching AI persona/language style
  • SKILL.md covers Overview, When to Use, 快速开始 and 可用角色, plus 4 more sections
  • Runs Python scripts from its folder; calls python3 and git

What it does

Ghostwriter is an agent skill from superzhang21/ghostwriter. Use when switching AI persona/language style. Syncs 13+ character profiles (Ding Yuanying, Lin Daiyu, Lu Xun, Li Yunlong, etc.) from GitHub, generates persona prompts with thinking patterns, rhetoric, and speech traits.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/ghostwriter-sync.py`).

It sits in Writing & Content. It works with GitHub and Python. The repository describes itself as: 影子作家 · 为角色建立可复用的写作与语言特征模型,让 AI 稳定地「像某个人」说话。Python / Agent Skill 双形态。

When your agent uses it

  • Switching AI persona/language style

Example prompts

  • “/ghostwriter”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 安装
  2. 列出所有角色
  3. 切换角色
  4. 查看角色详情

What it can do on your machine

Read from SKILL.md and the folder at commit 54bf230. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ghostwriter loads about 759 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 167 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~759

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (CC-BY-NC-ND-4.0) doesn't allow us to republish the file, so here is its outline and opening line. It has 167 words (~759 tokens).

“本项目包含 13+ 个角色的语言与思维特征数据,可通过配套脚本一键生成 persona prompt, 注入 AI 对话即可切换角色风格。支持写作模仿、角色扮演、风格迁移等场景。”

— opening of SKILL.md by superzhang21, CC-BY-NC-ND-4.0
name
ghostwriter
version
1.1.0
author
superzhang21
license
CC-BY-NC-ND-4.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in skill of superzhang21/ghostwriter.

  • SKILL.md
  • scripts/ghostwriter-sync.py

Open the folder on GitHubat commit 54bf230

Compare with similar skills

Ghostwriter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ghostwriter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ghostwriter this skillsuperzhang21/ghostwriter302—~759Automated safety check: PassCC-BY-NC-ND-4.0
Humanizer RuVladimir-Human/humanizer-ru126—~4kAutomated safety check: PassMIT
Update Gui TranslationsArduPilot/MethodicConfigurator163—~1.5kAutomated safety check: PassGPL-3.0
Release Announcement PosterNanmiCoder/cc-haha15k—~516Automated safety check: PassMIT
Summarise Ecosystem Resultsastral-sh/ruff50k1 repos~2.2kAutomated safety check: PassMIT
Great Docspymc-labs/pathmc132—~2.7kAutomated safety check: PassMIT

Similar skills

  • Humanizer Ru

    Vladimir-Human/humanizer-ru

    Не для обхода детекторов; не для текста, который тебе не принадлежит.

    126 GitHub stars~4k tokensUpdated 6 days ago
    Writing & ContentAuto-check passed
  • Update Gui Translations

    ArduPilot/MethodicConfigurator

    Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator.

    163 GitHub stars~1.5k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Release Announcement Poster

    NanmiCoder/cc-haha

    Turns the latest release notes into a short WeChat group message and a tall PNG poster, with contributor GitHub IDs checked and real avatars embedded.

    15k GitHub stars~516 tokensUpdated 3 days ago
    Writing & ContentAuto-check passed
  • Official

    A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…

    50k GitHub starsUsed in 1 repo~2.2k tokens
    DevelopmentAuto-check passed
  • Great Docs

    pymc-labs/pathmc

    Generate documentation sites for Python packages with Great Docs.

    132 GitHub stars~2.7k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • FIRE Card to EPUB

    twhsi/skills

    Converts FIRE analysis cards or project-note JSON into a validated EPUB book with directory, chapter and keyword index cards and backlinks.

    259 GitHub stars~1k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

Works with

Questions about Ghostwriter

What does Ghostwriter do?

A skill your agent uses when switching AI persona/language style. Ghostwriter is an agent skill from superzhang21/ghostwriter. Use when switching AI persona/language style.

When should I use Ghostwriter?

Ghostwriter fits situations like: switching AI persona/language style.

How do I install Ghostwriter in Claude Code?

Run `npx skills add superzhang21/ghostwriter --skill ghostwriter -a claude-code`. Or copy the skill folder (skill in superzhang21/ghostwriter) into .claude/skills/ghostwriter in your project. Claude Code loads it when a task matches its description.

How do I install Ghostwriter in Codex?

Run `npx skills add superzhang21/ghostwriter --skill ghostwriter -a codex`. Or copy the skill folder (skill in superzhang21/ghostwriter) into .agents/skills/ghostwriter in your project. Codex loads it when a task matches its description.

Can I use Ghostwriter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add superzhang21/ghostwriter --skill ghostwriter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ghostwriter, .gemini/skills/ghostwriter, .github/skills/ghostwriter and .opencode/skills/ghostwriter in your project.

What does Ghostwriter need to run?

Going by SKILL.md and its folder, Ghostwriter needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and git). Our summary lists: Python 3.

Does Ghostwriter access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Ghostwriter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Ghostwriter use?

Ghostwriter is published under the CC-BY-NC-ND-4.0 licence (declared in SKILL.md).

How many tokens does Ghostwriter use?

About 759 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ghostwriter?

Skills that share tags, products or a category with Ghostwriter: Humanizer Ru (Vladimir-Human/humanizer-ru, 126 stars), Update Gui Translations (ArduPilot/MethodicConfigurator, 163 stars), Release Announcement Poster (NanmiCoder/cc-haha, 15k stars) and Summarise Ecosystem Results (astral-sh/ruff, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ghostwriter?

superzhang21 (a GitHub user) maintains it in superzhang21/ghostwriter, which has 302 GitHub stars. The repository was last updated on July 29, 2026.

Source: superzhang21/ghostwriter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.