codepatchbaylisted
Install: claude install-skill changw98ic/codepatchbay
# CodePatchBay
## Overview
Use the published npm package `codepatchbay` to run local, inspectable agent workflows. Prefer the installed `cpb` command when available, and fall back to `npx -y codepatchbay@latest` for one-off use.
## Command Selection
Use this wrapper pattern:
```bash
cpb <command>
```
If `cpb` is unavailable and the user has not asked for a permanent install:
```bash
npx -y codepatchbay@latest <command>
```
For recurring use or setup work:
```bash
npm install -g codepatchbay
cpb setup --recommended
```
Only use a local checkout command such as `node cli/cpb.mjs` when the user is developing CodePatchBay itself or explicitly points at a source tree.
## First Run
1. Confirm the runtime:
```bash
cpb version
cpb doctor --json
```
2. If this is a new machine or missing adapter setup:
```bash
cpb setup --recommended
cpb agents detect --json
cpb auth status
```
3. For a safe smoke test with no provider keys:
```bash
cpb demo
```
## Project Workflow
For a workspace task:
```bash
cd <project>
cpb init .
cpb run "<task>"
```
For an already registered project:
```bash
cpb run "<task>" --project <project-id>
```
After launch, inspect evidence before reporting success:
```bash
cpb status <project-id>
cpb artifacts <job-id> --json
cpb verdict <job-id> --json
```
When the user asks for narrower follow-up, inspect or repair the durable job instead of routing through removed phase-specific entrypoints:
```bash
cpb status <project-id>
cpb artifacts <job