superpowers-sage: Instructions file for Claude Code

AGENTS.md

superpowers-sage AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from hekivo/superpowers-sage. It costs 1,030 tokens per session, scanned A, original, MIT.

A set of project instructions for developing hekivo/superpowers-sage, a plugin that supports several coding assistants.

In plain words
What is it for?
Use it when changing the plugin, working in a Sage WordPress project, or updating its hooks, manifests, and Codex files.
Why use it?
It gives contributors consistent rules for commands, file locations, generated files, and supported project conventions.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is hekivo/superpowers-sage's own configuration. It tells Claude Code, Codex and OpenCode how to work on superpowers-sage itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything superpowers-sage configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hekivo/superpowers-sage. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hekivo/superpowers-sage/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/hekivo/superpowers-sage

Made for: Claude Code, Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for superpowers-sage AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hekivo/superpowers-sage/agents-md.svg)](https://agentmods.dev/instructions/hekivo/superpowers-sage/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/hekivo/superpowers-sage/agents-md"><img src="https://agentmods.dev/badge/instructions/hekivo/superpowers-sage/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,030 This file is loaded in full into every session.
When invoked 1,030 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01030 $0.01030
Opus 5 $0.00515 $0.00515
Sonnet 5 $0.00206 $0.00206
Haiku 4.5 $0.00103 $0.00103

Measured 7d ago against content hash 9f82b9181919, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

superpowers-sage AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Superpowers Sage — Universal Rules

Rules applied in every session where this plugin is active. These take precedence over skill-local guidance unless a skill explicitly overrides.

Environment

  • All wp, composer, artisan, yarn, npm commands run via lando <cmd>. Never invoke these binaries directly on the host.
  • Sage projects use Bedrock. Custom code lives in web/app/, never in web/wp/.
  • The plugin supports Claude Code, VS Code Copilot, Cursor, and OpenAI Codex. When contributing to this plugin — adding or updating automation hooks — keep hooks/hooks.json and hooks/cursor-hooks.json in sync via scripts/sync-cursor-hooks.mjs. Manifest versions across .claude-plugin/, .cursor-plugin/, and .codex-plugin/ are aligned by scripts/sync-codex-manifests.mjs (also enforced in CI). The Codex CLI (>= 0.137) layout — .agents/plugins/marketplace.json, the real-content plugin under plugins/superpowers-sage/, and AGENTS.md (these universal rules, mirrored for Codex/AGENTS-aware tools) — is generated from the root source (skills/, hooks/, .codex-plugin/plugin.json, and this CLAUDE.md) by scripts/build-codex-plugin.mjs; run it after changing those, never edit the generated files (AGENTS.md, plugins/, .agents/) by hand (CI enforces sync via --check). Codex does not load a plugin's CLAUDE.md; it reads AGENTS.md from the project root — see README → OpenAI Codex.

Protected files (never edit directly)

  • .env, wp-config.php — managed by Bedrock/Trellis Vault. Suggest ansible-vault edit or Bedrock .env pattern instead.
  • bedrock/config/environments/*.php — environment-specific config.
  • trellis/group_vars/*/vault.yml — secrets.

If Claude needs to modify these, it MUST ask the user first with a concrete alternative path.

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 84 lines · 1,030 tokens per session scan A 9f82b9181919

Subscribe to this mod's changes

superpowers-sage AGENTS.md is an instructions file published in the GitHub repository hekivo/superpowers-sage (13 stars, last pushed 2mo ago), licensed MIT. It adds 1,030 tokens to every session, about $0.0052 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens