perforce/p4plan-mcp/custom-fields
Claude Code and agent skill by perforce/p4plan-mcp
- community
Checking that the SKILL.md file is still in the repository.
Guide custom field management, configuration, and usage in P4 Plan. Use when user mentions custom fields, custom columns, creating columns (e.g. Time Spent), metadata, tags, categories, or project-specific data.
Install
npx vskill@latest install perforce/p4plan-mcp/custom-fieldsSKILL.md
The same SKILL.md was published earlier as perforce/p4plan-mcp/custom-fields.
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 |
Value Formats by Type
| Column Type | Value Format | |
|---|---|---|
| Text | Any string | |
| Multiline Text | Sanitized HTML; plain text accepted (no tags = valid HTML). Use HTML for formatting or @mentions — see comment-html-format skill | |
| Number | Integer string, e.g. "5" | |
| Decimal Number | Numeric string, e.g. "5.5" | |
| Date | ISO date "YYYY-MM-DD" | |
| DateTime | ISO datetime "YYYY-MM-DDTHH:MM:SS" | |
| Time Spent | Hours to add, e.g. "2.5" (negative subtracts) | |
| Drop List | Option ID from get_custom_columns | |
| Multi-select Drop List | Comma-separated option IDs, e.g. "id1, id2, id3" | |
| Hyperlink | URL string | |
| User | Comma-separated user IDs from list_project_users | |
| Function | Read-only — computed value |
To clear a text, multiline, hyperlink, drop-list, user or time spent field, pass an empty string as the value. Number, decimal and date fields cannot be cleared through the API.
Related Skills
- Task Management -- built-in task fields
- Backlog Grooming -- backlog item fields
- Workflows -- workflow status fields (same tool module)
- Comment HTML Format -- HTML format for Multiline Text values
- Mentions -- @user references inside Multiline Text values
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/custom-fields/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/perforce/p4plan-mcp/custom-fields)