PAPERCLIP-PLUGIN-COMPANY-WIZARD(1)

NAME

paperclip-plugin-company-wizardBootstrap AI agent companies from modular templates.

SYNOPSIS

INFO

97 stars
14 forks
0 views
TypeScriptDeveloper Tools

DESCRIPTION

Bootstrap AI agent companies from modular templates.

README

Company Wizard

Company Wizard

Bootstrap AI agent teams from modular templates.

npm version CI License Node.js


Company Wizard is a Paperclip plugin that bootstraps an AI agent company for your project — roles, workflows, skills, and tasks — in a few clicks. Open it from the sidebar, answer a few questions (or just describe your project), and it assembles the workspace files and creates the company + CEO in Paperclip. The CEO then hires the team and sets up the backlog on its first heartbeat.


npm package installation (Paperclip > Settings > Plugins > Install Plugin):

@yesterday-ai/paperclip-plugin-company-wizard

Table of Contents


Two Ways to Start

AI mode

Describe your project in plain language. The wizard analyzes it and picks the right preset, modules, and roles automatically.

"A fintech startup building a payment API, security is critical" → selects secure preset, Security Engineer + Product Owner roles, provisions everything

Great for getting started fast when you're not sure which template fits.

Manual mode

Walk through the steps yourself: name your company, set a goal, pick a preset, add modules, choose roles. Each step shows descriptions and hover-card previews so you know what you're getting.

Before provisioning, you can open any generated file and edit it inline — tweak a persona, adjust a workflow, or add role-specific context.


How Roles Work

Every company starts with just the CEO — and that's already a functional team. Add roles and responsibilities shift automatically:

  • Add an Engineer → they take over implementation, git workflow, and technical decisions
  • Add a Product Owner → they take over backlog management and auto-assignment from the CEO
  • Add a UX Researcher → they become the primary market analyst
  • Add DevOps → they own CI/CD and monitoring (instead of Engineer or CEO)

No role is ever truly missing. When a specialist isn't present, the next best available person steps in. The CEO is always the final fallback.

Full capability ownership table

Start with just a CEO. Everything works. Add roles and responsibilities shift automatically:

CapabilityPrimary OwnerFallbackModule
market-analysisUX Researcher → CMO → Product OwnerCEOmarket-analysis
hiring-reviewProduct OwnerCEOhiring-review
backlog-healthProduct OwnerCEObacklog
auto-assignProduct OwnerCEOauto-assign
user-testingQA → UX Researcher → Product OwnerCEOuser-testing
brand-identityUI Designer → CMOCEObrand-identity
ci-cdDevOpsEngineerci-cd
monitoringDevOpsEngineermonitoring
tech-stackEngineerCEOtech-stack
architecture-planEngineerCEOarchitecture-plan
design-systemUI DesignerEngineerarchitecture-plan
pr-reviewCode Reviewer / Product Owner / UI Designer / UX Researcher / QA / DevOpspr-review
threat-modelSecurity Engineer → DevOpsEngineersecurity-audit
security-reviewSecurity Engineer → DevOpsEngineersecurity-audit
project-docsTechnical Writer → EngineerCEOdocumentation
competitive-trackingCustomer Success → CMO → Product OwnerCEOcompetitive-intel
accessibility-auditQA → UI DesignerEngineeraccessibility
codebase-auditEngineerCEOcodebase-onboarding
issue-triageProduct Owner → EngineerCEOtriage
dependency-auditDevOps → Security EngineerEngineerdependency-management
release-processDevOps → EngineerCEOrelease-management
game-designGame Designer → EngineerCEOgame-design
stall-detectionCEO (always)stall-detection
vision-workshopCEO (always)vision-workshop

How it works: Primary owners get the full skill. Fallback owners get a safety-net variant that only activates when the primary is absent or stalled.

Example: CEO only? They handle everything — strategy, backlog, auto-assign. Add an Engineer and they take over implementation. Add a Product Owner and they take over backlog management, with the CEO as fallback.


Presets

Presets are curated starting points that bundle a set of modules and optional roles for a specific use case. Pick one in the wizard and you're ready to go — or use it as a base and add modules on top.

