AGENT SKILL

persona-fork

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.

License 许可
MIT
所属仓库
yc-software/qm
最近更新
2026-11-15
Stars
★ 1.6w
Forks
2.0k

01 前言 Front Matter

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.

03 SKILL.md 正文

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).

04 同仓库更多 Skills

yc-software
yc-software/qm

zoom

Find, create, reschedule, and cancel the user's Zoom meetings through their own Zoom connection.

★ 1.6w
yc-software
yc-software/qm

use-shared-credential

When you need to call a service the org has a SHARED credential for (a SERP/search key, a paid-API key, a data-vendor feed, a Git remote) — and the platform has told you that credential is available to this conversation — make the call BY PROXY through the credential broker. You never see the secret; the core stamps it onto the outbound request for you.

★ 1.6w
yc-software
yc-software/qm

ui-state

See what the person is looking at in the QM web UI right now — the whole page (sidebar, every multiview pane, open dialogs) as raw HTML, the app's state as JSON, optionally the CSS and a screenshot. Use when they ask about something on their screen, want help with the UI, or you need to check what a canvas you wrote actually rendered.

★ 1.6w
yc-software
yc-software/qm

ui-canvas

Draw your own HTML/CSS/JS as a full-window overlay on top of the QM web UI — a dashboard, a form, a visualization, controls that message you back. Write, update, replace, pin or dismiss it. Use when an interactive or visual result beats a chat reply.

★ 1.6w
yc-software
yc-software/qm

taste-skill

Design taste and process for anything a person will look at in a browser — landing page, dashboard, prototype, deck. The default design driver for a browsable artifact, with an anti-slop playbook for the visual language.

★ 1.6w
yc-software
yc-software/qm

slack-drafts

Create Slack message drafts in the user's own composer, as the user, through their per-user Slack OAuth. Drafting only — the user reviews and sends from Slack.

★ 1.6w