claude-craft / paperclip
CLAUDE.md106 starsChanged 4 months agoMITView on GitHub
Paperclip is a self-hosted AI agent orchestration platform (MIT). You run it — you do not build a control plane or write adapter integrations. The server, dashboard, CLI, and built-in adapters are all part of the Paperclip product. Docs: https://docs.paperclip.ing/ | Repo: https://github.com/paperclipai/paperclip After onboarding, the server runs on http://localhost:3100 and the dashboard is accessible at the configured port. The adapterType field on an agent hire payload selects which AI runtime powers the agent. The agentConfigurationDoc of each adapter (returned…
In this repository60 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .claude/references/angular/CLAUDE.mdCLAUDE.md
- .claude/references/flutter/CLAUDE.mdCLAUDE.md
- .claude/references/laravel/CLAUDE.mdCLAUDE.md
- .claude/references/reactnative/CLAUDE.mdCLAUDE.md
- .claude/references/svelte/CLAUDE.mdCLAUDE.md
- .claude/references/symfony/CLAUDE.mdCLAUDE.md
- .claude/references/vite/CLAUDE.mdCLAUDE.md
- .claude/references/vuejs/CLAUDE.mdCLAUDE.md
- aggregatesSkill
- api-gatewaySkill
- architectSkill
- architecture-clean-dddSkill
- architectureSkill
- asyncSkill
- atomic-tasksSkill
- coding-standardsSkill
- cqrsSkill
- ddd-patternsSkill
- debug-methodicalSkill
- design-md-conventionSkill
- docker-hadolintSkill
- doctrine-extensionsSkill
- documentationSkill
- domain-eventsSkill
- dynamic-workflowsSkill
- ecosystem-toolsSkill
- edge-computingSkill
- event-drivenSkill
- git-workflowSkill
- graphqlSkill
- i18nSkill
- kiss-dry-yagniSkill
- monorepoSkill
- multitenantSkill
- navigationSkill
- observabilitySkill
- parallel-worktreesSkill
- performanceSkill
- quality-toolsSkill
- remotionSkill
- security-flutterSkill
- security-reactnativeSkill
- security-reactSkill
- securitySkill
- security-symfonySkill
- socratic-brainstormSkill
- solid-principlesSkill
- state-managementSkill
- testing-flutterSkill
- testing-pythonSkill
- testing-reactnativeSkill
- testing-reactSkill
- testingSkill
- testing-symfonySkill
- toolingSkill
- value-objectsSkill
- wasmSkill
- workflow-analysisSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
After onboarding, the server runs on http://localhost:3100 and the dashboard is accessible at the configured port.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Paperclip 2026.609.0 — Quick Reference
Paperclip is a self-hosted AI agent orchestration platform (MIT). You run it — you do not build a control plane or write adapter integrations. The server, dashboard, CLI, and built-in adapters are all part of the Paperclip product. Docs: https://docs.paperclip.ing/ | Repo: https://github.com/paperclipai/paperclip
Versions requises (2026)
| Composant | Version | Notes |
| Paperclip | 2026.609.0+ | Self-hosted orchestration platform (MIT) |
| Node.js | 22+ LTS | Required by Paperclip server and CLI |
| TypeScript | 5.7+ | Strict mode — for plugin/adapter development |
| Vitest | 4.1+ | Tests plugins and adapters |
| PostgreSQL | 15+ | Paperclip server persistence |
| pnpm | 9.15+ | Package manager (Paperclip monorepo) |
Installation (self-hosted)
# Via npm (recommended for most operators)
npx paperclipai onboard --yes
# Via Docker
docker compose up -d # see docker/ in the Paperclip repoAfter onboarding, the server runs on http://localhost:3100 and the dashboard is accessible at the configured port.
Monorepo structure (Paperclip source, for contributors)
paperclip/
├── server/ # @paperclipai/server — Node.js + TS HTTP API
│ └── src/
│ ├── routes/ # companies, agents, approvals, activity, ...
│ └── adapters/ # server-side adapter registry
├── ui/ # @paperclipai/ui — React dashboard
├── cli/ # paperclipai CLI (commander.js)
│ └── src/commands/ # onboard, doctor, company, agent, approval, ...
├── packages/
│ ├── shared/ # @paperclipai/shared — types + schemas
│ ├── db/ # @paperclipai/db — schema, migrations
│ ├── mcp-server/ # @paperclipai/mcp-server
│ ├── adapter-utils/ # @paperclipai/adapter-utils
│ ├── adapters/ # Built-in adapters (see table below)
│ └── plugins/
│ ├── sdk/ # @paperclipai/plugin-sdk — public extension API
│ └── create-paperclip-plugin/ # Plugin scaffolder
└── tests/
├── e2e/ # Playwright
└── release-smoke/Adapter types (adapterType)
The adapterType field on an agent hire payload selects which AI runtime powers the agent.
| adapterType | Runtime | Minimal adapterConfig fields |
claude_local | Claude Code (local) | cwd, model, timeoutSec, graceSec, extraArgs, env |
codex_local | OpenAI Codex CLI (local) | cwd, model, timeoutSec, graceSec, extraArgs, env |
cursor_local | Cursor (local) | cwd, model, timeoutSec, graceSec, extraArgs, env |
gemini_local | Gemini CLI (local) | cwd, model, timeoutSec, graceSec, extraArgs, env |
opencode_local | OpenCode (local) | cwd, model, timeoutSec, graceSec, extraArgs, env |
openclaw_gateway | OpenClaw gateway | endpoint, apiKey, model, timeoutSec |
pi_local | Pi (local) | cwd, model, timeoutSec, graceSec, extraArgs, env |
The
agentConfigurationDocof each adapter (returned by the server) lists every accepted field and its constraints. Always consult it before hiring.
Company and agent management
# Operator CLI — run after onboarding
paperclipai company list
paperclipai company get --id <companyId>
paperclipai agent list
paperclipai agent get --id <agentId>
paperclipai approval list
paperclipai activity listHiring an agent is done via the dashboard (Agents → Hire) or POST /companies/:companyId/agents. See /paperclip:generate-agent-config for a guided payload builder.
Governance model (server-enforced)
Paperclip enforces governance as server-side invariants — they cannot be bypassed by adapters or plugins:
| Invariant | Enforcement |
| Budget limits | Hard token cap on the server; agents are halted when exceeded |
| Approval gates | Human-in-the-loop; execution blocked until approved |
| Activity log | Append-only; emitted for every mutation by the server |
| Tenant isolation | companyId extracted from the authenticated session, never from the client payload |
| Adapter sandboxing | Adapters select the AI runtime; they cannot modify governance state |
Extension via @paperclipai/plugin-sdk
Plugins are the extension mechanism for Paperclip. They add features, UI slots, background jobs, or custom adapter logic.
# Scaffold a new plugin
npx create-paperclip-plugin my-plugin
# Manage plugins on a running instance
paperclipai plugin list
paperclipai plugin install ./my-pluginA minimal plugin entry point:
import { definePlugin } from '@paperclipai/plugin-sdk';
export default definePlugin({
name: 'my-plugin',
setup(ctx) {
// register routes, jobs, UI slots, ...
},
});Checklist rapide
- Instance onboardée (
paperclipai onboard --yesou Docker) - Company créée (
paperclipai company list) adapterTypevérifié contre les adapters enregistrés sur l'instance- Budget défini (entier positif en tokens) si enforcement souhaité
workModechoisi parmi les valeurs listées dansagentConfigurationDocde l'adapter- Activity log consulté après chaque mutation (
paperclipai activity list) - Plugins audités avant installation (licence, version pinée)
- OpenTelemetry activé si observabilité requise
Documentation complémentaire
project-context.md— Contexte projet, conventions équipeDev/i18n/en/Paperclip/rules/02-architecture-paperclip.md— Architecture monorepo détailléeDev/i18n/en/Paperclip/rules/12-adapter-protocol.md— Protocole adapter (wire contract)Dev/i18n/en/Paperclip/commands/generate-agent-config.md— Builder de payload hire- https://docs.paperclip.ing/ — Documentation officielle
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

