persona-fork

persona-fork is a skill for Claude Code, Codex from yc-software/qm. It costs 52 tokens per session (615 once invoked), scanned A, original, MIT.

A guide for copying an existing agent persona into a new persona owned by the asker. A persona is an agent's instructions, description, icon, and attached skills; its credentials and sharing permissions are not copied.

In plain words
What is it for?
Use it when someone wants to fork, clone, or make their own version of a persona, then attach their own credentials and copied skills.
Why use it?
It provides a controlled way to make a personal version of an agent without accidentally transferring the original agent's secrets or access rights.

Skill for Claude CodeCodex

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

Good fit Use it when someone wants to fork, clone, or make their own version of a persona, then attach their own credentials and copied skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yc-software/qm/persona-fork
About the project

QM is a shared work environment for coding agents that gives each employee and conversation an isolated workspace while allowing collaboration in Slack and on the web. Startups use it to run agents for individuals, teams, and company operations, with selectable harnesses and models. The catalogue entries extend QM with skills, instructions, and settings.

yc-software/qm · 16,126 stars · on GitHub · labs.ycombinator.com

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 yc-software/qm --skill persona-fork
Clone the repo
git clone --depth 1 https://github.com/yc-software/qm

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 persona-fork

README.md
[![agentmods](https://agentmods.dev/badge/skills/yc-software/qm/persona-fork/github.svg)](https://agentmods.dev/skills/yc-software/qm/persona-fork)
Your own site
<a href="https://agentmods.dev/skills/yc-software/qm/persona-fork"><img src="https://agentmods.dev/badge/skills/yc-software/qm/persona-fork/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 persona-fork

Your own site · 80×15
<a href="https://agentmods.dev/skills/yc-software/qm/persona-fork"><img src="https://agentmods.dev/badge/skills/yc-software/qm/persona-fork.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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 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.00052 $0.00615
Opus 5.5 $0.00021 $0.00246
Sonnet 5.5 $0.00010 $0.00123
Haiku 4.5 $0.00005 $0.00061

Measured 5d ago against content hash 7c0aa4b5f89e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

persona-fork 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 5d 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-seed/persona-fork/SKILL.md · 38 lines

What it actually says

Forking a persona

A fork is a snapshot the asker owns. It copies what the source is (instructions, icon, description, skills) and never what it is allowed to do (credentials, sharing). Anyone with any role on the source can fork it.

All calls use $AGENT_API_URL with -H "x-agent-capability: $AGENT_API_TOKEN"; the routes are listed in GET /v1/apis when personas are enabled for the asker.

  1. Find the source. GET /v1/personas and match the name the person used; if two match, ask which. GET /v1/personas/<id> gives its instructions, access list and the service names of attached credentials.
  2. Confirm the name in one line (default: <source name> (fork)) unless they gave one.
  3. Create it: POST /v1/personas with name, the source's description, instructions and icon. Mention the source in the description if they want the lineage kept. The asker becomes its sole owner.
  4. Copy skills. The source's skills live in persona:<source id>. List them with the skills tool (list with source: "persona:<source id>") and read each one, then create the copy directly in the fork with POST /v1/skills and scopeId: "persona:<new id>". Copy only what they want if they said so; otherwise copy all. Skills are copies: later edits to the source don't flow through.
  5. Credentials. Tell them which services the source had attached (from step 1), that those were not copied, and offer to attach their own. Attaching needs a credential the asker owns and raises an approval card to them: POST /v1/personas/<new id>/credentials {credentialId}. Find their credential ids with GET /v1/keychain/credentials. Never attach someone else's credential and never re-use the source's grants.
  6. Sharing. The fork starts private. If they want others to use it, set roles with PUT /v1/personas/<new id>/access — always keep them as an owner.

Finish with one short message: the new persona's name, what was copied, what wasn't, and that they can chat with it from the Personas page or by asking to switch this conversation to it (PUT /v1/sessions/<this session id>/persona).

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. 5d ago Changed 7c0aa4b5f89e
  2. 25d ago First seen · 38 lines · 52 tokens per session scan A c270ff3172c9

Subscribe to this mod's changes

persona-fork is a skill published in the GitHub repository yc-software/qm (16,126 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 615 once invoked, about $0.0002 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-11-06.

Related

persona-fork compared with skills from other repositories

persona-fork next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
persona-forkyc-software/qmSkill16ktodayMITA52Claude Code, Codex
node-inspect-debuggeropenclaw/openclawSkill395ktodayMITA28Claude Code, Codex
lobsteropenclaw/openclawSkill395ktodayMITA16Claude Code, Codex
knowledge-captureopenclaw/openclawSkill395ktodayMITA60Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
knowledge-recallopenclaw/openclawSkill395ktodayMITA40Claude Code, Codex
migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA87Codex