Skip to content

Maestria Skills for Prime Agent

Deliver the Maestria engineering methodology to Prime Agent as standard Agent Skills, plus a small verified extension for workflow-mode commands and mode prompt injection.

@maestria/prime-agent encodes the Maestria engineering methodology for Prime Agent: 7 specialist roles, an orchestrator, the global-rules contract, handoff and iteration-limits aids, and the fein/sonar/blitz workflow modes - delivered as standard Agent Skills (skills/<name>/SKILL.md), generated from the canonical directives in packages/core/agent-directives/ - plus a small, verified Prime/Pi extension (dist/extension.mjs) for workflow-mode commands and mode prompt injection.

The preferred path is to register the published npm package with Prime:

Terminal window
prime-agent package install npm:@maestria/prime-agent

For skills-only installs, point Prime at the package’s skills/ directory in settings, or copy or symlink the skill directories into a project/global skill location. See the installation guide for the full options (including how to enable the extension for non-package installs).

  • 14 Agent Skills (skills/<name>/SKILL.md) with the required name/description frontmatter:
    • 7 specialists: adventurer, architect, builder, diagnose, planner, reviewer, writer
    • orchestration/rules: orchestrator, global-rules, handoff, iteration-limits
    • workflow modes: fein, sonar, blitz
  • A verified Prime/Pi extension (dist/extension.mjs) registering /fein, /sonar, /blitz, /mode-clear, and /maestria-status, and injecting the active mode’s prompt on every agent turn.
  • Verified subset only, not native rlm dispatch: the extension covers mode commands and mode prompt injection. Prime’s recursive-subagent (rlm(...)) call is an IPython-side tool with no public JS extension bridge, so this package cannot spawn child agents from the extension.
  • Advisory, not enforced: skills, rules, and the extension are advisory guidance, not security enforcement. Prime Agent has no skill-level tool-denial mechanism, so read-only roles state their role intent without claiming a runtime boundary.
  • Not a sandbox: Prime Agent executes model-generated Python and project commands with your user permissions. Restrict use to trusted repositories, skills, and instructions.
  • No filesystem writes: the extension writes nothing (no ~/.pi, no .prime/agent writes); mode state rides on host session entries.