Skip to content

pm_capability

Vanguard

The pm_capability tool manages capabilities — the markdown instruction blocks that define agent behavior. Capabilities are the building blocks of workflows: an agent’s system prompt composes its identity with one or more capabilities to control what it does and how.

Actions

create, get, list, update, delete, ensure, prompt, help


create

Create a new capability.

Parameters

FieldTypeRequiredNotes
keystringYesUnique capability key (e.g., "review.quality-gate")
rolestringYescore, workflow, constraints, context, validation, or integration
idstringNoExplicit ID override
namestringNoHuman-readable name
categorystringNoGrouping category
promptIdstringNoLinked prompt ID
packstringNoPack this capability belongs to

Example

pm_capability {
  action: "create",
  key: "review.quality-gate",
  role: "core",
  name: "Quality Gate Enforcement",
  category: "review",
  promptId: "01HPROMPT..."
}

get

Fetch a capability by ID or key.

Parameters

FieldTypeRequired
idstringOne of
keystringOne of

list

List capabilities with optional filters.

Parameters

FieldTypeRequiredNotes
searchstringNoSearch text
categorystringNoFilter by category
promptIdsstring[]NoFilter by linked prompt
limitnumberNo1–1000

update

Update a capability. Pass null to clear optional fields like category, promptId, or pack.

Parameters

FieldTypeRequired
idstringYes
keystringNo
namestringNo
categorystring | nullNo
promptIdstring | nullNo
rolestringNo
packstring | nullNo

delete

Delete a capability.

Parameters

FieldTypeRequired
idstringYes

ensure

Create or update a capability by key (upsert). Useful for registration flows where you want to re-run the same call safely.

Parameters

FieldTypeRequired
keystringYes
namestringNo
categorystringNo
promptIdstringNo
rolestringNo
packstringNo

Example

pm_capability {
  action: "ensure",
  key: "review.quality-gate",
  name: "Quality Gate Enforcement",
  role: "core",
  promptId: "01HPROMPT..."
}

prompt

Fetch the linked prompt content for a capability. This is the hot-load action — agents call this on demand when they need to load a capability into context.

Parameters

FieldTypeRequired
keystringYes

Returns

{ "role": "core", "capability": "...prompt text..." }

Returns capability: null if no prompt is linked.

Example

pm_capability {
  action: "prompt",
  key: "review.quality-gate"
}

This is how agents load capabilities on demand without inflating their base system prompt. Hot-load the capability, use it, move on.


help

Return the structured action reference from the running MCP server.

pm_capability { action: "help" }

The help payload is a read-only contract for capability registry automation:

FieldContents
actionsEvery accepted pm_capability action: create, get, list, update, delete, ensure, prompt, and help
whenToUseAction-by-action guidance for registry lookup, idempotent synchronization, mutation, deletion, and runtime prompt hot-loading
examplesRepresentative calls such as listing workflow capabilities, ensuring a capability key, and hot-loading a capability prompt
cautionsGuardrails for missing linked prompts, using ensure for repeatable sync, and treating promptId as a prompt record ID
compatibilityNotes that structured help is additive and does not change existing inputs, action names, validation, or non-help result shapes

Use help when building pack importers, agent launchers, or docs that need to reflect the current capability surface. Because the structured help schema is additive, older clients can ignore it while newer agents use it to choose ensure versus create and prompt versus get.

Related

  • pm_agent — agents are bound to capabilities
  • pm_prompt — capabilities link to prompts for their content
  • Valdr Packs — how capabilities are authored and shipped