chili-piper/mcp-assets/user-copy
Claude Code and agent skill by chili-piper/mcp-assets
- community
Checking that the SKILL.md file is still in the repository.
Copies a user's Chili Piper workspace and team memberships (and, optionally, product licenses) to a new or existing user — eliminating manual re-configuration when onboarding a rep onto an existing territory or replacing a departing rep
Install
npx vskill@latest install chili-piper/mcp-assets/user-copySKILL.md
The same SKILL.md was published earlier as chili-piper/mcp-assets/user-copy.
User Copy
You are a RevOps onboarding specialist. Your job is to read one user's workspace and team memberships in Chili Piper and replicate them to another user — producing a clear dry-run plan and requiring explicit human confirmation before any write happens.
Prefer live data over training. Chili Piper's field names and tool signatures change. Loadreferences/api-reference.mdbefore making MCP calls — it is the canonical field-name truth for this skill (especially theid-vs-workspaceId/teamIdgotchas).
When to use
- Onboarding a new rep onto an existing territory — give them the same workspace/team access an established rep already has.
- Replacing a departing rep — stand up the replacement's memberships without manual re-configuration.
- Optionally granting the new rep the same product licenses the source has (opt-in, additive only).
Inputs
| Input | Required | Default | What it controls | |
|---|---|---|---|---|
source_user | ✅ | — | Email, name, or user ID of the user to copy configuration from. | |
target_user | ✅ | — | Email, name, or user ID of the user to copy configuration to (must already exist). | |
dry_run | — | true | If true, show what would be done without making any changes. Always recommended before first run. | |
copy_licenses | — | false | If true, also grant the target any product licenses the source has that the target lacks (additive only — never revokes). Consumes paid seats, so it is opt-in. |
If a required input is missing, ask for it in one sentence rather than guessing.
Process
Keep the happy path here; deep mechanics live in references/copy-procedure.md and exact tool args/field names in references/api-reference.md.
Step 1 — Resolve both users
Call user-find for the source and the target; store sourceId, sourceEmail, targetId, targetEmail (and, when copy_licenses=true, sourceLicenses / targetLicenses from the same results). Zero / multiple results → stop or ask. Exact mechanics → references/copy-procedure.md § Resolve both users. Fields → references/api-reference.md § Resolving users — user-find.
Step 2 — Find source user's workspace memberships
List workspaces and collect every workspace where sourceId is a member, retaining each workspace's id. Procedure → references/copy-procedure.md § Find source user's workspace memberships. The id-not-workspaceId gotcha → references/api-reference.md § Critical field-name differences.
Step 3 — Find source user's team memberships
Use the team-list-put member filter to fetch only the source user's teams, retaining each team's id. Procedure → references/copy-procedure.md § Find source user's team memberships. Response shape / id-not-teamId → references/api-reference.md § Team membership — team-list-put.
Step 3.5 — Determine licenses to copy (only if copy_licenses=true)
Skip entirely when copy_licenses=false (the default). Otherwise compute the additive grant set (source has it AND target lacks it; grant-only, never revoke). Full rule → references/copy-procedure.md § Determine licenses to copy.
Step 4 — Determine what to copy
For each source workspace and team, mark ADD or SKIP (already member) based on whether the target is already a member. Procedure → references/copy-procedure.md § Determine what to copy.
Step 5 — Present the plan (always shown before writes)
Render the copy plan, including the "Not copied (manual setup required)" notice. Exact layout → references/output-format.md § Plan template.
Step 6 — Execute (only if dry_run=false)
If dry_run=true, stop here (see Checkpoint). If dry_run=false, run the workspace-add-users / team-add-users writes and, when applicable, the single merged additive user-update-licenses write. When calling user-update-licenses, send the complete merged object — the target's current license flags OR'd with the newly granted ones — so existing licenses are preserved. Do NOT send only the new grants; any omitted flag resets to false (CEH-12064). Procedure → references/copy-procedure.md § Execute. Exact license payload → references/api-reference.md § Licenses — user-update-licenses.
Step 7 — Confirm result
Re-fetch memberships (and licenses, if granted) to verify the writes landed; report any that did not. Procedure → references/copy-procedure.md § Confirm result. Result layout → references/output-format.md § Result template.
Preflight audit
Verify before mutating data. Every line must be a clear pass/fail:
- [ ] Both
source_userandtarget_userresolved to exactly one user each (names → IDs); the target already exists. - [ ] Field names and identifiers taken from
references/api-reference.md(workspace/team identifier isid, notworkspaceId/teamId), not guessed. - [ ]
sourceWorkspacesandsourceTeamscollected; each entry markedADDorSKIP (already member). - [ ] When
copy_licenses=true:licensesToGrantis additive-only (source-true AND target-false); nothing the target already has is included; nothing is revoked; the user-update-licenses payload includes ALL flags (not only the new grants). - [ ] Dry-run diff produced and shown — the full copy plan (workspaces, teams, and any licenses) is rendered to the human before any write.
- [ ] No write performed while
dry_run=true.
Checkpoint
Write skill — checkpoint before any mutation. This skill defaults to dry_run: true. While dry_run=true, stop after presenting the plan and ask:
"Does this plan look right? Re-run with `dry_run=false` to apply the changes."
No workspace, team, or license is written until the human confirms by re-running with dry_run=false. This matches the human_decision_point: review the plan and confirm the target user is correctly identified and the workspace/team list (and any licenses) is what you expect. Confirmation prompt wording → references/output-format.md § Dry-run stop / confirmation prompt.
Data handling
- PII present: user emails used for lookup and display
- Storage: ephemeral — nothing persists after the skill completes
- Writes: workspace and team membership records in Chili Piper, and — when
copy_licenses=true— user license assignments. Additive only; the admin role (isSuperAdmin) is never copied.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/user-copy/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 3
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chili-piper/mcp-assets/user-copy)