doc/CLIPHUB.md
Download a company.
ClipHub is the public registry where people share, discover, and download Paperclip company configurations. A company template is a portable artifact containing an entire org — agents, reporting structure, adapter configs, role definitions, seed tasks — ready to spin up with one command.
ClipHub is to Paperclip what a package registry is to a programming language. Paperclip already supports exportable org configs (see SPEC.md §2). ClipHub is the public directory where those exports live.
A user builds a working company in Paperclip — a dev shop, a marketing agency, a research lab, a content studio — exports the template, and publishes it to ClipHub. Anyone can browse, search, download, and spin up that company on their own Paperclip instance.
The tagline: you can literally download a company.
A ClipHub package is a company template export — the portable artifact format defined in the Paperclip spec. It contains:
| Component | Description |
|---|---|
| Company metadata | Name, description, intended use case, category |
| Org chart | Full reporting hierarchy — who reports to whom |
| Agent definitions | Every agent: name, role, title, capabilities description |
| Adapter configs | Per-agent adapter type and configuration (SOUL.md, HEARTBEAT.md, CLAUDE.md, process commands, webhook URLs — whatever the adapter needs) |
| Seed tasks | Optional starter tasks and initiatives to bootstrap the company's first run |
| Budget defaults | Suggested token/cost budgets per agent and per company |
Templates are structure, not state. No in-progress tasks, no historical cost data, no runtime artifacts. Just the blueprint.
Not every use case needs a whole company. ClipHub also supports publishing individual components:
These can be mixed into existing companies. Download an agent, slot it into your org, assign a manager, go.
The homepage surfaces companies across several dimensions:
Each listing shows: name, short description, org size (agent count), category, adapter types used, star count, download count, and a mini org chart preview.
Search is semantic, not keyword-only. Powered by vector embeddings so you can search by intent:
Also supports filtering by: category, agent count range, adapter types, star count, recency.
Clicking into a company template shows:
Two ways to use a template:
Install (fresh start):
paperclip install cliphub:<publisher>/<company-slug>
Downloads the template and creates a new company in your local Paperclip instance. You add your own API keys, set budgets, customize agents, and hit go.
Fork: Forking creates a copy of the template under your own ClipHub account. You can modify it, republish it as your own variant, and the fork lineage is tracked. This enables evolutionary improvement — someone publishes a marketing agency, you fork it, add a social media team, republish.
Every install is counted. The registry tracks:
These signals feed into search ranking and discovery.
Anyone with a GitHub account can publish to ClipHub. Authentication is via GitHub OAuth.
From within Paperclip, export your company as a template, then publish:
paperclip export --template my-company
paperclip publish cliphub my-company
Or use the web UI to upload a template export directly.
When publishing, you specify:
| Field | Required | Description |
|---|---|---|
slug | yes | URL-safe identifier (e.g. lean-dev-shop) |
name | yes | Display name |
description | yes | What this company does and who it's for |
category | yes | Primary category (see below) |
tags | no | Additional tags for discovery |
version | yes | Semver (e.g. 1.0.0) |
changelog | no | What changed in this version |
readme | no | Extended documentation (markdown) |
license | no | Usage terms |
Templates use semantic versioning. Each publish creates an immutable version. Users can install any version or default to latest. Version history and changelogs are visible on the detail page.
sync CommandFor power users who maintain multiple templates:
paperclip cliphub sync
Scans your local exported templates and publishes any that are new or updated. Useful for maintaining a portfolio of company templates from a single repo.
Company templates are organized by use case:
| Category | Examples |
|---|---|
| Software Development | Full-stack dev shop, API development team, mobile app studio |
| Marketing & Growth | Performance marketing agency, content marketing team, SEO shop |
| Content & Media | Content studio, podcast production, newsletter operation |
| Research & Analysis | Market research firm, competitive intelligence, data analysis team |
| Operations | Customer support org, internal ops team, QA/testing shop |
| Sales | Outbound sales team, lead generation, account management |
| Finance & Legal | Bookkeeping service, compliance monitoring, financial analysis |
| Creative | Design agency, copywriting studio, brand development |
| General Purpose | Starter templates, minimal orgs, single-agent setups |
Categories are not exclusive — a template can have one primary category plus tags for cross-cutting concerns.
Publishers who meet certain thresholds (account age, published templates with good signals) earn a verified badge. Verified templates rank higher in search.
Company templates contain adapter configurations, which may include executable commands (process adapter) or webhook URLs (HTTP adapter). The moderation system:
New accounts have a waiting period before they can publish. This prevents drive-by spam.
ClipHub is a separate service from Paperclip itself. Paperclip is self-hosted; ClipHub is a hosted registry that Paperclip instances talk to.
| Layer | Role |
|---|---|
| ClipHub Web | Browse, search, discover, comment, star — the website |
| ClipHub API | Registry API for publishing, downloading, searching programmatically |
| Paperclip CLI | paperclipai install, paperclipai publish, paperclipai cliphub sync — built into Paperclip |
| Paperclip UI | "Browse ClipHub" panel in the Paperclip web UI for discovering templates without leaving the app |
| Layer | Technology |
|---|---|
| Frontend | React + Vite (consistent with Paperclip) |
| Backend | TypeScript + Hono (consistent with Paperclip) |
| Database | PostgreSQL |
| Search | Vector embeddings for semantic search |
| Auth | GitHub OAuth |
| Storage | Template zips stored in object storage (S3 or equivalent) |
Publisher
id, github_id, username, display_name, verified, created_at
Template
id, publisher_id, slug, name, description, category,
tags[], readme, license, created_at, updated_at,
star_count, download_count, fork_count,
forked_from_id (nullable)
Version
id, template_id, version (semver), changelog,
artifact_url (zip), agent_count, adapter_types[],
created_at
Star
id, publisher_id, template_id, created_at
Comment
id, publisher_id, template_id, body, parent_id (nullable),
created_at, updated_at
Report
id, reporter_id, template_id, reason, created_at
paperclipai install cliphub:acme/lean-saas-shoppaperclipai export --template my-agencypaperclipai publish cliphub my-agencypaperclipai install cliphub:acme/senior-python-eng --agentClipHub is not required to use Paperclip. You can build companies entirely from scratch without ever touching ClipHub. But ClipHub dramatically lowers the barrier to entry:
ClipHub is to Paperclip what a package registry is to a language runtime: optional, but transformative.
paperclipai install cliphub:<publisher>/<slug> CLI commandpaperclipai cliphub sync for bulk publishing