agent-powerups
CLAUDE.md6 starsChanged 4 months agoApache-2.0View on GitHub
Run a single test file: No linter is configured. TypeScript strict mode is the primary safety net. After build, install globally once with npm link. Then the CLI is available as: This repo is an "Oh My Zsh"-style collection of reusable agent powerups (skills, commands, MCP configs, hooks, workflows, templates) for Claude Code, Codex, and Gemini. The APX CLI is the tool users and agents use to browse, validate, check, and install those assets. Every shipped asset is registered in…
In this repository116 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/graphify/references/CLAUDE.mdCLAUDE.md
- agent-config-security-auditSkill
- agent-harness-designSkill
- agent-readable-docsSkill
- agent-runtime-patternsSkill
- agent-session-forensicsSkill
- ai-regression-testingSkill
- ai-slop-cleanerSkill
- api-doc-reviewSkill
- architecture-decision-recordsSkill
- architecture-simplificationSkill
- ask-claudeSkill
- ask-codexSkill
- ask-geminiSkill
- autonomous-delivery-pipelineSkill
- baseline-comparison-reviewSkill
- bigquery-cost-auditSkill
- brainstormingSkill
- browser-automation-safetySkill
- bug-huntSkill
- build-fix-minimal-diffSkill
- canonical-advisor-routingSkill
- change-impact-checkSkill
- changelog-generatorSkill
- ci-failure-readoutSkill
- codebase-migration-batchesSkill
- context-compressionSkill
- context-docsSkill
- context-minimizationSkill
- context-retrieval-loopSkill
- data-qualitySkill
- dataset-split-reviewSkill
- dbt-incremental-strategy-auditSkill
- dbt-preflightSkill
- dbt-strategySkill
- dead-code-removalSkill
- defuddleSkill
- dependency-cleanupSkill
- deploy-pipeline-runbookSkill
- dispatching-parallel-agentsSkill
- doc-consistency-checkSkill
- environment-doctorSkill
- experiment-tracking-reviewSkill
- failure-triageSkill
- filesystem-mcp-guardrailsSkill
- finishing-a-development-branchSkill
- flaky-test-investigationSkill
- gh-address-commentsSkill
- github-ci-failure-triageSkill
- graphifySkill
- handoff-disciplineSkill
- hard-won-skill-extractorSkill
- hook-safety-reviewSkill
- incident-readoutSkill
- incremental-migrationSkill
- json-canvasSkill
- local-rag-mcpSkill
- log-driven-diagnosisSkill
- managed-codebase-contextSkill
- The first 60 shown.
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run a single test file:
- Distinctive: line 18
No linter is configured. TypeScript strict mode is the primary safety net.
- Very specific: line 20
After build, install globally once with npm link.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Commands
npm run build # tsc + postbuild shebang wrapper → dist/
npm test # build then run node test/*.test.tsRun a single test file:
node --test test/cli.test.tsNo linter is configured. TypeScript strict mode is the primary safety net.
After build, install globally once with npm link. Then the CLI is available as:
apx <command>Architecture
This repo is an "Oh My Zsh"-style collection of reusable agent powerups (skills, commands, MCP configs, hooks, workflows, templates) for Claude Code, Codex, and Gemini. The APX CLI is the tool users and agents use to browse, validate, check, and install those assets.
catalog.json — single source of truth
Every shipped asset is registered in catalog.json. The Zod schema in src/cli/utils/catalog.ts enforces structure: required fields (name, type, summary, path, compatible_with, maturity), optional fields (requires, targets, mcp, run). Duplicate names are rejected. All referenced paths must exist on disk. When adding a new skill or command, add its catalog entry and verify with apx validate catalog.
Allowed compatible_with values: claude-code, codex, gemini-cli, cursor, generic.
Allowed maturity values: draft, beta, stable.
The targets field holds agent-specific path variants (e.g., .toml for Codex, .json for Claude Code). The requires field declares external dependencies that apx check verifies.
CLI command routing (src/cli/apx.ts)
runCli(argv, io) is the entry point. It finds catalog.json by walking up from cwd, constructs a CatalogService, then dispatches on argv[0] to command modules under src/cli/commands/. Each command exports a run*Command function and returns ExecutionResult<T>. The --json flag switches output to structured JSON for agent consumption.
Asset directories
skills/— each subdirectory has aSKILL.mdwith YAML frontmatter (name,description) and pure Markdown workflow prose; use headings instead of XML-like top-level section tagscommands/— agent-specific subdirs (codex/,claude-code/,generic/); each.mdis a slash-command definitionhooks/— recipe.mdfiles undersafety/,quality/,productivity/; review-before-use, not auto-appliedmcp/— MCP server configs in agent-native format (.jsonfor Claude Code,.tomlfor Codex)agents-md/— project-type starter templates (typescript-app, python-library, etc.) for AGENTS.mdworkflows/— multi-step scenario guides (agent-relay, feature-iteration)
Setup and install
apx setup <codex|claude-code|gemini> copies templates and appends marked blocks to the agent's config file (AGENTS.md / CLAUDE.md / GEMINI.md). It uses START_MARKER/END_MARKER guards to prevent duplicate insertions and backs up files before modifying. Supports --dry-run.
apx install <asset-name> --target <agent> copies the asset to .agent-powerups/installed/<name> (or --dest). Agent-specific variants are resolved via the targets field in catalog.json.
Relay system (src/cli/commands/relay.ts)
Persistent secondary-agent daemon over TCP (127.0.0.1:randomPort). Three providers:
gemini— spawnsgemini --acponce; uses ACP JSON-RPC; session context persists across turnsclaude— spawnsclaude -p <prompt>perrelay ask; no cross-turn memorycodex— spawnscodex --full-auto <prompt>perrelay ask; no cross-turn memory
buildRelayBackend() returns a RelayBackend interface (prompt() / close()). GeminiAcpClient is wrapped to satisfy it; SubprocessClient implements it for Claude/Codex. State is stored in .apx/relay/<session>/relay.json. Artifacts written per turn to the same directory.
Validation scripts (Python)
scripts/validate-catalog.py, validate-skills.py, and check-requirements.py are standalone Python scripts for CI-style checks. They do not depend on the TypeScript build.
Test pattern
Tests in test/ use Node's built-in node:test + node:assert/strict. All tests call runCli(argv, { cwd, stdout, stderr }) and assert on the returned exit code and captured output. Tests run against the built dist/; rebuild before running tests after source changes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

