p4-plan-workflows

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

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.

agentmods
npx agentmods add skills/perforce/p4plan-mcp/workflows
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.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 373 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.00373
Opus 5 $0.00023 $0.00187
Sonnet 5 $0.00009 $0.00075
Haiku 4.5 $0.00005 $0.00037

Measured 2d ago against content hash c53bce2d717b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

skills/workflows/SKILL.md · 33 lines

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

  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 })
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. 2d 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 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.

Related

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…

kirodotdev/KiroCrew · 137 tokens

agile-product-owner

../../../product-team/agile-product-owner/skills/agile-product-owner/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

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.

agentscope-ai/AgentTeams · 56 tokens

gsd-executor

Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.

allgpt-co/QuickVoice · 36 tokens

dot-ai-prd-create

Create documentation-first PRDs that guide development through user-facing content.

vfarcic/dot-ai · 18 tokens

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…

NVIDIA/elements · 115 tokens