PresetModulesBest for
fastgithub-repo, backlog, auto-assign, stall-detectionSolo engineer, prototypes, MVPs
quality+ pr-review, + Product Owner, + Code ReviewerTeams, production systems
rad+ tech-stack, + hiring-reviewRapid prototyping, formalize later
startup+ vision, market, hiring, tech, architectureStrategy-first, grow organically
researchvision, market, tech, hiring (no repo/code)Planning phase only
fullAll modules + Product Owner + Code ReviewerFull planning + quality engineering
secure+ security-audit, + Security Engineer + Code Reviewer + PORegulated industries, fintech, healthtech
gtm+ competitive-intel, brand-identity, + CMO + Customer Success + POMarket-facing products, competitive positioning
content+ documentation, accessibility, + Technical Writer + PODev tools, documentation-heavy projects
launch-mvplaunch-mvp, github-repo, backlog, auto-assign, stall-detectionShip a first version end-to-end
build-apibuild-api, github-repo, backlog, auto-assign, ci-cd, stall-detectionBuild a REST/GraphQL API from scratch
website-relaunchwebsite-relaunch, github-repo, pr-review, backlog, auto-assign, stall-detection + UI Designer + PORelaunch a website with external design assets
repo-maintenancetriage, codebase-onboarding, dependency-management, release-management, github-repo, pr-review, backlog, auto-assign, stall-detection + Code Reviewer + POMaintain an existing repository
build-gamegame-design, tech-stack, github-repo, backlog, auto-assign, stall-detection + Game Designer + Game Artist + Audio DesignerBuild a game from idea to release
launch-packvision-workshop, market-analysis, competitive-intel, brand-identity, tech-stack, architecture-plan, launch-mvp, github-repo, backlog, auto-assign, stall-detection + CTO + CMOFull executive team launch: strategy, tech, and marketing from day one

fast is for a single engineer — multiple engineers without review will cause conflicts.

research has no code workflow. Add github-repo and backlog when ready to build.

Preset details

fast — Solo engineer, direct-to-main, automated backlog. No review, no planning phase.

quality — Full review pipeline. Product Owner manages backlog and product alignment, Code Reviewer gates code quality. Feature branches with PR workflow.

rad — Rapid Application Development. Pick a tech stack, start building, hire when you hit bottlenecks. No upfront market research or architecture formalization — prototype first, learn from what you build, formalize later.

startup — Strategy-first. Starts with vision, market analysis, tech evaluation, and hiring review before any code. Grow the team through board approvals.

research — Planning only. Vision, market research, tech evaluation, and team assessment. No repo, no code workflow. Upgrade to startup or full when ready to build.

full — Everything. Full strategic planning, quality engineering with PR review, team growth via hiring review. Product Owner and Code Reviewer included. Best for serious projects that need both strategy and engineering rigor.

secure — Security-first. Threat modeling, security reviews, and quality gates on top of full planning and PR review. Security Engineer, Code Reviewer, and Product Owner included. Best for regulated industries, fintech, healthtech, or any project where security is a hard requirement.

gtm — Go-to-market focused. Competitive intelligence, market analysis, and brand identity. CMO for marketing strategy, Customer Success for competitive tracking, Product Owner for backlog. Best for products entering or competing in established markets.

content — Content and documentation focused. Technical Writer for developer docs and guides, accessibility for inclusive design, market analysis for positioning. Best for developer tools, documentation-heavy projects, or content-driven products.

website-relaunch — Relaunch an existing website with external design assets. Site audit, design ingestion, implementation, content migration, QA, and go-live. UI Designer for design analysis, Product Owner for backlog management. Includes a user-assigned "Provide design assets" issue as the entry point — upload your agency's designs, the team handles the rest.

repo-maintenance — Custodial maintenance for existing repositories. Agents review and merge open PRs, triage inbound GitHub issues, audit codebase health, manage dependencies, and handle releases. Code Reviewer for PR quality gates, Product Owner for issue triage and backlog. Inline goal bootstraps the team through repo onboarding, process setup, initial sweep, and steady-state maintenance.

