perforce/p4mcp-server/p4-workspace-setup

Claude Code and agent skill by perforce/p4mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

P4 workspace setup and management — create, configure, sync, and switch workspaces via P4 MCP tools. Use when: creating workspaces, configuring client specs, syncing files, switching workspaces, or checking workspace status in P4.

Install

npx vskill@latest install perforce/p4mcp-server/p4-workspace-setup

SKILL.md

The same SKILL.md was published earlier as perforce/p4mcp-server/p4-workspace-setup.

Workspace Setup & Management

Use the query_workspaces and modify_workspaces tools to manage P4 client workspaces.

Querying Workspaces

ActionPurposeKey Parameters
listList workspaces with filtersuser, max_results
getGet full workspace specworkspace_name
typeCheck if workspace is stream or classicworkspace_name
statusGet workspace sync statusworkspace_name

Modifying Workspaces

ActionPurposeKey Parameters
createCreate a new workspacename, specs
updateUpdate workspace spec fieldsname, specs
deleteDelete a workspace (requires approval)name
switchSwitch active workspacename

Common Workflows

Create a stream workspace
  1. query_streams → list to find available streams
  2. modify_workspaces → create with specs containing the stream depot path
  3. modify_files → sync to populate the workspace
Create a classic workspace
  1. modify_workspaces → create with specs containing view mappings (depot-to-local paths)
  2. modify_files → sync to populate the workspace
Check workspace state
  1. query_workspaces → get to see the current spec
  2. query_workspaces → type to check if it's stream-bound or classic
  3. query_workspaces → status to see sync state (have vs head revisions)
Switch between workspaces
  1. query_workspaces → list to see available workspaces
  2. modify_workspaces → switch to set the active workspace

Best Practices

  • Use stream workspaces when working with P4 streams — they auto-configure the view mapping from the stream spec.
  • Set the workspace root to a directory that exists and is writable.
  • Use query_workspaces → status to check for out-of-date files before starting work.
  • Delete workspaces only when you're sure no pending changelists reference them.
  • Each workspace must have a unique name on the P4 server.

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

Popularity

Repository stars
115
Repository forks
25
7-day trend score
24

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/perforce/p4mcp-server/p4-workspace-setup/badge)](https://verified-skill.com/skills/perforce/p4mcp-server/p4-workspace-setup)

Something wrong with this skill or its page? Tell us.