.cursor/skills/act/ai-crew-run/SKILL.md
Run an existing AI crew/committee workflow. Use when the user wants to execute a KaibanJS crew, pass inputs, or invoke a crew script (e.g. prd-review).
npx skillsauth add JuroOravec/agents act-ai-crew-runInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Workflow for executing an existing AI crew — passing inputs, handling output, and troubleshooting.
This skill complements act-ai-crew-create: that skill creates crews; this skill runs them.
Example: See ai_crew_usage_example.md for a real conversation where the PRD review committee was invoked on a design document (spec-first PRD diff). The committee ran via OpenRouter and wrote structured output to a markdown file.
Trigger this skill when:
Format: All skills MUST use ### Phase N: Title for each workflow step. Enforced by validation script in CI.
Skill-eval (meta-evaluation): From the project root, run ./scripts/skill-eval.sh start {conversation_id} act-ai-crew-run at workflow start (conversation_id is injected at session start—look for "Conversation ID (for skill-eval)" in context). Capture the printed skill_id from the terminal output. Preserve both conversation_id and skill_id for the duration. After each phase (or when skipping a phase), run ./scripts/skill-eval.sh complete {skill_id} {phase_no} or ./scripts/skill-eval.sh complete {skill_id} {phase_no} --skipped from the project root.
Determine which crew script to run, the input path, and the output path. For prd-review: input-path and output-path are required; use --demo to substitute the example PRD as input. Ensure OPENAI_API_KEY (or provider-specific key) is set.
Run the crew via pnpm script (e.g. pnpm run crew-prd-review input.md output.md) or programmatically via runPrdReview({ inputPath, outputPath, demo? }). See Input passing below.
Crews typically write to the output path. Report the written file and any stats to the user.
Most crews live in scripts/crews/ and are invoked via a pnpm script. PRD review uses required input and output paths:
pnpm run crew-prd-review <input-path> <output-path>
pnpm run crew-prd-review --demo <output-path> # use DEMO_PRD (example format) as input
| Crew | Input | Output |
| ---- | ----- | ------ |
| crew-prd-review | Input path (PRD file) or --demo | Output path (writes refined PRD + outstanding questions) |
When invoking from another script or API:
import { runPrdReview } from "./scripts/crews/prd-review.js";
const result = await runPrdReview({
inputPath: "docs/draft-prd.md",
outputPath: "docs/refined-prd.md",
});
// Or with --demo equivalent:
await runPrdReview({ inputPath: "", outputPath: "out.md", demo: true });
Crews need LLM API keys. Pass via environment:
OPENAI_API_KEY=sk-... pnpm run crew-prd-review
# or
export OPENAI_API_KEY=sk-...
pnpm run crew-prd-review
The crew's env: process.env ensures the Team receives these. Supported keys: OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, MISTRAL_API_KEY. Optional overrides: CREW_MODEL_SMART_API_KEY, CREW_MODEL_FAST_API_KEY (see scripts/crews/config.ts).
outputSchema (Zod), output.result is the parsed object.output.result may be a string.output.status — FINISHED, BLOCKED, or error (rejected promise).output.stats includes duration, llmUsageStats (tokens), costDetails.| Intent | Command |
| ------ | ------- |
| Run PRD review | pnpm run crew-prd-review draft.md refined.md |
| Run with demo input | pnpm run crew-prd-review --demo refined.md |
| Run via Cursor CLI (no API key) | CREW_MODEL_SMART=cursor:composer-1-5 pnpm run crew-prd-review --demo out.md |
OPENAI_API_KEY or provider-specific)scripts/ and is registered in package.jsonact-ai-crew-create skilldata-ai
Configure which projects are connected to a root repo via nested git clones. Applies when the repo has shared .cursor/ and imported projects as normal clone folders. Use when adding, removing, or soft/hard switching projects. Soft switch = toggle .gitignore (no push, WIP stays). Hard switch = remove/add clone folders. Handles progress storage and window reload reminders.
development
Execute development work from a pool of GitHub issues. Take one at a time, implement via act-dev, close the issue when done. Use when architect/PM has produced a backlog of issues to implement in parallel.
testing
Adversarial reviewer that independently checks completed work for incomplete output, non-holistic approach, glaring issues, and skill discovery.
development
Project manager agent for capture, triage, and prioritization. Use when capturing ideas, going over inbox (elevate/drop/prioritize), triaging backlog, asking "what's next?", or restoring context. First local, then GitHub — never auto-create issues.