Pm load

From AMDResearch/omniprobe · View interactive version

Pm load is an AI agent skill from the GitHub repository AMDResearch/omniprobe. Load the smallest set of Project Memory units relevant to the current task. Use at the start of any task that needs project context. Reads pm-index.md, selects 1-3 relevant units based on task scope, and loads them into working memory without polluting context with unrelated knowledge.

How to use this skill

Skill file

pm-load

Purpose

Load the smallest set of Project Memory units relevant to the current task. This avoids polluting context with unrelated project knowledge and keeps token budgets tight.

Required Reads

  1. .agents/pm/pm-current-state.md -- read first; it tells you the recommended read order, active risks, and which areas are currently in flux.
  2. .agents/pm/pm-index.md -- the full unit listing with facets and load-when guidance.

Procedure

  1. Identify the task scope. From the active workflow dossier, user request, or session goal, determine which project areas the task touches. Examples: "fix a test" touches testing and the module under test; "add an API endpoint" touches architecture and data-model.
  2. Load the architecture overview first. Check pm-index.md for a unit marked

always-load: true (typically architecture.md). If one exists, read it first. This

gives you the system-level view: subsystem map, relationships, and pointers to

subsystem units.

  1. Select relevant subsystem units. Based on the architecture overview and the task

scope, identify 1-3 subsystem code-navigation units (type code-nav in the index)

that cover the areas your task will touch. Read their Key Source Files, Key Functions,

Data Flow, and Invariants sections. These tell you exactly which files to open and

what constraints apply.

  1. Load infrastructure units only if needed. If the task touches build/CI, testing

infrastructure, or documentation, load the relevant infrastructure unit. Most

implementation tasks do not need these.

  1. Read the selected units. For each loaded unit, absorb Current Truth / Key Source

Files, Boundaries / Dependencies, and Negative Knowledge. These are the facts that

constrain your work.

  1. Check for stale data. If any unit's most recent Last Verified entry is older than 30 days, note it as a caveat -- the information may be outdated. That section is an append-only list: take the maximum - <YYYY-MM-DD> date under the heading, not the first line, which is the oldest. Do not refuse to use it, but flag it for refresh during pm-update.
  2. Read pm-decisions.md selectively. Scan for decisions that affect the task's area. You do not need to read every decision.
  3. Read pm-glossary.md if the task involves domain-specific terms. Skip this if the task is purely mechanical.
  4. Stop. Do not load units outside the task scope. If you are unsure whether a unit is relevant, skip it -- you can load it later if needed.

Output

No files are written. The output is the loaded context in your working memory. Optionally, note which units you loaded in the workflow's run-log.md entry for traceability.

Completion Criteria

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.