
pagent-ts
Install
/plugin install pagent-ts@pluginsRun it inside Claude Code after adding the marketplace with /plugin marketplace add tuannvm/plugins.
Contents
Discovered from sourceCommands 3
Pagent-TS Cancel
Cancel the active pipeline:
if [ -f .claude/pagent-pipeline.json ]; then
echo "FOUND=true"
STAGE=$(jq -r '.stage' .claude/pagent-pipeline.json)
echo "STAGE=$STAGE"
else
echo "FOUND=false"
fi
Handle the Result
If FOUND=false:
No active pagent-ts pipeline to cancel.
If FOUND=true:
-
Remove the pipeline state:
rm .claude/pagent-pipeline.json rm -rf .claude/prompts -
Report cancellation:
⚠️ Cancelling pagent-ts pipeline at stage: {STAGE} The pipeline will stop. Outputs created so far are preserved. -
Show what was created:
Preserved outputs: - architecture.md (or not created yet) - test-plan.md (or not created yet) ... -
Offer restart:
To resume, run: /pagent-run <prd-file>
Pagent-TS Run
Execute the setup script to initialize the pagent-ts pipeline:
npx tsx "${CLAUDE_PLUGIN_ROOT}/scripts/setup-pipeline.ts" $ARGUMENTS
The script will:
- Validate the PRD file
- Create
.claude/pagent-pipeline.jsonwith pipeline state - Output the initial architect prompt
The stop hook automatically handles all subsequent stage transitions.
Pipeline Stages
The pipeline progresses through 5 stages sequentially:
- architect → Creates
architecture.md(technical specs) - qa → Creates
test-plan.md(test strategy) - security → Creates
security-assessment.md(security review) - implementer → Creates
src/(complete codebase) - verifier → Creates
verification-report.mdand outputs<promise>DONE</promise>
Notes
- Files are created in the same directory as the PRD
- Use
/pagent-statusto check progress - Use
/pagent-cancelto stop the pipeline
Pagent-TS Status
Check pipeline status:
npx tsx "${CLAUDE_PLUGIN_ROOT}/scripts/status.ts"
Display the Status
If ACTIVE=false:
No active pagent-ts pipeline.
Start one with: /pagent-run <prd-file>
If ACTIVE=true:
🤖 Pagent-TS Pipeline Status
Stage: {STAGE} ({COMPLETED}/{TOTAL} complete)
Started: {STARTED}
PRD: {PRD}
Outputs:
- architecture.md ({OUTPUT_architecture} lines)
- test-plan.md ({OUTPUT_test_plan} lines)
...
If STAGE=complete:
✅ Pipeline complete!
All {TOTAL} stages finished successfully.
Hooks 1
Sponsors
Details
- Marketplace
- tuannvm/plugins
- Source
- plugins/pagent-ts
- Category
- Community