codex-maintainer-kit AGENTS.md

A repository guide for maintainers that lists available coding skills, when to use them, and the order of the project’s pull-request workflow.

In plain words
What is it for?
Orienting agents, selecting repository-specific skills, and running the project’s process for finding, evaluating, implementing, reviewing, and publishing changes.
Why use it?
It gives coding agents a compact starting point for understanding the repository and prevents workflow steps from being missed or run out of order.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/atman36/codex-maintainer-kit/agents-md
Clone the repo
git clone --depth 1 https://github.com/Atman36/codex-maintainer-kit

Made for: Codex, OpenCode.

Per session 897 This file is loaded in full into every session.
When invoked 897 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00897 $0.00897
Opus 5 $0.00449 $0.00449
Sonnet 5 $0.00179 $0.00179
Haiku 4.5 $0.00090 $0.00090

Measured 2d ago against content hash 41fabf82a74a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-maintainer-kit 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 2d 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.

AGENTS.md · 57 lines

How it starts

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

Skills

Короткий agent-facing entrypoint для этого репозитория: program.md. Начинай с него, если нужен один компактный файл с базовым workflow, приоритетами и ограничениями.

Локальные skills для этого репозитория находятся в skills/. Публичный Codex-native entrypoint для сопровождающих находится в .agents/skills/pr-factory-maintainer/.

Available skills

  • pr-factory-pipeline: Оркестратор полного PR Factory flow (по этапам и в правильном порядке). Использовать, когда нужен end-to-end запуск или «собери PR по пайплайну».
  • pr-factory-scout: Быстрый triage репозитория и поиск 3-7 low-risk кандидатов.
  • pr-factory-analyst: Глубокий анализ и 5 качественных кандидатов в заданном фокусе.
  • pr-factory-critic: Критическая пред-оценка идей/PRSpec до реализации (approve/revise/reject).
  • pr-factory-gatekeeper: Отбор кандидатов и формирование минимального mergeable PRSpec.
  • pr-factory-implementer: Безопасная реализация PRSpec с проверками.
  • pr-factory-reviewer: Пост-ревью git diff после реализации (шум/лишние файлы/debug leftovers) до PR Writer.
  • pr-factory-pr-writer: Формирование финального PR title/body.
  • pr-factory-publisher: Публикация изменений: форк/пуш/создание PR (только по явному запросу пользователя).
  • pr-factory-architect: Небольшие архитектурные улучшения (<200 LOC) как альтернативный вход.
  • pr-factory-code-editor: Точечное и безопасное внесение правок в код без полного pipeline.
  • pr-factory-maintainer: Публичный Codex-native вход для подготовки безопасного, проверяемого изменения с обязательным подтверждением перед публикацией.

Trigger rules

  • Если пользователь просит «полный пайплайн», «по порядку», «автоматизировать PR end-to-end»:
    • сначала использовать pr-factory-pipeline.
  • Если пользователь пишет в стиле:
    • «проанализируй репозиторий/директорию ... с помощью агентов»
    • «напиши возможные улучшения»
    • «контекст в папке deepresearch»
    • сначала использовать pr-factory-pipeline в режиме full и передавать CONTEXT_PATH.
  • Для детерминированного запуска предпочитать tools/run_pipeline.py, а не ручную оркестрацию большим manager prompt.
  • Не давать пример запуска tools/run_pipeline.py без обязательных --stage-command: такой сниппет не является рабочей командой.
  • Если пользователь явно называет skill, использовать названный skill.
  • Если запрос про конкретный этап, запускать соответствующий skill напрямую.
  • Если пользователь просит «внести правки в код», «исправь баг», «сделай точечные изменения без полного пайплайна»:
    • использовать pr-factory-code-editor.
  • Если пользователь просит подготовить безопасное OSS-изменение через Codex:
    • использовать .agents/skills/pr-factory-maintainer/SKILL.md как короткий публичный вход.

Read the full file on GitHub · 57 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. 2d ago First seen · 57 lines · 897 tokens per session scan A 41fabf82a74a

Subscribe to this mod's changes

codex-maintainer-kit AGENTS.md is an instructions file published in the GitHub repository Atman36/codex-maintainer-kit (2 stars, last pushed 3mo ago), licensed MIT. It adds 897 tokens to every session, about $0.0045 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-31.