build-game — Game development from idea to playable release. Game Designer owns the GDD, mechanics, and balancing. Game Artist generates sprites, textures, and tilesets via AI image generation and code-based approaches. Audio Designer creates sound effects, music, and soundscapes via AI generation and code-based synthesis. Inline goal with 5 milestones: concept (GDD + engine + art style), prototype (core loop + placeholder art + first playtest), vertical slice (one polished level), production (all content), polish & ship (balancing + distribution). Works for any genre.


Modules

Modules are composable capabilities you layer on top of the base team. Each module adds skills, tasks, and optionally heartbeat sections to the relevant roles. Modules are additive — you can combine them freely and they degrade gracefully when a role they extend isn't present.

Strategy & Planning

ModuleWhat it doesKickoff task
vision-workshopDefine vision, success metrics, strategic milestonesCEO defines vision
market-analysisResearch market, competitors, positioningPrimary owner conducts analysis
hiring-reviewEvaluate team gaps, propose hires via board approvalPrimary owner reviews team
tech-stackEvaluate and document technology choicesPrimary owner evaluates stack
architecture-planDesign system architecture + design systemEngineer + Designer (if present)
brand-identityBrand book, visual identity, design guidelinesPrimary owner defines brand
user-testingUsability evaluations and findingsPrimary owner runs evaluations
competitive-intelCompetitive landscape analysis and trackingPrimary owner builds landscape
documentationProject docs, API refs, onboarding guidesPrimary owner creates docs
security-auditThreat modeling and security code reviewPrimary owner conducts audit
accessibilityWCAG 2.2 compliance audit and remediationPrimary owner runs audit
website-relaunchWebsite relaunch: audit, design ingestion, implementation, migrationPrimary owner audits + analyzes designs
launch-mvpMVP lifecycle: scope, build core feature, deploy, iterate from feedbackCEO scopes, primary owner builds
game-designGame Design Document, core mechanics, progression, balancingPrimary owner creates GDD

Maintenance & Operations

ModuleWhat it doesKickoff task
codebase-onboardingAudit existing codebase, map architecture, track tech debt, ongoing cleanupPrimary owner audits codebase
triageClassify, prioritize, and respond to inbound GitHub issuesPrimary owner triages open issues
dependency-managementDependency audits, CVE scanning, safe patching, upgrade planningPrimary owner audits dependencies
release-managementSemver, changelogs, git tagging, GitHub Releases, rollback proceduresPrimary owner documents release process

Engineering Workflow

ModuleWhat it doesKickoff task
github-repoGit workflow and commit conventionsEngineer initializes repo
pr-reviewPR-based review workflowEngineer sets up branch protection
backlogAuto-generate issues from goals when backlog runs lowPrimary owner creates initial backlog
auto-assignAssign unassigned issues to idle agents
stall-detectionDetect stuck handovers, nudge or escalate
build-apiREST API: schema design, endpoints, auth, documentationEngineer designs and implements
ci-cdContinuous integration and deployment pipelinePrimary owner sets up CI/CD
monitoringObservability, alerting, health checksPrimary owner sets up monitoring
Module details

vision-workshop

Defines the strategic foundation. The CEO runs a vision workshop to refine the company goal into a vision statement, success metrics, and milestones.

  • Capability: none (CEO-only strategic task)
  • Doc: docs/vision-template.md
  • With UX Researcher: contributes user-centered metrics and journey mapping

market-analysis

Researches the target market, competitors, and positioning.

  • Capability: market-analysis — owners: ux-researchercmoproduct-ownerceo
  • Fallback: CMO focuses on positioning and competitive landscape; CEO creates a brief overview only
  • Doc: docs/market-analysis-template.md

hiring-review

Evaluates team composition against the goal and proposes hires through board approval.

  • Capability: hiring-review — owners: product-ownerceo
  • Fallback: CEO proposes one urgent hire only

tech-stack

Evaluates technology options and documents decisions with rationale and trade-offs.

  • Capability: tech-stack — owners: engineerceo
  • Fallback: CEO makes pragmatic defaults, marks them provisional
  • Doc: docs/tech-stack-template.md

architecture-plan

