npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-outsourcing-studio

v0.5.4

Published

A Claude Code extension that installs a multi-agent software outsourcing company into ~/.claude/. Pitch an idea once and watch CEO, CTO, BA, Designer, Dev, DBA, Ops, QA, and a Devil's Advocate collaborate autonomously to ship a complete web app.

Readme


Why

Prompting a single AI agent to "build me an app" gives you a wall of code with no product thinking, no design contract, no test plan, and no one playing skeptic. AI Outsourcing Studio splits the work across nine specialist roles that behave like a real agency: someone owns scope, someone owns architecture, someone owns the schema, someone owns quality — and a Devil's Advocate is paid to poke holes before anything ships. You pitch once and stay out of the way.

Install

npx ai-outsourcing-studio install

That's it. Files land in your global Claude Code directory:

~/.claude/
├── agents/aos-*.md                 # 9 role subagents
├── commands/aos/*.md               # /aos:idea, /aos:board, /aos:tasks, ...
├── skills/aos-*/SKILL.md           # debate, handoff, sync, deliverable-scaffold
├── ai-outsourcing-studio/          # scripts, references, seeds (the "library" folder)
│   ├── scripts/*.mjs               # task.mjs, update-board.mjs, log-chat.mjs
│   ├── references/                 # canonical CLAUDE.md, AGENTS.md, GEMINI.md
│   ├── templates/company-seed/     # seed for new .company/ directories
│   └── VERSION
├── aos-file-manifest.json          # manifest for clean uninstall
└── settings.json                   # merged with your existing hooks (non-destructive)

Your existing hooks, agents, skills, and other extensions are not touched — the installer merges into settings.json by appending tagged entries, and every file it writes is recorded in a manifest for a clean uninstall.

Global npm install

npm install -g ai-outsourcing-studio
ai-outsourcing-studio install
# or the short alias:
aos install

Shell one-liners (for machines without npx on the path — they shell out to npx under the hood):

# macOS / Linux / WSL / Git Bash
curl -fsSL https://raw.githubusercontent.com/Caoquyen1913/ai-outsourcing-studio/main/install.sh | bash

# Windows PowerShell
irm https://raw.githubusercontent.com/Caoquyen1913/ai-outsourcing-studio/main/install.ps1 | iex

Use

Open the folder you want the studio to build in (this becomes the target project) and start Claude Code:

cd my-new-app
claude

Pitch the CEO:

/aos:idea "a tiny todo list web app with Google auth"

The CEO starts in autonomous mode. It asks at most 3 strategic vision questions — often zero — then hands off down the pipeline and doesn't bother you again until there's something to sign off:

CEO → BA → Designer → CTO → DBA + Ops → Dev → QA → (bug loop) → Ops → CEO sign-off

The CEO will not ask you about tech, stack, framework, database, hosting, libraries, UI, copy, deadlines, or budget. Those are delegated. CTO picks the stack. Designer picks tokens, layout, and copy. DBA designs the schema. Ops writes the runbook. QA files every defect as a bug task and re-verifies fixes in a loop until zero bugs remain.

Watch progress

| Command | What it shows | |---------|---------------| | /aos:board | Live dashboard — roles, open tasks, recent sync, artifacts | | /aos:tasks | Full task board + recent sync log | | /aos:standup | One-line status from every role | | /aos:kickoff | Re-trigger CEO discovery to revise scope mid-project | | /aos:ship | Final Ops + QA + CEO sign-off (blocks if any open bugs) |

Where things land

my-new-app/
├── .company/              # BOARD.md, CHATLOG.md, state.json, per-project artifacts
│   └── projects/<slug>/   # BRIEF.md, SPEC.md, DESIGN.md, ARCH.md, TASKS.md, ...
└── deliverables/<slug>/   # the actual generated web app

Multiple projects in different folders each keep their own .company/ — the global install only ships framework code.

The roles

Nine subagents, each with a strict lane. No one asks upward for permission to do their own job.

| Role | Owns | Decides | |------|------|---------| | 🧭 CEO | Vision, scope, win conditions | The only role that talks to you | | 📋 BA / PO | Requirements, backlog | User stories & acceptance criteria | | 🎨 Designer | UI/UX | Design tokens, layout, copy | | 🏗️ CTO | Architecture | Tech stack & system design | | 🗄️ DBA | Data | Schema & migrations | | ⚙️ Ops | Delivery | CI, deploy, runbook | | 💻 Dev | Implementation | How the code is written | | 🔍 QA / QC | Quality | Test strategy & the bug loop | | 😈 Devil's Advocate | Dissent | Stress-tests every major decision |

Core doctrines

Every role reads these on every turn. Full text ships in ~/.claude/ai-outsourcing-studio/references/CLAUDE.md.

  • Autonomy Doctrine — The user pitched and walked out the door. They are a client, not a collaborator. CEO is the only role that may speak to the user, and only for 3 strategic vision questions at kickoff (ideally zero), a user-initiated /aos:kickoff revision, or the final release note. Every other role runs silent.
  • Delegation Matrix — CEO decides vision + scope + win conditions. CTO decides tech stack + architecture. Designer decides UI + tokens + copy. DBA decides data model. Ops decides CI + deploy. Dev decides implementation details. QA decides test strategy.
  • Win Condition Doctrine — Every project is treated as company-survival. CEO writes 3–5 observable, stricter-than-AC win conditions in BRIEF.md. Ship-time sign-off requires documented evidence each is met.
  • Bug Loop — Every defect QA finds becomes a B-NNN task with an owner, file:line refs, and a re-verify loop. No wave is approved with any open or in_review bug. Dev reproduces before fixing, addresses root cause not symptom, and marks in_review; QA re-runs the exact failing test plus full regression, loop until zero.
  • Sync Loop — Every role appends a one-line status entry at the end of every turn (task.mjs sync ...) and reads the tail at the start, so no role acts on a stale picture.
  • Responsibility & Accountability — Own outcomes, not tasks. Quality > speed. Silence is complicity. Push back hard via the aos-debate skill, then commit fully.
  • Mandatory debates — At post-SPEC, post-DESIGN, post-ARCH, post-DATA-MODEL, and after each Dev wave, the owning role spawns the Devil's Advocate via the aos-debate skill and writes the result to REVIEWS/.

Update / uninstall

# Update to the newest version (overwrites framework files, leaves your projects alone)
npx ai-outsourcing-studio update

# Remove everything this installer put in ~/.claude/ (manifest-driven)
npx ai-outsourcing-studio uninstall

Uninstall reads ~/.claude/aos-file-manifest.json and removes exactly the files it installed, plus its tagged entries in settings.json. Your other hooks, agents, skills, and extensions are untouched.

Use with OpenAI Codex CLI

The studio integrates with OpenAI Codex CLI as a first-class second front-end. Install both at once:

npx ai-outsourcing-studio install --codex

This adds a Codex layer under ~/.codex/ on top of the shared company library in ~/.claude/:

  • A managed block is merged non-destructively into ~/.codex/AGENTS.md (your existing global instructions are preserved — the block sits between <!-- AOS:START --> / <!-- AOS:END --> markers and is cleanly removed on uninstall).
  • The studio skills are copied to ~/.codex/skills/aos-*/ in Codex's native SKILL.md format. This includes both the protocol skills (aos-sync, aos-handoff, aos-debate, aos-deliverable-scaffold) and the entry-point skills you launch from the / menu: aos-idea (give it a one-line pitch), aos-board, aos-tasks, aos-standup, aos-kickoff, aos-ship.
  • The same entry points are also installed as legacy custom prompts under ~/.codex/prompts/ (/prompts:aos-idea "<pitch>", /prompts:aos-board, …) for older Codex builds that still index the prompts directory. Current Codex builds surface skills in the / menu but no longer list ~/.codex/prompts/, so prefer the aos-* skills.

