Paperclip Create Agent
Create new Paperclip agents by mirroring Paperclip's native hire workflow.
This is a mutating local operator skill. Inspect freely, but do not create an agent, submit a hire request, create keys, attach skills, or change permissions until the operator approves the exact proposal.
References
Read these first:
references/CONTEXT.md
references/docs/paperclip-operator/control-plane.md
references/docs/paperclip-operator/workflow.md
references/docs/paperclip-operator/cli-contract.md
references/docs/paperclip-operator/integration-matrix.md
Useful upstream surfaces discovered from Paperclip docs/source:
GET /api/companies/{companyId}/agents
GET /api/companies/{companyId}/org
GET /api/companies/{companyId}/agent-configurations
GET /api/companies/{companyId}/skills
GET /llms/agent-configuration.txt
GET /llms/agent-configuration/{adapterType}.txt
GET /llms/agent-icons.txt
POST /api/companies/{companyId}/agent-hires
POST /api/companies/{companyId}/agents
POST /api/agents/{agentId}/keys
POST /api/agents/{agentId}/skills/sync
Workflow
Confirm context.
Read CLI context and active company. Verify board access or agent permission to create agents. If the current identity cannot create agents, prepare a hire proposal or approval request instead of attempting creation.
Inspect company conventions.
Read existing agents, org chart, company skills, and agent configurations. Note naming, icons, reporting lines, adapter types, models, environment bindings, default environments, budget conventions, heartbeat defaults, and required Paperclip skills.
Choose the route.
- Prefer
paperclipai agent hire -C <company-id> --payload-json <json> --json when governance is required, the request came from another agent or issue, or the operator wants a board-visible hire flow. Fall back to POST /api/companies/{companyId}/agent-hires only when the installed CLI lacks the command.
- Prefer
paperclipai agent create -C <company-id> --payload-json <json> --json for explicitly approved direct creation when company policy allows it. Fall back to POST /api/companies/{companyId}/agents only when necessary.
- Use the Paperclip UI as the fallback if no authenticated callable surface can safely create the record.
Draft the agent.
Include name, role, title, icon, reportsTo, capabilities, adapterType, adapterConfig, desiredSkills, managed instructionsBundle, runtimeConfig.heartbeat, defaultEnvironmentId, budgetMonthlyCents, explicit permissions, and sourceIssueId/sourceIssueIds when the hire came from Paperclip work.
Draft instructions.
Prefer a role-specific or adjacent Paperclip template when available. Otherwise write a compact AGENTS.md covering identity, reporting line, role charter, operating workflow, domain lenses, output bar, collaboration, safety/permissions, and done criteria.
For execution-heavy agents, include this contract: start actionable work in the same heartbeat; do not stop at a plan unless planning was requested; leave durable progress with a clear next action; use child issues for long or parallel delegated work instead of polling; mark blocked work with owner and action; respect budget, pause/cancel, approval gates, and company boundaries.
Review before approval.
Check for duplicate agents, missing manager, wrong role, unsupported adapter/model, missing skills, plain-text secrets, broad permissions, unnecessary timer heartbeat, vague capabilities, and instructions that conflict with Paperclip source-of-truth rules.
Ask for operator approval.
Show the proposed route, payload summary, manager, adapter/model, skills, permissions, budget, heartbeat policy, environment, source issue linkage, and any risky settings. Wait for approval.
Apply and verify.
Create the hire or agent through the native CLI when available, otherwise the API/REST fallback. Read the resulting agent and approval back. Verify status:
pending_approval with a hire_agent approval when governance applies
idle or company default active state when direct creation succeeds
Confirm persisted fields: name, role, reportsTo, adapter type/config, desired skills, instructions bundle mode/path, heartbeat config, budget, permissions, environment, and source linkage.
Set up local CLI only after creation is valid.
For runnable local agents, use:
paperclipai agent local-cli <agentRef> -C <company-id> --json
Never print long-lived API keys in chat. Summarize key creation and tell the operator where the command emitted exports if needed.
Report outcome.
Include agent id/url key, approval id if any, status, manager, adapter, skills, heartbeat state, budget, and next operator action.
Payload Notes
Valid roles in current Paperclip source include ceo, cto, cmo, cfo, security, engineer, designer, pm, qa, devops, researcher, and general.
Known adapter types include process, http, acpx_local, claude_local, codex_local, cursor_cloud, gemini_local, opencode_local, pi_local, cursor, and openclaw_gateway.
For codex_local, prefer managed instructions over legacy prompt fields. Typical adapter config includes cwd, model, env, timeoutSec, graceSec, fastMode, and only explicitly approved sandbox/approval bypass settings.
Mutation Rule
Ask before creating hires, creating direct agents, attaching desired skills, creating API keys, changing permissions, setting secrets/env bindings, enabling timer heartbeats, or assigning work. Do not manually invoke another agent's heartbeat; Paperclip agents wake through their own heartbeat policy after eligible assignment.
1---2name: paperclip-create-agent3description: Create or hire Paperclip agents using the native governance-aware workflow. Use when the user asks to create, hire, provision, draft, or configure a new Paperclip agent, including choosing role, reporting line, adapter config, desired skills, instructions bundle, budget, heartbeat settings, and approval handling.4---56# Paperclip Create Agent78Create new Paperclip agents by mirroring Paperclip's native hire workflow.910This is a mutating local operator skill. Inspect freely, but do not create an agent, submit a hire request, create keys, attach skills, or change permissions until the operator approves the exact proposal.1112## References1314Read these first:1516- `references/CONTEXT.md`17- `references/docs/paperclip-operator/control-plane.md`18- `references/docs/paperclip-operator/workflow.md`19- `references/docs/paperclip-operator/cli-contract.md`20- `references/docs/paperclip-operator/integration-matrix.md`2122Useful upstream surfaces discovered from Paperclip docs/source:2324- `GET /api/companies/{companyId}/agents`25- `GET /api/companies/{companyId}/org`26- `GET /api/companies/{companyId}/agent-configurations`27- `GET /api/companies/{companyId}/skills`28- `GET /llms/agent-configuration.txt`29- `GET /llms/agent-configuration/{adapterType}.txt`30- `GET /llms/agent-icons.txt`31- `POST /api/companies/{companyId}/agent-hires`32- `POST /api/companies/{companyId}/agents`33- `POST /api/agents/{agentId}/keys`34- `POST /api/agents/{agentId}/skills/sync`3536## Workflow37381. Confirm context.3940 Read CLI context and active company. Verify board access or agent permission to create agents. If the current identity cannot create agents, prepare a hire proposal or approval request instead of attempting creation.41422. Inspect company conventions.4344 Read existing agents, org chart, company skills, and agent configurations. Note naming, icons, reporting lines, adapter types, models, environment bindings, default environments, budget conventions, heartbeat defaults, and required Paperclip skills.45463. Choose the route.4748 - Prefer `paperclipai agent hire -C <company-id> --payload-json <json> --json` when governance is required, the request came from another agent or issue, or the operator wants a board-visible hire flow. Fall back to `POST /api/companies/{companyId}/agent-hires` only when the installed CLI lacks the command.49 - Prefer `paperclipai agent create -C <company-id> --payload-json <json> --json` for explicitly approved direct creation when company policy allows it. Fall back to `POST /api/companies/{companyId}/agents` only when necessary.50 - Use the Paperclip UI as the fallback if no authenticated callable surface can safely create the record.51524. Draft the agent.5354 Include `name`, `role`, `title`, `icon`, `reportsTo`, `capabilities`, `adapterType`, `adapterConfig`, `desiredSkills`, managed `instructionsBundle`, `runtimeConfig.heartbeat`, `defaultEnvironmentId`, `budgetMonthlyCents`, explicit `permissions`, and `sourceIssueId`/`sourceIssueIds` when the hire came from Paperclip work.55565. Draft instructions.5758 Prefer a role-specific or adjacent Paperclip template when available. Otherwise write a compact `AGENTS.md` covering identity, reporting line, role charter, operating workflow, domain lenses, output bar, collaboration, safety/permissions, and done criteria.5960 For execution-heavy agents, include this contract: start actionable work in the same heartbeat; do not stop at a plan unless planning was requested; leave durable progress with a clear next action; use child issues for long or parallel delegated work instead of polling; mark blocked work with owner and action; respect budget, pause/cancel, approval gates, and company boundaries.61626. Review before approval.6364 Check for duplicate agents, missing manager, wrong role, unsupported adapter/model, missing skills, plain-text secrets, broad permissions, unnecessary timer heartbeat, vague capabilities, and instructions that conflict with Paperclip source-of-truth rules.65667. Ask for operator approval.6768 Show the proposed route, payload summary, manager, adapter/model, skills, permissions, budget, heartbeat policy, environment, source issue linkage, and any risky settings. Wait for approval.69708. Apply and verify.7172 Create the hire or agent through the native CLI when available, otherwise the API/REST fallback. Read the resulting agent and approval back. Verify status:7374 - `pending_approval` with a `hire_agent` approval when governance applies75 - `idle` or company default active state when direct creation succeeds7677 Confirm persisted fields: name, role, reportsTo, adapter type/config, desired skills, instructions bundle mode/path, heartbeat config, budget, permissions, environment, and source linkage.78799. Set up local CLI only after creation is valid.8081 For runnable local agents, use:8283 ```sh84 paperclipai agent local-cli <agentRef> -C <company-id> --json85 ```8687 Never print long-lived API keys in chat. Summarize key creation and tell the operator where the command emitted exports if needed.888910. Report outcome.9091 Include agent id/url key, approval id if any, status, manager, adapter, skills, heartbeat state, budget, and next operator action.9293## Payload Notes9495Valid roles in current Paperclip source include `ceo`, `cto`, `cmo`, `cfo`, `security`, `engineer`, `designer`, `pm`, `qa`, `devops`, `researcher`, and `general`.9697Known adapter types include `process`, `http`, `acpx_local`, `claude_local`, `codex_local`, `cursor_cloud`, `gemini_local`, `opencode_local`, `pi_local`, `cursor`, and `openclaw_gateway`.9899For `codex_local`, prefer managed instructions over legacy prompt fields. Typical adapter config includes `cwd`, `model`, `env`, `timeoutSec`, `graceSec`, `fastMode`, and only explicitly approved sandbox/approval bypass settings.100101## Mutation Rule102103Ask before creating hires, creating direct agents, attaching desired skills, creating API keys, changing permissions, setting secrets/env bindings, enabling timer heartbeats, or assigning work. Do not manually invoke another agent's heartbeat; Paperclip agents wake through their own heartbeat policy after eligible assignment.