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 skills add perforce/p4plan-mcp --skill custom-fieldsgit clone --depth 1 https://github.com/perforce/p4plan-mcpWrote 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.
[](https://agentmods.dev/skills/perforce/p4plan-mcp/custom-fields)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 needupdateOnlyFirstTime(true = first time, false = every time).useForTimeReportingreplaces 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 |
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.
- 1mo ago Changed · +11 lines · +10 tokens per session cefea0d1088f
- 3mo ago First seen · 52 lines · 41 tokens per session scan A 39d34ff6f1da
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.
p4-plan-custom-fields compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| p4-plan-custom-fieldsperforce/p4plan-mcp | Skill | 4 | 1mo ago | MIT | A | 51 | Claude Code, Codex |
| p4-dam-workflowsperforce/p4mcp-server | Skill | 127 | 1mo ago | MIT | A | 54 | Claude Code, Codex |
| p4-changelist-managementperforce/p4mcp-server | Skill | 127 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| p4-code-reviewperforce/p4mcp-server | Skill | 127 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| p4-file-operationsperforce/p4mcp-server | Skill | 127 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| p4-stream-workflowsperforce/p4mcp-server | Skill | 127 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| p4-workspace-setupperforce/p4mcp-server | Skill | 127 | 1mo ago | MIT | A | 0 | Claude Code, Codex |