Monarch
Agent FilesRaw agent sources are listed in /docs/manifest.json

Monarch Agent Skill

Use this when a coding agent needs procedural instructions for a static payment-code review.

Source


packages/x402/agent-skill/SKILL.md

When To Load

Load the skill when JavaScript or TypeScript imports official x402 buyer clients for automatic Fetch, Axios, MCP, or payment-payload creation.

Agent Rule


npx @monarch-shield/x402@0.2.0 doctor --ci --strict

If Doctor fails, review the exact client path. Add a recognized syntactic abort or denial return to the client hook or MCP onPaymentRequired hook before the paid call. Do not use logging, an observer-only hook, an obvious constant-dead branch, or a hook on a different client.

Custom and cross-file wrappers, unsupported languages, and x402 APIs outside the documented list need manual review. A pass does not prove policy quality or runtime safety.