Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/bradygaster/squad/pr-lifecyclenpx skills add bradygaster/squad --skill pr-lifecyclegit clone --depth 1 https://github.com/bradygaster/squadWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.05030 |
| Opus 5 | $0.00007 | $0.02515 |
| Sonnet 5 | $0.00003 | $0.01006 |
| Haiku 4.5 | $0.00001 | $0.00503 |
Grade A, and why
pr-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 538 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
This skill is the canonical Copilot-agent lifecycle for the Squad repository. It covers the full path from picking up a GitHub issue to merging a PR. Where older docs (templates, copilot-instructions, CONTRIBUTING.md) conflict with this skill, this skill takes precedence for Copilot agents.
For advanced scenarios (worktrees, multi-repo coordination), see .copilot/skills/git-workflow/SKILL.md.
Scope
✅ THIS SKILL COVERS:
- Issue pickup and branch creation
- Implementation, build, test, lint workflow
- Pre-push safety verification
- PR creation with correct target, title, body, and labels
- All 11 PR readiness checks (what they check, how to pass, how to fix)
- Post-creation maintenance (review feedback, rebasing, CI)
- Merge preconditions and cleanup
❌ THIS SKILL DOES NOT COVER:
- Worktree-based parallel work (see
git-workflowskill) - Multi-repo coordinated PRs (see
git-workflowskill) - Release process / publishing (see
.squad/skills/release-process) - Reviewer lockout protocol (see
.copilot/skills/reviewer-protocol) - Architectural or security review checklists
Lifecycle Procedure
Phase 1 — Issue Pickup
-
Read the issue. Understand the acceptance criteria before writing code.
-
Confirm capability fit. Check your capability profile in
.squad/team.md. 🟢 = proceed. 🟡 = proceed but flag in PR. 🔴 = comment on issue and stop. -
Branch from dev:
git fetch origin dev git checkout dev git rebase origin/dev git checkout -b squad/{issue-number}-{slug}- Branch name format:
squad/{issue-number}-{kebab-case-slug} - Example:
squad/42-fix-login-validation - Never branch from
main
- Branch name format:
-
Mark in-progress (optional):
gh issue edit {number} --add-label "status:in-progress"
Phase 2 — Implementation
- Make your changes. Follow the codebase conventions:
- TypeScript strict mode, no
@ts-ignore - ESM-only, async/await
- JSDoc on new public APIs
- TypeScript strict mode, no
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 538 lines · 14 tokens per session scan A 5c7565dd855f
pr-lifecycle is a skill published in the GitHub repository bradygaster/squad (3,150 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 5,030 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
speckit-workflow
Manage and run Spec Kit automation workflows via specify workflow. USE FOR: running a workflow by ID or local YAML, resuming a paused/failed run, checking run status, listing/installing/removing workflows, searching the workflow catalog, showing a workflow step graph. DO NOT USE FOR: extensions (use…
oda-task-tracking
Operate ODA GitHub Issues and the ODA Board consistently. Use when creating, updating, listing, moving, or reclassifying tracked work in GitHub for this repository.
controlflow-orchestration
Use when executing an approved multi-phase plan in Cursor, with gates, approvals, retries, and Task delegation to controlflow subagents.
distributed-mesh
How to coordinate with squads on different machines using git as transport.
cross-squad
Coordinating work across multiple Squad instances.
agent-collaboration
Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication.