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/perforce/p4plan-mcp/workflowsnpx skills add perforce/p4plan-mcp --skill workflowsgit clone --depth 1 https://github.com/perforce/p4plan-mcpWhat 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.00047 | $0.00373 |
| Opus 5 | $0.00023 | $0.00187 |
| Sonnet 5 | $0.00009 | $0.00075 |
| Haiku 4.5 | $0.00005 | $0.00037 |
Grade A, and why
p4-plan-workflows 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 2d 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.
What it actually says
Workflows and Pipelines in P4 Plan
Key Concepts
- Workflow (StatusWorkflow): Defines a state machine for task status progression (e.g., Draft -> Review -> Approved). Does not create new tasks.
- Pipeline (PipelineWorkflow): A task template that spawns sub-tasks when an item is committed to Planning. Creates new tasks automatically.
- Workflow status vs item status: Item status is the basic four (notDone, inProgress, completed, blocked). Workflow status is a custom set of states defined by the workflow. Some workflows hide item status.
- To change workflow status, get the target status ID from get_workflows, then pass it as workflowStatusId to update_item.
Tool Mapping
| User Intent | Tool | Key Parameters |
|---|---|---|
| List workflows and pipelines | get_workflows | projectId |
| Check task's current workflow status | get_tasks | taskIds (check workflow, workflowStatus) |
| Change workflow status | update_item | itemId, workflowStatusId (ID from get_workflows) |
Workflow Status Change Sequence
- get_workflows(projectId) -- find available statuses and their IDs
- Identify the target status ID from the workflow's statuses array
- update_item(itemId, { workflowStatusId: targetStatusId })
Related Skills
- Task Management -- basic task status updates
- Planning -- pipelines activate on sprint commit
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.
- 2d ago First seen · 33 lines · 47 tokens per session scan A c53bce2d717b
p4-plan-workflows is a skill published in the GitHub repository perforce/p4plan-mcp (4 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 373 once invoked, about $0.0002 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-31.
Other skills, from other repositories
babysit
Same-session monitoring loop for PRs, CI runs, tickets, and deployments using the monitorstart / monitorupdate / autonudgestop MCP tools. The loop re-injects your check instructions into THIS session on an idle interval — same context, same tools — and works from dashboard chat, Slack threads, and Discord DMs. Use…
agile-product-owner
../../../product-team/agile-product-owner/skills/agile-product-owner/SKILL.md.
teamharness-task-delegation
Use when a Leader turns ready Quick Task or Project Work state into Worker task instructions, sends assignment messages, checks submitted results, and defines completion/blocker report contracts. Do not use to create projects, create rooms, or execute Worker tasks.
gsd-executor
Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.
dot-ai-prd-create
Create documentation-first PRDs that guide development through user-facing content.
agent-upkeep
Perform one small, scoped maintenance improvement to the Elements monorepo and open a single reviewable pull request. Use this skill for scheduled or unattended upkeep runs that improve unit test coverage for one file, fix one behavioral bug in one module, or move one off ESLint rule toward enforcement to reduce…