Designs the system architecture. Requires tech-stack. Includes a design-system capability for UI Designers.

  • Capability: architecture-plan — owners: engineerceo
  • Capability: design-system — owners: ui-designerengineer
  • Docs: docs/architecture-template.md, docs/design-system-template.md

github-repo

Git workflow and commit conventions.

  • Task: Engineer initializes repo
  • Doc: docs/git-workflow.md

pr-review

PR-based review workflow. Requires github-repo. Activates with code-reviewer, product-owner, ui-designer, ux-researcher, qa, or devops.

  • Task: Engineer sets up branch protection
  • Doc: docs/pr-conventions.md

backlog

Owns the product backlog lifecycle — from goal decomposition to a steady pipeline of actionable issues.

  • Capability: backlog-health — owners: product-ownerceo
  • Fallback: CEO creates 1-2 issues only when backlog is critically empty
  • Doc: docs/backlog-process.md

auto-assign

Assigns unassigned issues to idle agents.

  • Capability: auto-assign — owners: product-ownerceo
  • Fallback: CEO assigns only when agents are critically idle

brand-identity

Creates brand guidelines: logo usage, color palette, typography, iconography, and tone of voice.

  • Capability: brand-identity — owners: ui-designercmoceo
  • Fallback: CMO focuses on brand strategy and messaging; CEO creates minimal provisional placeholder
  • Doc: docs/brand-identity-template.md

user-testing

Designs and executes usability evaluations, documents findings with severity ratings.

  • Capability: user-testing — owners: qaux-researcherproduct-ownerceo
  • Fallback: QA adds test automation and edge case coverage; CEO creates a basic heuristic checklist
  • Doc: docs/user-testing-template.md

ci-cd

Continuous integration and deployment pipeline. Requires github-repo.

  • Capability: ci-cd — owners: devopsengineer
  • Fallback: Engineer sets up basic CI (lint, test, build); DevOps owns full pipeline lifecycle including CD
  • Doc: docs/ci-cd-template.md

monitoring

Observability, error tracking, logging, alerting, and health checks. Requires github-repo.

  • Capability: monitoring — owners: devopsengineer
  • Fallback: Engineer sets up basic health checks and structured logging; DevOps owns full observability stack
  • Doc: docs/monitoring-template.md

security-audit

Threat modeling and security code review. Identifies attack surfaces, OWASP Top 10 vulnerabilities, and dependency CVEs.

  • Capability: threat-model — owners: security-engineerdevopsengineer
  • Capability: security-review — owners: security-engineerdevopsengineer
  • Fallback: DevOps focuses on infrastructure security; Engineer runs basic checks only

documentation

Project documentation: READMEs, API references, architecture overviews, onboarding guides.

  • Capability: project-docs — owners: technical-writerengineerceo
  • Fallback: Engineer writes minimal README; CEO creates bare-bones project overview

competitive-intel

Living competitive landscape — competitor profiles that evolve over time with positioning, strengths, and differentiation insights.

  • Capability: competitive-tracking — owners: customer-successcmoproduct-ownerceo
  • Fallback: CMO focuses on positioning angles; CEO creates brief overview only

accessibility

WCAG 2.2 compliance auditing: semantic HTML, keyboard navigation, color contrast, ARIA, screen reader compatibility.

  • Capability: accessibility-audit — owners: qaui-designerengineer
  • Fallback: UI Designer focuses on visual accessibility; Engineer runs automated checks

website-relaunch

Full website relaunch lifecycle: audit the current site, ingest design assets from an external agency, implement the new design, migrate content, and go live. Includes an inline goal with 5 milestones and 10 issues.

  • Capability: design-ingestion — owners: ui-designerengineerceo
  • Capability: site-audit — owners: ui-designerengineerceo
  • Goal: Website Relaunch (with dedicated project, 5 milestones, 10 issues)

build-api

REST API development from schema to documentation. Inline goal with 4 milestones and 8 issues.

  • Capability: api-design — owners: engineerceo
  • Requires: github-repo
  • Goal: Build a REST API (with dedicated project, 4 milestones, 8 issues)

launch-mvp

MVP project lifecycle: define scope tightly, build the core feature, deploy, and iterate from user feedback. No capabilities or skills — structured goal with milestones and issues.

  • Goal: Launch MVP (with dedicated project, 4 milestones, 8 issues)

codebase-onboarding

Audit an existing codebase and maintain its health over time. Requires github-repo.

  • Capability: codebase-audit — owners: engineerceo
  • Output: docs/CODEBASE-AUDIT.md

triage

Processes inbound GitHub issues: classify by type and priority, respond to reporters, close duplicates, convert actionable items into Paperclip tasks. Requires github-repo.

  • Capability: issue-triage — owners: product-ownerengineerceo

dependency-management

Dependency lifecycle: vulnerability scanning, outdated package detection, safe patch-level updates, and major version migration planning. Requires github-repo.

  • Capability: dependency-audit — owners: devopssecurity-engineerengineer
  • Output: docs/DEPENDENCY-AUDIT.md

release-management

Release lifecycle: semantic versioning, changelog generation, git tagging, GitHub Releases, and rollback documentation. Requires github-repo.

  • Capability: release-process — owners: devopsengineerceo
  • Output: docs/RELEASE-PROCESS.md

game-design

Game Design Document creation and ongoing mechanic design, progression, and balancing. Ships a GDD template and engine reference docs (Phaser, PixiJS, Three.js).

  • Capability: game-design — owners: game-designerengineerceo
  • Docs: docs/gdd-template.md, docs/engine-phaser.md, docs/engine-pixijs.md, docs/engine-threejs.md

stall-detection

Detects issues stuck in in_progress or in_review with no recent activity. Nudges the assigned agent, escalates to the board if nudging doesn't help.

  • Capability: CEO-only

Roles

Every company starts with just the CEO (the only base role). All other roles are optional:

RolePaperclip roleReports toEnhances
Product OwnerpmCEOTakes over roadmap, auto-assign, hiring-review from CEO
Code ReviewergeneralCEOEnables pr-review activation
UI & Brand DesignerdesignerCEOTakes over design-system and brand-identity
UX ResearcherresearcherCEOTakes over market-analysis and user-testing
CTOctoCEOTechnical leadership, architecture oversight
CMOcmoCEOMarketing strategy, go-to-market, growth metrics
CFOcfoCEOFinancial planning, budget tracking, cost analysis
DevOps EngineerdevopsCEOTakes over ci-cd and monitoring from Engineer
QA EngineerqaCEOTakes over user-testing, quality gates
Technical WritergeneralCEOTakes over documentation, adds doc review pass
Security EngineergeneralCEOTakes over security-audit, adds security review pass
Customer SuccessgeneralCEOTakes over competitive-intel customer analysis
Game DesignerpmCEOTakes over game-design from Engineer, playtesting focus
Level DesignerpmCEOTakes over level-specific design from Game Designer
Game ArtistdesignerCEOTakes over art asset creation from Engineer
Audio DesignerdesignerCEOTakes over audio asset creation from Engineer
Role details

Product Owner

The voice of the user. Owns the backlog pipeline, validates engineering output against goals, manages scope discipline. Adds product-alignment review pass with pr-review module.

Code Reviewer

Owns code quality. Reviews PRs for correctness, style, security, and test coverage. Never writes code — only reviews it.

UI & Brand Designer

Owns visual identity, design systems, and brand consistency. Creates design specs that engineers implement. Outputs are design documents, not code. Adds design review pass with pr-review module.

UX Researcher

Owns user experience research, usability analysis, and journey mapping. Grounds design and product decisions in evidence-based user insights. Adds UX review pass with pr-review module.

CTO

Technical leadership and architecture oversight. Guides technology decisions, reviews system design, and ensures engineering quality at scale.

CMO

Owns marketing strategy, brand positioning, go-to-market planning, and growth metrics. Data-driven, measures everything.

CFO

Owns financial planning, budget tracking, cost analysis, and resource allocation. Monitors agent cost events and budget utilization.

DevOps Engineer

Owns infrastructure, CI/CD pipelines, deployment, monitoring, and platform reliability. Automation over manual work, infrastructure as code.

QA Engineer

Owns test strategy, test automation, quality gates, and regression prevention. Prevention over detection.

Technical Writer

