Agent Skills › yc-software/qm › persona-fork

persona-fork

GitHub

用于克隆现有Persona并创建用户独立拥有的副本。包括复制指令、图标和技能,指导用户绑定自有凭证,并处理权限设置与分享配置。

skills-seed/persona-fork/SKILL.md yc-software/qm

Trigger Scenarios

用户要求fork、copy、clone或制作某Persona的专属版本

Install

npx skills add yc-software/qm --skill persona-fork -g -y
More Options

Non-standard path

npx skills add https://github.com/yc-software/qm/tree/main/skills-seed/persona-fork -g -y

Use without installing

npx skills use yc-software/qm@persona-fork

指定 Agent (Claude Code)

npx skills add yc-software/qm --skill persona-fork -a claude-code -g -y

安装 repo 全部 skill

npx skills add yc-software/qm --all -g -y

预览 repo 内 skill

npx skills add yc-software/qm --list

SKILL.md

Frontmatter
{
    "name": "persona-fork",
    "description": "Fork a persona — copy its instructions, icon and skills into a new persona the asker owns, then help them attach their own credentials. Use when someone asks to fork, copy, clone or \"make my own version of\" a persona."
}

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 a turn they sent: 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).

Version History

  • 9c9ff89 Current 2026-11-07 12:06

Same Skill Collection

.claude/skills/dev-instance/SKILL.md
.claude/skills/update-qm/SKILL.md
.claude/skills/upstream-pr/SKILL.md
.codex/skills/deploy-qm/SKILL.md
.codex/skills/dev-instance/SKILL.md
.codex/skills/update-qm/SKILL.md
.codex/skills/upstream-pr/SKILL.md
cli/templates/deployment/SKILL.md
plugins/onboarding/skills/onboarding/SKILL.md
skills-seed/admin/SKILL.md
skills-seed/browse/SKILL.md
skills-seed/cloud-cli/SKILL.md
skills-seed/composio/SKILL.md
skills-seed/connect-apps/SKILL.md
skills-seed/define-loop/SKILL.md
skills-seed/dropbox/SKILL.md
skills-seed/email-draft-in-voice/SKILL.md
skills-seed/email-voice-profile/SKILL.md
skills-seed/github-gitlab/SKILL.md
skills-seed/google-drive-sheets/SKILL.md
skills-seed/google-workspace/SKILL.md
skills-seed/hand-off/SKILL.md
skills-seed/interactive-login/SKILL.md
skills-seed/linear/SKILL.md
skills-seed/memory/SKILL.md
skills-seed/miniapp/SKILL.md
skills-seed/morning-digest/SKILL.md
skills-seed/popular-web-designs/SKILL.md
skills-seed/publish/SKILL.md
skills-seed/request-access/SKILL.md
skills-seed/secret-drop/SKILL.md
skills-seed/send/SKILL.md
skills-seed/slack-drafts/SKILL.md
skills-seed/taste-skill/SKILL.md
skills-seed/ui-canvas/SKILL.md
skills-seed/ui-state/SKILL.md
skills-seed/use-shared-credential/SKILL.md
skills-seed/zoom/SKILL.md

Metadata

Files
0
Version
9c9ff89
Hash
c270ff31
Indexed
2026-11-07 12:06

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-08 08:37
浙ICP备14020137号-1