Ghostwriter
superzhang21/ghostwriter
Persona library that makes an AI write in the voice of named characters, installable as a Hermes skill
Ghostwriter is a library of modeled writing personas, such as Lu Xun and Lin Daiyu, that an AI can switch into on request. It runs as a Python script that prints a persona prompt, or as an Agent Skill that can be linked into Hermes Agent.
What Ghostwriter does
Each persona is a JSON file that models a character's way of speaking, thinking and choosing words, rather than a short list of personality labels. The README roster has 15 characters drawn from novels, TV dramas and public writing, including Lu Xun, Lin Daiyu, Li Yunlong and Cao Cao. Once a persona is loaded, you ask the AI to switch to that character and then request, for example, a commentary or an encouraging message in that voice.
The script ghostwriter-sync.py has --list, --info, --apply and --json options. --apply prints a persona prompt you can paste into any chat, and --no-sync uses the local cache instead of syncing over the network. For Hermes Agent, the README links the skill directory into ~/.hermes/skills/creative/ghostwriter so you can tell the agent which character to switch to. The README is written in Chinese, and new characters can be added by creating a JSON file under data/.
Key features
- 15 modeled personas drawn from novels, TV dramas and public writing
- ghostwriter-sync.py with --list, --info, --apply and --json options
- Agent Skill form with a SKILL.md for Hermes Agent and other skill-capable agents
- Persona prompts that paste into ChatGPT, Claude, Gemini or local models
- New personas added as JSON files under data/
When to use it
- Drafting marketing copy or commentary in a distinct writing style
- Writing dialogue for a game or novel in character
- Comparing how different personas would read the same business report
Who it is for: Chinese-language writers and developers who want an agent to answer in the voice of a chosen character.
How it fits with Hermes Agent
Ghostwriter documents a Hermes Agent install that links its skill folder into ~/.hermes/skills/creative/, and it also works with any other tool that accepts a pasted prompt.
How to install Ghostwriter
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
git clone https://github.com/superzhang21/ghostwriter.git
cd ghostwriter
ln -s $(pwd)/skill ~/.hermes/skills/creative/ghostwriterRequirements: Python 3 and git; the script has no third-party dependencies
Note: The README states a CC-BY-NC-ND-4.0 license, which prohibits commercial use and derivative works, although GitHub does not detect a standard license.
FAQ
What is Ghostwriter?
Ghostwriter is a persona library for AI. Each persona models a character's speech and thinking, so you can ask the AI to switch to that character and answer in their voice.
Does Ghostwriter work with Hermes Agent?
Yes. Clone the repo and link its skill folder into ~/.hermes/skills/creative/ghostwriter, then ask the agent to switch to a character by name. It is not Hermes-only, because the script output is plain text that works in other chat tools.
Is Ghostwriter free and open source?
The README names the CC-BY-NC-ND-4.0 license, which allows non-commercial use with attribution and forbids derivative works. GitHub reports no standard license, so check the LICENSE file before reuse.
Similar skills for Hermes Agent
All skillsPortable project-planning skill that checks evidence before recommending a stack or architecture
alchaincyf Karpathy SkillAgent skill that applies Andrej Karpathy's mental models and decision heuristics, with a Chinese README
alchaincyf Feynman SkillAgent skill that applies Richard Feynman's mental models, such as cargo cult detection, to your questions
techjanitor BotmakerHermes Agent skill and SOUL for a bot whose only job is creating other specialist bots
tonbistudio Buzz SkillsHermes Agent skills for connecting a Hermes gateway to a Buzz community and sending media attachments
AkoliteZA Hermes Agent Idea WorkflowSkills that turn a rough product idea into a design doc, implementation spec and build handoff
Related guides: What is Hermes Agent? · SOUL.md for Hermes Agent: what it is and how to write one