Owns developer documentation, API references, READMEs, and onboarding guides. Keeps docs accurate as the codebase evolves.

Security Engineer

Owns threat modeling, security code reviews, OWASP compliance, and secure coding standards. Security issues are always blocking.

Customer Success Manager

Owns customer health monitoring, feedback synthesis, churn prevention, and competitive intelligence from the customer perspective.

Game Designer

Owns the Game Design Document, core mechanics, game loop, progression systems, difficulty curves, and balancing. Runs design experiments and iterates based on playtest data.

Level Designer

Owns level layout, pacing, difficulty curves, environmental storytelling, and spatial progression.

Game Artist

Owns visual art production: sprites, textures, tilesets, UI elements, and visual effects. Creates assets using AI image generation tools, code-based approaches, and asset pipeline tools.

Audio Designer

Owns audio production: sound effects, music, ambient soundscapes, and audio systems design. Creates audio using AI generation tools, code-based synthesis, and audio processing pipelines.


Configuration

Configure the plugin via Settings → Plugins → Company Wizard in the Paperclip UI.

FieldRequiredDescription
companiesDirNoWhere assembled company workspaces are written. Defaults to ~/.paperclip/instances/default/companies. Override for Docker setups.
templatesPathNoPath to the templates directory. Defaults to ~/.paperclip/plugin-templates (auto-downloaded from templatesRepoUrl if missing).
templatesRepoUrlNoGitHub tree URL to pull templates from when the templates directory does not exist. Defaults to the official @Yesterday-AI/paperclip-plugin-company-wizard templates.
paperclipUrlNoPaperclip instance URL. Defaults to http://localhost:3100 or PAPERCLIP_PUBLIC_URL env var.
paperclipEmailNoBoard login email. Required for authenticated (non-local_trusted) instances.
paperclipPasswordNoBoard login password. Stored as a secret ref.
anthropicApiKeyNoAnthropic API key for AI wizard mode. Stored as a secret ref. Required to use the AI-powered setup path.

Development

pnpm install
pnpm build          # esbuild: worker + manifest + UI → dist/
pnpm dev            # watch mode
pnpm test           # vitest: tests/**/*.spec.ts
pnpm test:logic     # node --test: src/logic/*.test.js
pnpm typecheck      # tsc --noEmit

After pnpm build, reload the plugin in the Paperclip UI — no reinstall required.


Extending

Add a module

templates/modules/<name>/
├── module.meta.json             # Name, capabilities, tasks, dependencies, permissions
├── skills/                      # Shared skills (used by any primary owner)
│   └── <skill>.md
├── agents/<role>/
│   ├── skills/                  # Role-specific overrides and fallbacks
│   │   ├── <skill>.md           # Override (replaces shared for this role)
│   │   └── <skill>.fallback.md  # Fallback (safety-net for non-primary)
│   └── heartbeat-section.md     # Optional: injected into role's HEARTBEAT.md
└── docs/                        # Shared docs (→ docs/)
module.meta.json schema
{
  "name": "my-module",
  "requires": ["other-module"],
  "activatesWithRoles": ["my-role"],
  "permissions": ["tasks:assign"],
  "adapterOverrides": { "chrome": true },
  "capabilities": [
    {
      "skill": "my-skill",
      "owners": ["my-role", "ceo"],
      "fallbackSkill": "my-skill.fallback"
    }
  ],
  "tasks": [
    {
      "title": "Initial task",
      "assignTo": "capability:my-skill",
      "description": "Task description"
    }
  ],
  "goal": {
    "title": "My Goal",
    "description": "What this goal achieves",
    "project": true,
    "milestones": [
      { "id": "phase-1", "title": "Phase 1", "project": false }
    ],
    "issues": [
      { "title": "First task", "milestone": "phase-1", "assignTo": "engineer", "priority": "high" }
    ]
  }
}
FieldDescription
requiresOther modules that must be selected
activatesWithRolesModule only applies if one of these roles is present
capabilities[].ownersPriority order — first present role gets the primary skill
capabilities[].fallbackSkillFilename (without .md) of the fallback variant
tasks[].assignToA role name or "capability:<skill>" to auto-resolve
adapterOverridesAdapter config keys merged into all capability owner agents during provisioning
goalOptional inline goal. When active, tasks are skipped.
goal.projectIf true (default), creates a dedicated Paperclip project for this goal
goal.issues[].assignToRole name, "capability:<skill>", or "user" (human pickup)
Skill resolution

