tools-p4-changelist

tools-p4-changelist is a skill for Claude Code from tjboudreaux/cc-plugin-perforce. It costs 29 tokens per session (2,476 once invoked), scanned A, original, MIT.

A guide to managing Perforce changelists, which group related file changes for review or submission. It covers pending, submitted, and shelved changes.

In plain words
What is it for?
Creating and editing changelists, moving files between them, organizing work in progress, and preparing changes for code review.
Why use it?
It helps keep multiple tasks separated and makes related edits easier to review and submit together.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the perforce plugin — 4 skills shipped together

Good fit Creating and editing changelists, moving files between them, organizing work in progress, and preparing changes for code review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist
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 tjboudreaux/cc-plugin-perforce --skill tools-p4-changelist
Clone the repo
git clone --depth 1 https://github.com/tjboudreaux/cc-plugin-perforce

Made for: Claude Code.

Or install perforce, the plugin that ships this one along with the rest of its 4 skills.

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 tools-p4-changelist

README.md
[![agentmods](https://agentmods.dev/badge/skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist/github.svg)](https://agentmods.dev/skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist)
Your own site
<a href="https://agentmods.dev/skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist"><img src="https://agentmods.dev/badge/skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist/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 tools-p4-changelist

Your own site · 80×15
<a href="https://agentmods.dev/skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist"><img src="https://agentmods.dev/badge/skills/tjboudreaux/cc-plugin-perforce/tools-p4-changelist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,476 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.00029 $0.02476
Opus 5 $0.00015 $0.01238
Sonnet 5 $0.00006 $0.00495
Haiku 4.5 $0.00003 $0.00248

Measured 11d ago against content hash 6ad197529e0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tools-p4-changelist 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 11d 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/tools-p4-changelist/SKILL.md · 389 lines

How it starts

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

Perforce Changelist Management

Overview

Changelists in Perforce group related file changes together for atomic submission. This skill covers creating, managing, and organizing changelists effectively.

When to Use

  • Organizing work into logical units
  • Separating multiple tasks in progress
  • Preparing changes for code review
  • Managing pending vs submitted changes
  • Moving files between changelists

Core Concepts

Changelist Types

Type Description
Default Auto-created changelist for quick edits
Numbered Named changelist with description
Pending Not yet submitted
Submitted Already committed to depot
Shelved Changes stored on server, not submitted

Creating Changelists

Create New Changelist

# Create changelist (opens editor)
p4 change

# Create with description directly
p4 change -o | sed 's/<enter description here>/Fix player movement/' | p4 change -i

# Create changelist and get number
CL=$(p4 change -o | sed 's/<enter description here>/My description/' | p4 change -i | grep -o '[0-9]*')
echo "Created changelist: $CL"

Changelist Spec Format

Change: new
Client: your_workspace
User:   your_username
Status: pending
Description:
    Fix player movement bug
    
    - Fixed velocity calculation
    - Added ground check
    - Updated unit tests

Files:
    //depot/project/Player.cs    # edit
    //depot/project/Movement.cs  # edit

Viewing Changelists

List Changelists

# Your pending changelists
p4 changes -s pending -u $P4USER

# All pending changelists for a path
p4 changes -s pending //depot/project/...

# Recent submitted changelists
p4 changes -s submitted -m 20 //depot/project/...

# Changelists by specific user
p4 changes -u john.doe -m 10

# Changelists in date range
p4 changes -s submitted @2024/01/01,@2024/01/31

# Long output with full description
p4 changes -l -m 10 //depot/project/...

View Specific Changelist

Read the full file on GitHub · 389 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. 11d ago First seen · 389 lines · 29 tokens per session scan A 6ad197529e0e

Subscribe to this mod's changes

tools-p4-changelist is a skill published in the GitHub repository tjboudreaux/cc-plugin-perforce (8 stars, last pushed 7mo ago), licensed MIT. It adds 29 tokens to every session and 2,476 once invoked, about $0.0001 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

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens