Skip to content

pm_prompt

Vanguard

The pm_prompt tool manages the prompt library — the markdown instruction files that capabilities and agents reference. Prompts have a role, tags, and agent bindings.

Actions

create, get, list, list_with_content, update, delete, help

Roles

Every prompt has one of five roles:

RolePurpose
systemCore system prompt — agent identity and top-level instructions
guideWorkflow guide — step-by-step instructions for a task or process
checklistChecklist-style constraints and verification steps
policyPolicies, rules, and constraints the agent must follow
contextBackground context, domain knowledge, or reference material
Context-sensitive listing. list returns metadata only (id, key, role, name, tags, agentCount) to keep agent context windows small. Use get when you need the actual prompt content, or list_with_content when you specifically want to batch-load.

create

Create a new prompt.

Parameters

FieldTypeRequiredNotes
keystringYesUnique prompt key (max 120 chars)
rolestringYessystem, guide, checklist, policy, or context
namestringYesDisplay name (max 200 chars)
contentstringYesPrompt content (max 20,000 chars)
tagsstring[]NoFreeform tags

Example

pm_prompt {
  action: "create",
  key: "reviewer.system",
  role: "system",
  name: "Reviewer System Prompt",
  content: "You are a code reviewer. Your job is to...",
  tags: ["review", "core"]
}

get

Fetch a prompt by ID or key. Returns full content.

Parameters

FieldTypeRequired
idstringOne of
keystringOne of

list

Metadata-only list. Returns prompt records without content — just id, key, role, name, tags, and agentCount (how many agents bind to this prompt).

Parameters

FieldTypeRequiredNotes
rolesstring[]NoFilter by roles array
searchstringNoSearch query
limitnumberNoMax results (1–500)

Use this for discovery — an agent can list available prompts without blowing out its context window.

Example

pm_prompt {
  action: "list",
  roles: ["system"],
  search: "reviewer",
  limit: 20
}

list_with_content

Same as list but returns full content. Use only when you need the actual prompt text for all results.

Parameters

Same as list.


update

Update an existing prompt.

Parameters

FieldTypeRequired
idstringYes
keystringNo
rolestringNo
namestringNo
contentstringNo
tagsstring[]No

delete

Delete a prompt by ID.

Parameters

FieldTypeRequired
idstringYes

help

pm_prompt { action: "help" }

Related