/paperclip:paperclipfrom paperclip
Operates a locally-running Paperclip instance via the paperclipai CLI and direct filesystem access to agent instruction files. Covers company/agent management, authentication, and issue tracking.
Ships in paperclip. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill to operate a locally-running Paperclip instance as a power user or admin. Covers CLI operations via paperclipai and direct filesystem access to agent instruction files.
Paperclip stores instance data at ~/.paperclip/instances/default/ by default.
~/.paperclip/instances/default/
└── companies/
└── <company-uuid>/
└── agents/
└── <agent-uuid>/
└── instructions/
├── AGENTS.md # Base identity, context, capabilities
├── SOUL.md # Persona, voice, character
├── HEARTBEAT.md # Execution checklist, recurring tasks
└── TOOLS.md # Available tools and integrations
Instruction file purposes:
AGENTS.md — Who the agent is, what it knows, its core contextSOUL.md — How the agent speaks and presents itself; persona/voiceHEARTBEAT.md — Step-by-step checklist the agent follows on each cycleTOOLS.md — What tools/integrations the agent has access toEdits to these files reflect immediately in the UI — no restart needed.
Company and agent IDs are UUIDs. Fastest way to find them:
# List all company IDs
ls ~/.paperclip/instances/default/companies/
# List agent IDs within a company
ls ~/.paperclip/instances/default/companies/<company-id>/agents/
# Cross-reference with CLI (after auth)
paperclipai company list --json
paperclipai agent list -C <company-id> --json
The instance runs in authenticated mode. CLI commands that call the API require a logged-in session:
# Check current auth status
paperclipai auth whoami
# Log in (interactive)
paperclipai auth login
# Log out
paperclipai auth logout
Agent-scoped API calls can bypass board-user auth using --api-key <token> (get a key via paperclipai agent local-cli).
# List all companies
paperclipai company list --json
# Get one company
paperclipai company get <company-id> --json
# Export company to portable markdown
paperclipai company export <company-id>
# Import company package
paperclipai company import <path-or-url>
# List agents for a company
paperclipai agent list -C <company-id> --json
# Get one agent
paperclipai agent get <agent-id> --json
# Set up local CLI access for an agent (creates API key, installs skills)
paperclipai agent local-cli <agent-id-or-ref>
# List issues for a company (all statuses)
paperclipai issue list -C <company-id> --json
# Filter by status (todo, in_progress, done, cancelled, etc.)
paperclipai issue list -C <company-id> --status todo,in_progress --json
# Filter by assignee
paperclipai issue list -C <company-id> --assignee-agent-id <agent-id> --json
# Text search
paperclipai issue list -C <company-id> --match "keyword" --json
# Get a specific issue (by UUID or identifier like PC-12)
paperclipai issue get PC-12 --json
paperclipai issue get <issue-uuid> --json
# Create an issue
paperclipai issue create \
-C <company-id> \
--title "Issue title" \
--description "Detailed description" \
--status todo \
--priority medium \
--json
# Update an issue
paperclipai issue update <issue-id> \
--status in_progress \
--assignee-agent-id <agent-id> \
--comment "Starting work on this" \
--json
# Assign (checkout) an issue to an agent
paperclipai issue checkout <issue-id> --json
# Release issue back to todo
paperclipai issue release <issue-id> --json
# Add a comment
paperclipai issue comment <issue-id> --json
# List approvals for a company
paperclipai approval list -C <company-id> --json
# Get one approval
paperclipai approval get <approval-id> --json
# Approve / reject / request revision
paperclipai approval approve <approval-id> --json
paperclipai approval reject <approval-id> --json
paperclipai approval request-revision <approval-id> --json
# Resubmit an approval
paperclipai approval resubmit <approval-id> --json
# List recent activity for a company
paperclipai activity list -C <company-id> --json
# Get summary dashboard for a company
paperclipai dashboard get -C <company-id> --json
# Manually trigger a heartbeat run for an agent
paperclipai heartbeat run --agent-id <agent-id>
# Run diagnostic checks
paperclipai doctor
# Auto-repair common config problems
paperclipai doctor --repair
# Start the server (bootstraps if needed)
paperclipai run
# Print env vars for deployment
paperclipai env
# Update configuration
paperclipai configure
# Show current context
paperclipai context show
# List profiles
paperclipai context list
# Switch profile
paperclipai context use <profile-name>
# Set a value on current profile
paperclipai context set --api-base http://localhost:3100
COMPANY_ID="<company-uuid>"
AGENT_ID="<agent-uuid>"
BASE="$HOME/.paperclip/instances/default/companies/$COMPANY_ID/agents/$AGENT_ID/instructions"
cat "$BASE/AGENTS.md"
cat "$BASE/SOUL.md"
cat "$BASE/HEARTBEAT.md"
cat "$BASE/TOOLS.md"
Or use the helper script:
bash plugins/paperclip/scripts/inspect-agent.sh <company-id> <agent-id>
Edit SOUL.md or AGENTS.md directly — changes are live immediately:
AGENT_DIR="$HOME/.paperclip/instances/default/companies/<company-id>/agents/<agent-id>/instructions"
# Read current state, then edit in place
cat "$AGENT_DIR/SOUL.md"
paperclipai doctor
paperclipai doctor --repair # auto-fix common config problems
paperclipai auth whoami
paperclipai issue list -C <company-id> --status todo,in_progress --json
paperclipai issue create \
-C <company-id> \
--title "What needs to be done" \
--description "Context and details" \
--status todo \
--priority medium \
--json
# Step 1: list company IDs from filesystem
ls ~/.paperclip/instances/default/companies/
# Step 2: get company details
paperclipai company list --json
# Step 3: list agents
paperclipai agent list -C <company-id> --json
# Step 4: explore agent files
ls ~/.paperclip/instances/default/companies/<company-id>/agents/<agent-id>/instructions/
When registering an agent in the Paperclip UI, use this template for adapterType: claude_local:
{
"adapterType": "claude_local",
"adapterConfig": {
"model": "claude-haiku-4-5-20251001",
"cwd": "/your/agent/workspace",
"instructionsFilePath": "/your/agents/agent-name/AGENTS.md",
"args": ["--add-dir", "/your/shared/skills"],
"timeoutSec": 900,
"graceSec": 15,
"maxTurnsPerRun": 20,
"dangerouslySkipPermissions": true
}
}
Model selection by role:
| Role | Recommended model | Reason |
|---|---|---|
| CEO / orchestration | claude-sonnet-4-6 | Strategic reasoning |
| Manager (delegation/routing) | claude-haiku-4-5 | Read + route, Sonnet not needed |
| IC creative (content, code) | claude-sonnet-4-6 | Output quality matters |
| IC formulaic (ops, outreach) | claude-haiku-4-5 | ~3x cheaper, sufficient |
Note: Never set timeoutSec to 0 — that means no timeout, which can cause runaway agents. Use 900 (15 min) as a safe default.
Heartbeat config lives in the agent's runtimeConfig in the Paperclip UI:
{
"runtimeConfig": {
"heartbeat": {
"enabled": true,
"intervalSec": 600,
"wakeOnDemand": true,
"cooldownSec": 10,
"maxConcurrentRuns": 1
}
}
}
Interval guidance:
600 (10 min)86400 (1/day) + wakeOnDemand: true30 — risks spam and runaway costPaperclip enforces per-agent and per-company spend limits (in cents):
| Threshold | Behavior |
|---|---|
| 80% of budget | Agent automatically focuses on critical tasks only |
| 100% of budget | Agent auto-paused until budget is reset |
Suggested starting values (monthly):
| Role | Budget (cents) |
|---|---|
| CEO | 5,000 ($50) |
| Manager | 3,000 ($30) |
| IC | 2,000 ($20) |
| Company total | 15,000–20,000 |
Never leave budget at 0 — that means unlimited spend, which is a runaway risk.
Common errors and fixes:
| Symptom | Fix |
|---|---|
| "Nested sessions" / Claude Code conflict | Launch Paperclip with unset CLAUDECODE before pnpm dev (or use a wrapper script) |
| Agent does nothing on heartbeat | Check instructionsFilePath exists + heartbeat enabled: true |
| Immediate timeout on agent run | timeoutSec is 0 — set it to 900 |
| Port 3100 already in use | lsof -ti:3100 | xargs kill -9 |
| Config invalid / corrupted | paperclipai doctor --repair |
| Workspace fallback errors | Set cwd explicitly in adapterConfig |
| CLI auth errors | paperclipai auth login — session may have expired |
CLAUDECODE conflict wrapper — if running Paperclip from a terminal inside Claude Code, the CLAUDECODE env var causes nested session errors. Use a wrapper:
#!/bin/zsh
unset CLAUDECODE
cd ~/paperclip
pnpm dev
http://localhost:3100 by default.--json when processing CLI output programmatically.--api-key flag enables agent-scoped API calls without board-user auth.paperclipai worktree:*) create isolated Paperclip instances per git worktree.-d <path> or --data-dir <path> on any command.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
paperclip, agent-management, cli-operations, filesystem-access
Other plugins' skills for the same job
npx claudepluginhub jtsternberg/claude-plugins --plugin paperclip