From harness-plugin
Launch the VIBM autonomous development harness — gathers requirements, brainstorms spec, generates app_spec.md, and starts the agent loop
How this skill is triggered — by the user, by Claude, or both
Slash command
/harness-plugin:loopThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Launch the VIBM autonomous development harness. Gathers feature requirements, brainstorms the spec, generates `app_spec.md`, and starts the agent loop.
Launch the VIBM autonomous development harness. Gathers feature requirements, brainstorms the spec, generates app_spec.md, and starts the agent loop.
The harness creates commits and pushes code. It MUST run inside a git worktree, never on main.
Check the current branch:
git branch --show-current
If it says main, you MUST create a worktree before proceeding. Use the EnterWorktree tool:
EnterWorktree(name="harness-<feature-name>")
Or create one manually:
git worktree add .claude/worktrees/harness-<feature-name> -b feat/<feature-name>
cd .claude/worktrees/harness-<feature-name>
npm install
DO NOT skip this step. If you are already in a non-main branch/worktree, you may proceed.
.env from the source repoGit worktrees do NOT include untracked files like .env. The API keys live in the original project root, not in the worktree. Find the source repo root and source from there:
SOURCE_ROOT=$(git worktree list --porcelain | head -1 | sed 's/^worktree //')
set -a && source "$SOURCE_ROOT/.env" && set +a
Verify the key is set:
echo "ANTHROPIC_API_KEY is ${ANTHROPIC_API_KEY:+set}"
If it prints "set", proceed. If not, STOP — the harness will fail without API keys.
Why this matters: Without this step, the harness dry-run hangs, the pre-bash hook blocks on missing ANTHROPIC_API_KEY, and agents waste iterations regenerating app_spec.md from scratch.
Use the AskUserQuestion tool to ask the user TWO questions:
Question 1 — "What feature(s) do you want to build? Describe the functionality, screens, and user flows."
Question 2 — "How many harness iterations should we run?"
Invoke the superpowers:brainstorming skill using the Skill tool:
skill: "superpowers:brainstorming"
When brainstorming, focus on producing a product specification for the harness, NOT an implementation plan. The brainstorming output should cover:
#[tauri::command] handlers with argument/return typesIMPORTANT: After brainstorming, do NOT invoke writing-plans. Instead, proceed to Step 3.
Take the brainstormed spec and write it to harness/prompts/app_spec.md using the Write tool. The file should be a clean markdown document that the harness initializer agent can read to generate a feature_list.json.
Structure the file as:
# VIBM — App Specification
## Overview
[from brainstorming]
## Tech Stack
- Framework: Tauri 2
- Frontend: React 19 + TypeScript (arrow-function components)
- Backend: Rust (Tauri commands, managed state)
- Testing: Vitest + Testing Library (frontend), cargo test (backend)
- Linting: ESLint flat config, cargo clippy
- Formatting: Prettier, cargo fmt
## Core Features
[from brainstorming — bulleted list]
## Data Model
[from brainstorming — TypeScript interfaces + Rust structs]
## IPC Commands
[from brainstorming — command table with args/returns]
## UI Screens
[from brainstorming — screen descriptions]
## User Flows
[from brainstorming — step-by-step flows]
Pre-flight check: Confirm you are NOT on main and that ANTHROPIC_API_KEY is set (both from Step 0). If either is missing, go back to Step 0.
Run the harness using Bash:
cd harness && pip install -r requirements.txt 2>/dev/null && python autonomous_agent_demo.py --max-iterations <N>
Where <N> is the iteration count from Step 1. If "Unlimited", omit the --max-iterations flag entirely.
Notes:
--no-sandbox (the OS-level sandbox is unreliable on WSL2). On macOS/Linux, omit it to keep sandbox isolation enabled.IMPORTANT: This command will run for a long time. Use run_in_background: true on the Bash tool so the user isn't blocked. Tell the user the harness is running and they can check progress with:
cat feature_list.json | grep '"passes": true' | wc -l — count completed featurescat claude-progress.txt — read the latest progress notesgit log --oneline -10 — see recent commits from the agentProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub winoooops/vimeflow --plugin harness-plugin