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

pm_capability { action: "help" }

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