p4-plan-custom-fields

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

A guide to managing project-specific fields in P4 Plan, such as tags, dates, numbers, users, links, and calculated values.

In plain words
What is it for?
Use it to list a project's custom columns, read values from a task, or set text, number, date, list, user, and other custom-field values.
Why use it?
It explains how to find the right fields and use the required option IDs, while avoiding attempts to change calculated fields that are read-only.

Skill for Claude CodeCodex

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

Good fit Use it to list a project's custom columns, read values from a task, or set text, number, date, list, user, and other custom-field values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perforce/p4plan-mcp/custom-fields
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 custom-fields
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-custom-fields

README.md
[![agentmods](https://agentmods.dev/badge/skills/perforce/p4plan-mcp/custom-fields/github.svg)](https://agentmods.dev/skills/perforce/p4plan-mcp/custom-fields)
Your own site
<a href="https://agentmods.dev/skills/perforce/p4plan-mcp/custom-fields"><img src="https://agentmods.dev/badge/skills/perforce/p4plan-mcp/custom-fields/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-custom-fields

Your own site · 80×15
<a href="https://agentmods.dev/skills/perforce/p4plan-mcp/custom-fields"><img src="https://agentmods.dev/badge/skills/perforce/p4plan-mcp/custom-fields.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 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.00051 $0.00944
Opus 5.5 $0.00020 $0.00378
Sonnet 5.5 $0.00010 $0.00189
Haiku 4.5 $0.00005 $0.00094

Measured 1mo ago against content hash cefea0d1088f, 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-custom-fields 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/custom-fields/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Custom Fields in P4 Plan

Custom fields (custom columns) add project-specific data to tasks beyond the built-in fields.

Key Concepts

  • Each project defines its own set of custom columns.
  • Columns have types: Text, Multiline Text, Number, Decimal Number, Date, DateTime, Time Spent, Drop List, Multi-select Drop List, User, Hyperlink, and Function (computed).
  • To set a drop-list or multi-select value, pass option IDs (from get_custom_columns or the create_custom_column response items), not display labels, to set_custom_field.
  • Function fields are read-only — they appear in get_custom_fields output but cannot be set via set_custom_field.
  • Use onlySet parameter on get_custom_fields to skip empty fields.

Creating Columns

The create_custom_column description covers sections and types. Extra rules:

  • One section per call (list_projects IDs, never a name). "Everywhere" = 3 calls with identical name/type/unit/options so it stays one column.
  • Drop-list items: an array of labels ["Low","High"] (never one comma-separated string), or {name, icon} objects (not label/color). Colours: greenCircle, yellowCircle, redCircle, blueCircle, orangeCircle, magentaCircle.
  • Auto-assign (autoAssignToUsers/autoAssignToUserGroups) only works on singleSelectionDropList; tell the user multi-select can't.
  • updateOn* date flags need updateOnlyFirstTime (true = first time, false = every time).
  • useForTimeReporting replaces the project's time-reporting column (one for planning+backlog, one for QA): only set it when asked, and tell the user.
  • "Already exists" = name taken in that section (case-insensitive): tell the user. No formula columns, renames or deletes.

Tool Mapping

User Intent Tool Key Parameters
List available custom columns get_custom_columns projectId, activeOnly
Read task's custom field values get_custom_fields taskId, onlySet
Set a custom field value set_custom_field taskId, customFieldId, value
Add a column to a project create_custom_column projectId, name, columnType

Read the full file on GitHub · 63 lines

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 · +11 lines · +10 tokens per session cefea0d1088f
  2. 3mo ago First seen · 52 lines · 41 tokens per session scan A 39d34ff6f1da

Subscribe to this mod's changes

p4-plan-custom-fields is a skill published in the GitHub repository perforce/p4plan-mcp (4 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 944 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-custom-fields compared with skills from other repositories

p4-plan-custom-fields next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
p4-plan-custom-fieldsperforce/p4plan-mcpSkill41mo agoMITA51Claude 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