Because Codex has no subagents, it runs the same pipeline sequentially in one session — adopting each role's prompt from ~/.claude/agents/aos-*.md in turn and emulating handoffs and Devil's Advocate debates itself. Once installed, npx ai-outsourcing-studio update keeps the Codex layer in sync automatically; uninstall removes it and restores your AGENTS.md.

Other tools

The studio also ships canonical AGENTS.md, GEMINI.md, and a Cursor rule in ~/.claude/ai-outsourcing-studio/references/. To drive the same project from another agentic tool (Antigravity, Gemini CLI, Cursor), copy the relevant file to your project root — e.g. cp ~/.claude/ai-outsourcing-studio/references/AGENTS.md .. Native /aos:* slash commands and subagents are Claude Code only; other tools drive the pipeline by loading role prompts from ~/.claude/agents/aos-*.md.

Requirements

  • Node.js ≥ 18 — for the installer and the studio's scripts
  • Claude Code — installed and authenticated

Local development

git clone https://github.com/Caoquyen1913/ai-outsourcing-studio.git
cd ai-outsourcing-studio

# Test-install into a sandbox (does NOT touch your real ~/.claude/)
AOS_CLAUDE_HOME="$(pwd)/.tmp-home/.claude" node bin/cli.mjs install
find .tmp-home/.claude -type f

# Test uninstall
AOS_CLAUDE_HOME="$(pwd)/.tmp-home/.claude" node bin/cli.mjs uninstall

AOS_CLAUDE_HOME is an escape hatch for testing — do not set it in normal use.

Contributing

Issues and PRs are welcome. See CONTRIBUTING.md for the workflow, and please open an issue to discuss anything larger than a bug fix before sending a big PR.

License

MIT © caoquyen1913 and contributors