p4-plan-workflows

p4-plan-workflows is a skill for Claude Code, Codex from perforce/p4plan-mcp. It costs 55 tokens per session (462 once invoked), scanned A, original, MIT.

A guide to P4 Plan workflows and pipelines. Workflows control task-status changes, while pipelines create related tasks when work enters Planning.

In plain words
What is it for?
It helps list workflows, inspect a task's current status, move tasks through approval steps, and create task sequences in P4 Plan.
Why use it?
It prevents confusion between changing a task's status and automatically creating new tasks, including the status IDs needed for updates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps list workflows, inspect a task's current status, move tasks through approval steps, and create task sequences in P4 Plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perforce/p4plan-mcp/workflows
Install

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.

Any agent
npx skills add perforce/p4plan-mcp --skill workflows
Clone the repo
git clone --depth 1 https://github.com/perforce/p4plan-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for p4-plan-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/perforce/p4plan-mcp/workflows/github.svg)](https://agentmods.dev/skills/perforce/p4plan-mcp/workflows)
Your own site
<a href="https://agentmods.dev/skills/perforce/p4plan-mcp/workflows"><img src="https://agentmods.dev/badge/skills/perforce/p4plan-mcp/workflows/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for p4-plan-workflows

Your own site · 80×15
<a href="https://agentmods.dev/skills/perforce/p4plan-mcp/workflows"><img src="https://agentmods.dev/badge/skills/perforce/p4plan-mcp/workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00462
Opus 5.5 $0.00022 $0.00185
Sonnet 5.5 $0.00011 $0.00092
Haiku 4.5 $0.00006 $0.00046

Measured 1mo ago against content hash a767aca8fdcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

skills/workflows/SKILL.md · 34 lines

What it actually says

Status Workflows 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 template of steps that materialises real child items under the item it is set on, once that item is in the Planning section. get_workflows returns a pipeline's name only -- no steps, no task types. Read the pipeline skill before doing anything with pipelines.
  • 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 (type distinguishes StatusWorkflow from PipelineWorkflow)
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

  1. get_workflows(projectId) -- find available statuses and their IDs
  2. Identify the target status ID from the workflow's statuses array
  3. update_item(itemId, { workflowStatusId: targetStatusId })
  • Pipeline -- pipelines, pipeline tasks, breakdown, defects in a step
  • Task Management -- basic task status updates
  • Planning -- committing items, which is what brings pipeline steps into existence
Changes

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.

  1. 1mo ago Changed a767aca8fdcf
  2. 2mo ago Changed · +1 lines · +8 tokens per session 6d3caa3b791a
  3. 3mo ago First seen · 33 lines · 47 tokens per session scan A c53bce2d717b

Subscribe to this mod's changes

p4-plan-workflows is a skill published in the GitHub repository perforce/p4plan-mcp (4 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 462 once invoked, about $0.0002 per session on Opus 5.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.

Related

p4-plan-workflows compared with skills from other repositories

p4-plan-workflows next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
p4-plan-workflowsperforce/p4plan-mcpSkill41mo agoMITA55Claude Code, Codex
p4-dam-workflowsperforce/p4mcp-serverSkill1271mo agoMITA54Claude Code, Codex
p4-changelist-managementperforce/p4mcp-serverSkill1271mo agoMITA0Claude Code, Codex
p4-code-reviewperforce/p4mcp-serverSkill1271mo agoMITA0Claude Code, Codex
p4-file-operationsperforce/p4mcp-serverSkill1271mo agoMITA0Claude Code, Codex
p4-stream-workflowsperforce/p4mcp-serverSkill1271mo agoMITA0Claude Code, Codex
p4-workspace-setupperforce/p4mcp-serverSkill1271mo agoMITA0Claude Code, Codex