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.mdreferences/docs/paperclip-operator/control-plane.mdreferences/docs/paperclip-operator/workflow.mdreferences/docs/paperclip-operator/cli-contract.mdreferences/docs/paperclip-operator/integration-matrix.md
Useful upstream surfaces discovered from Paperclip docs/source:
GET /api/companies/{companyId}/agentsGET /api/companies/{companyId}/orgGET /api/companies/{companyId}/agent-configurationsGET /api/companies/{companyId}/skillsGET /llms/agent-configuration.txtGET /llms/agent-configuration/{adapterType}.txtGET /llms/agent-icons.txtPOST /api/companies/{companyId}/agent-hiresPOST /api/companies/{companyId}/agentsPOST /api/agents/{agentId}/keysPOST /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> --jsonwhen governance is required, the request came from another agent or issue, or the operator wants a board-visible hire flow. Fall back toPOST /api/companies/{companyId}/agent-hiresonly when the installed CLI lacks the command. - Prefer
paperclipai agent create -C <company-id> --payload-json <json> --jsonfor explicitly approved direct creation when company policy allows it. Fall back toPOST /api/companies/{companyId}/agentsonly when necessary. - Use the Paperclip UI as the fallback if no authenticated callable surface can safely create the record.
- Prefer
-
Draft the agent.
Include
name,role,title,icon,reportsTo,capabilities,adapterType,adapterConfig,desiredSkills, managedinstructionsBundle,runtimeConfig.heartbeat,defaultEnvironmentId,budgetMonthlyCents, explicitpermissions, andsourceIssueId/sourceIssueIdswhen the hire came from Paperclip work. -
Draft instructions.
Prefer a role-specific or adjacent Paperclip template when available. Otherwise write a compact
AGENTS.mdcovering 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_approvalwith ahire_agentapproval when governance appliesidleor 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> --jsonNever 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.