p4-dam-workflows

p4-dam-workflows is a skill for Claude Code, Codex from perforce/p4mcp-server. It costs 54 tokens per session (4,284 once invoked), scanned A, original, MIT.

A set of workflows for finding and managing digital assets in P4 DAM, a digital asset management system for storing files such as images and other media. It supports searching, browsing, reviewing, tagging, and updating those assets.

In plain words
What is it for?
Use it to locate projects and repositories, search or inspect assets, view previews, and perform supported asset-management actions such as tagging or updating.
Why use it?
It avoids needing to remember project, repository, and file paths before you can find an asset. It also provides a way to inspect previews and manage assets through the connected P4 system.

Skill for Claude CodeCodex

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

Good fit Use it to locate projects and repositories, search or inspect assets, view previews, and perform supported asset-management actions such as tagging or updating.

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

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-dam-workflows

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/perforce/p4mcp-server/p4-dam-workflows"><img src="https://agentmods.dev/badge/skills/perforce/p4mcp-server/p4-dam-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,284 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.00054 $0.04284
Opus 5.5 $0.00022 $0.01714
Sonnet 5.5 $0.00011 $0.00857
Haiku 4.5 $0.00005 $0.00428

Measured 23d ago against content hash 3a44f6bea199, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

p4-dam-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 23d 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/p4-dam-workflows/SKILL.md · 323 lines

How it starts

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

P4 DAM Workflows

Prerequisites

  • The P4 server must have the P4.HTH.URL property set (points at the P4 DAM instance).
  • The server must be started with a P4 DAM API key via the P4DAM_API_KEY environment variable. Without a key, P4 DAM tools are not registered at all — a warning is logged at startup.
  • Write tools (create, update, delete, sync) require the server to be started without --readonly.

Tool Reference

Discovery & Navigation

Tool Purpose
query_p4dam_projects List projects. Accepts search_term (matches name, short name, or description).
query_p4dam_repositories List repositories in a project. Accepts search_term (matches short name).
query_p4dam_helix_classic_branches List Helix Classic branches in a helix_classic repository.

Asset Search

Tool Purpose
query_p4dam_assets Search assets by keyword/filters — use when you don't have a depot path yet.
query_p4dam_asset Fetch full metadata for a single known asset by depot path.
fetch_p4dam_media Fetch and render a thumbnail, preview, or file image.
regenerate_p4dam_preview Trigger async regeneration of thumbnail and preview for an asset revision.

query_p4dam_assets filters: search_term, project_ids (UUIDs), repository_ids (UUIDs), path (wildcard depot path patterns, e.g. //depot/art/*.png), name (filename wildcard), tag, file_extension, exclude_file_extension, user, from_size / to_size (bytes), from_date / to_date (ISO 8601), all_revisions, max_results, offset.

query_p4dam_asset params: depot_path (required), identifier (changeset), project_id (short name or UUID), repository_id (UUID, or short name if project_id is also provided), include.

query_p4dam_asset include values:

  • Default set: commit, latest_commit, custom_attributes, weblinks, asset_bundle, asset_bundle_origin, parent_asset_bundles, helix_classic_branch_matches, stream_view_matches, sprite
  • Require project/repository/stream or branch context: file_review, comments, all_comments
  • Extras: file_count, scene_refs

Read the full file on GitHub · 323 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. 23d ago First seen · 323 lines · 54 tokens per session scan A 3a44f6bea199

Subscribe to this mod's changes

p4-dam-workflows is a skill published in the GitHub repository perforce/p4mcp-server (122 stars, last pushed 24d ago), licensed MIT. It adds 54 tokens to every session and 4,284 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-09-26.

Related

Other skills, from other repositories

p4-plan-search-queries

P4 Plan Find query syntax for advanced searching. Use when user needs to search, filter, or find items by status, assignee, priority, severity, dates, custom fields, or any combination.

perforce/p4plan-mcp · 48 tokens

p4-plan-pipeline

Guide working with P4 Plan pipelines and pipeline tasks — reading a pipeline's stages, breaking a backlog item down into pipeline sub-tasks, logging defects into a pipeline stage, and moving pipeline work forward. Use when the user mentions pipeline, pipeline task, pipeline stage, breakdown, auto-spawned tasks, or…

perforce/p4plan-mcp · 81 tokens

p4-plan-comment-html-format

Author HTML-formatted comments and multiline field values that render correctly in both the Qt desktop client and the React web client. Use when posting/editing comments, setting Multiline Text custom fields, or writing detailedDescription/stepsToReproduce on a Bug.

perforce/p4plan-mcp · 58 tokens

p4-plan-mentions

Format @user mentions inside HTML comments and multiline fields so they render as a proper link in both the Qt desktop client and the React web client. Use when the user wants to ping someone, notify a teammate, address @-name, or reference a user inside a comment / description / steps to reproduce.

perforce/p4plan-mcp · 67 tokens

p4-plan-task-management

Manage tasks, status updates, assignments, comments, and attachments in P4 Plan. Use when user mentions tasks, status, updates, assignments, my work, todo list, assign, comments, attachments, or collaboration.

perforce/p4plan-mcp · 50 tokens

p4-plan-planning

Manage sprints, releases, and sprint commitment in P4 Plan. Use when user mentions sprints, sprint planning, capacity, velocity, committing work, iterations, burndown, releases, milestones, versions, or tagging.

perforce/p4plan-mcp · 52 tokens