Maestria Skills for Prime Agent
@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.
Install
Section titled “Install”The preferred path is to register the published npm package with Prime:
prime-agent package install npm:@maestria/prime-agentFor 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).
What It Provides
Section titled “What It Provides”- 14 Agent Skills (
skills/<name>/SKILL.md) with the requiredname/descriptionfrontmatter:- 7 specialists:
adventurer,architect,builder,diagnose,planner,reviewer,writer - orchestration/rules:
orchestrator,global-rules,handoff,iteration-limits - workflow modes:
fein,sonar,blitz
- 7 specialists:
- 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.
Platform notes and limitations
Section titled “Platform notes and limitations”- Verified subset only, not native
rlmdispatch: 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/agentwrites); mode state rides on host session entries.