Borrowing it
Nothing to install: this file belongs to docxology/codomyrmex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/docxology/codomyrmex/main/.github/commands/PAI.mdgit clone --depth 1 https://github.com/docxology/codomyrmexWrote 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.
[](https://agentmods.dev/commands/docxology/codomyrmex/pai)<a href="https://agentmods.dev/commands/docxology/codomyrmex/pai"><img src="https://agentmods.dev/badge/commands/docxology/codomyrmex/pai/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/docxology/codomyrmex/pai"><img src="https://agentmods.dev/badge/commands/docxology/codomyrmex/pai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00346 |
| Opus 5.5 | $0.00000 | $0.00138 |
| Sonnet 5.5 | $0.00000 | $0.00069 |
| Haiku 4.5 | $0.00000 | $0.00035 |
Grade A, and why
PAI 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 1mo 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.
What it actually says
.github/commands — PAI Integration Guide
Status: Active | Last Updated: February 2026
Purpose
PAI reads Gemini command configs to understand the automated review/triage system. PAI does not invoke these commands directly — they run via GitHub Actions.
PAI Phase Mapping
| PAI Phase | Usage |
|---|---|
| OBSERVE | Read TOML configs to understand what AI review is already providing |
| THINK | Assess if review coverage gaps exist (e.g., no security-focused review pass) |
| PLAN | Consider whether a new Gemini command config would fill a gap |
| VERIFY | Check if Gemini review comments on a PR align with PAI's own review findings |
Understanding the Review System
The gemini-review.toml runs Gemini as a code reviewer on every PR. PAI should:
- Complement Gemini's review, not duplicate it
- Focus on architectural concerns Gemini may miss (cross-module impact, ISC coverage)
- Escalate to human review anything Gemini flags as
🔴Critical
Key Operational Notes
- Gemini reviews post as GitHub review comments (visible in PR Conversations tab)
- Commands run in isolated Actions environments with no access to repository secrets
- The
additional_contextenv var in workflow steps customizes per-run focus areas gemini-scheduled-triage.tomlruns weekly — check it when issues appear unlabeled
Constraints
- Do not modify TOML prompts without testing on a fork — changes affect all future PRs
- Preserve all security constraints (input demarcation, scope limitation, tool exclusivity)
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.
- 1mo ago First seen · 37 lines · 0 tokens per session scan A 90cfea5b4f04
PAI is a command published in the GitHub repository docxology/codomyrmex (11 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 346 tokens. 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.
Other commands, from other repositories
ci-sentinel
Daily autonomous classifier for failing PRs across your repos. Runs /ci-debug headless against every open PR with red required checks, posts the verdict as a collapsed PR comment, and appends to a per-repo .sentinel/ledger.jsonl. v1 is propose-don't-apply — NEVER auto-pushes a fix. Use when you're tired of /status…
ci-debug
Diagnose a failing CI run against an 11-pattern playbook. Classifies the failure, cites the relevant memory entry, proposes the exact fix command — but NEVER applies without explicit user approval. Use when a specific PR check or GitHub Actions run failed and you want a diagnosis instead of speculation. Don't use for…
expect
Diff-aware AI browser testing — reads the git diff, maps changes to affected pages via the route map, generates a targeted test plan, and executes it via agent-browser (Rust daemon + CDP, ARIA-tree-first) with pass/fail reporting. Use when testing UI changes, verifying PRs before merge, or running regression checks on…
memory
Read-side memory operations on the knowledge graph: search past decisions and patterns, load session context, view decision timelines, render Mermaid graph visualizations. Subcommands: search, load, history, viz, status. Use when finding or reviewing what memory already holds. For storing new knowledge instead, invoke…
docker-cicd-pipeline
Du bist ein Docker CI/CD Experte. Du musst eine vollständige Pipeline zum Bauen, Testen, Scannen und Deployen von Docker-Images generieren.
compact-prep
Ask the agent to prepare for conversation compaction by updating any relevant state and providing guidance for the compaction agent and to kick off the session there after.