When assembling a capability's primary skill, the system checks in order:

  1. Role-specific override: agents/<role>/skills/<skill>.md
  2. Shared skill: skills/<skill>.md

First match wins. Most capabilities only need a shared skill. Role-specific overrides exist only when a role brings a genuinely different approach.

Example: market-analysis module
├── skills/
│   └── market-analysis.md                    # Shared: any primary owner
├── agents/
│   ├── ux-researcher/skills/
│   │   └── market-analysis.md                # Override: user-focused
│   └── ceo/skills/
│       └── market-analysis.fallback.md       # Fallback: brief overview
  • UX Researcher present → gets role-specific override (user-focused)
  • Product Owner primary → gets shared skill
  • CEO as fallback → gets fallback variant
Doc references in skills

Two kinds of docs end up in {company}/docs/:

  • Templates (lowercase-kebab.md) — Shipped by modules, copied at assembly time. Guaranteed to exist if the module is active.
  • Agent output (UPPERCASE.md) — Created by agents during execution. May or may not exist yet.
ReferenceRuleExample
Define own outputName the path directly"Document in docs/TECH-STACK.md"
Read own templateReference directly"Follow conventions in docs/pr-conventions.md"
Read cross-module outputAlways conditional"If docs/TECH-STACK.md exists, review it. Otherwise, proceed based on project context."

Add a role

templates/roles/<name>/
├── role.meta.json   # Name, title, base, paperclipRole, reportsTo, adapter
├── AGENTS.md
├── SOUL.md
├── HEARTBEAT.md
└── TOOLS.md
role.meta.json schema
{
  "name": "my-role",
  "title": "My Role",
  "base": false,
  "division": "engineering",
  "tagline": "One-liner for wizard display and AI selection",
  "paperclipRole": "general",
  "description": "What this role does",
  "reportsTo": "ceo",
  "enhances": ["Takes over X from CEO"],
  "adapter": {
    "model": "claude-sonnet-4-6"
  }
}
FieldDescription
basetrue for always-present roles (ceo only)
divisionGrouping: leadership, engineering, design, product
taglineOne-liner for wizard UX and AI selection
paperclipRolePaperclip enum: ceo, engineer, pm, qa, designer, cto, cmo, cfo, devops, researcher, general
adapterPassed to adapterConfig during provisioning

Add a preset

Create templates/presets/<name>/preset.meta.json:

{
  "name": "my-preset",
  "description": "What this preset is for",
  "constraints": [],
  "roles": ["product-owner"],
  "modules": ["github-repo", "backlog"]
}

How It Works

┌─────────────┐     ┌──────────────┐     ┌──────────────────┐
│   Wizard    │────▶│   Assembly   │────▶│   Provisioning   │
│   (UI)      │     │  (files)     │     │   (Paperclip API)│
└─────────────┘     └──────────────┘     └──────────────────┘

Assembly (always runs):

  1. Copies base role files (CEO, Engineer) into agents/
  2. Copies selected extra roles into agents/
  3. For each module: resolves capability ownership, installs skills, copies docs
  4. Injects module heartbeat sections into each role's HEARTBEAT.md
  5. Generates BOOTSTRAP.md with goal, project, agent paths, and initial tasks

Provisioning (Review → Provision step):

  1. Connects to Paperclip API (auto-detects local_trusted vs authenticated)
  2. Creates the company in Paperclip
  3. Creates the CEO agent with adapter config (cwd, instructionsFilePath, model)
  4. Creates a Bootstrap task assigned to the CEO

The CEO then sets up the rest of the team on its first heartbeat: hiring the other roles from disk, creating the goal, project, and initial backlog issues. If provisioning fails after the company is created, the partial company is automatically deleted.


Changelog

See CHANGELOG.md for version history.

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT

SEE ALSO

clihub4/14/2026PAPERCLIP-PLUGIN-COMPANY-WIZARD(1)