bad-agent-kit0.4.0
BAK — bad-agent-kit: a curated skills marketplace + workflow orchestrator. The router that keeps you from being one. Compose, never own.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
BAK — bad-agent-kit
The skill router that keeps your agent from shipping the bad one. A curated skills marketplace + workflow orchestrator. Compose, never own.
Never mutate on inspect. Never publish without authority.
What it is
- Marketplace — pins and composes battle-tested upstream skills (mattpocock, pstack). Never vendors them.
- Orchestrator — the
bakrouter drives orient → plan → implement → review → mr through a self-contained builtin lane. Works with zero external suites.
Install
# pi — everything builtin
pi install npm:bad-agent-kit
# Cursor / Claude Code / Codex (skills.sh) — the 5 builtin skills
for s in bak go-plan go-tdd go-review babysit; do
npx skills@latest add aniqaqill/bad-agent-kit -g --skill "$s" --agent cursor -y
done
# optional providers (opt-in)
bash scripts/bootstrap.sh cursor --providers mattpocock
Pick ONE channel per agent per provider.
The workflow
Start every task the same way:
<agent>, repo is <path>. Goal: <one sentence>. Run bak and follow its route.
Grant authority only when it asks.
bak drives five phases. What each phase must produce never changes — only
who executes it changes (a present provider or the builtin lane).
- orient — read-only.
bakreads the repo, applies the go.mod fence, and detects providers. Nothing mutates. - plan — a design naming every seam and acceptance condition. You approve the spec before code starts.
- implement — test-first at the agreed seams. Local only; nothing is pushed.
- review — standards and spec reported separately. Report only; no push, no merge.
- mr —
babysitdrives the PR (conflicts → threads → CI). Push/merge/ close only on your explicit "go".
flowchart LR
bak --> F{go.mod?}
F -- yes --> G[go-plan → go-tdd → go-review]
F -- no --> P[plan] --> I[implement] --> R[review] --> M[mr / babysit]
G --> R
MP[mattpocock] -. optional .-> P
MP -. optional .-> I
MP -. optional .-> R
PS[pstack] -. optional .-> P
PS -. optional .-> R
M -- your authority --> D((push / merge))
Go fence: if the repo has a go.mod, Go work always uses the builtin
go-plan/go-tdd/go-review — never a provider.
Providers (optional)
A provider runs only when pinned AND detected; otherwise bak falls back to
the builtin lane with a skip note.
| Provider | What it adds | Install |
|---|---|---|
| mattpocock | plan / implement / review stack | catalog |
| pstack | plan / adversarial review + evidence discipline | catalog |
Full catalog: docs/catalog.md.
Plug in any suite
A provider is any suite that owns a workflow phase. To plug one in, add exactly three data-only artifacts — no router changes:
| Artifact | File |
|---|---|
| Pin | one line in manifest/providers.toml |
| Adapter | adapters/<id>.md — maps namespaced skills to phase contracts |
| Detection | detect_<id>() in scripts/detect-providers.sh |
bak routes only by namespaced id (mp:*, pstack:*, local:*), never by
bare name or discovery order. The contract a suite must satisfy:
skills/bak/references/contracts.md.
Connect pstack
Two ways to connect pstack:
- Plugin channel (canonical) —
/add-plugin pstack(Cursor) or/plugin install pstack@cursor-plugins. - Manual clone (fallback, never canonical) —
git clone https://github.com/cursor/pluginsto a pinned location and record the root. No npx.
Full spec: adapters/pstack.md.
Feedback
Installing from npm? Tell me what's working and what's not — bug reports, skill ideas, and install friction all count: open an issue.
License
MIT — skills listed here remain property of their authors.