gha-issue-triage AGENTS.md

gha-issue-triage AGENTS.md is an instructions file for Codex, OpenCode from qte77/gha-issue-triage. It costs 1,305 tokens per session, scanned A, original, Apache-2.0.

Repository-specific instructions for coding agents working on the gha-issue-triage project.

In plain words
What is it for?
Use them when fixing or extending that repository so the agent checks existing guidance and avoids unrequested features or unsupported libraries.
Why use it?
They give the agent the project's rules, conventions, architecture references, and boundaries to follow while changing code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents.

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/qte77/gha-issue-triage/agents-md
Clone the repo
git clone --depth 1 https://github.com/qte77/gha-issue-triage

Made for: 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 gha-issue-triage AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/qte77/gha-issue-triage/agents-md.svg)](https://agentmods.dev/instructions/qte77/gha-issue-triage/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/qte77/gha-issue-triage/agents-md"><img src="https://agentmods.dev/badge/instructions/qte77/gha-issue-triage/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,305 This file is loaded in full into every session.
When invoked 1,305 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.1 $0.01305 $0.01305
Opus 5 $0.00652 $0.00652
Sonnet 5 $0.00261 $0.00261
Haiku 4.5 $0.00130 $0.00130

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

Security

Grade A, and why

gha-issue-triage 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 5d 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 · 106 lines

How it starts

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

Agent Instructions for gha-issue-triage

Behavioral rules and compliance requirements for AI coding agents contributing to this repository. For project overview see README.md; for integration paths and troubleshooting see docs/integrations.md; for boundary failure policies see docs/architecture.md.

Core principles (MANDATORY)

These principles override all other guidance when conflicts arise.

  • KISS — simplest solution that works. Clear over clever.
  • DRY — single source of truth. Reference, don't duplicate.
  • YAGNI — implement only what's requested. No speculative features.
  • Concise and focused — minimal code/text for task. Touch only task-related code.
  • Reuse and extend — use existing patterns and dependencies. Don't rebuild.
  • Root-cause and first-principles — understand the why. Solve root problems.
  • Resolve ambiguity — clarify vague requirements before acting. Never assume missing context.

Behavioral rules

  • Never assume missing context — ask if uncertain about requirements.
  • Never hallucinate libraries — only use packages verified in pyproject.toml.
  • Never delete existing code unless explicitly instructed or refactoring is documented in the PR description.
  • Always confirm file paths exist before referencing in code or tests.
  • Document new patterns in the PR description (not via separate sidecar files unless explicitly asked).

Repository conventions

These are non-negotiable for any PR landing on main:

  • SHA-pin every uses: in workflows and action.yaml — full-length commit SHA, never a tag/branch. Enforced by repo sha_pinning_required: true policy.
  • Squash-only merge — repo ruleset 15253739 allows squash exclusively.
  • Required signatures — commits on main must be cryptographically signed (GPG/SSH/web-flow). CLI commits without local signing config require --admin on gh pr merge (GitHub web-flow signs the squash commit).
  • Linear history — no merge commits on main.
  • Required status checksCodeFactor + CodeQL must pass before merge.
  • No ${{ github.event.* }} interpolation in run: — caller inputs flow through env: and dereference as $VAR in shell. See the inline note in action.yaml.
  • Use bare imports in src/ (from errors import ..., not from src.errors import ...). The action runs with PYTHONPATH=src only — there is no src package on the path at runtime. Tests can use either form (pytest pythonpath includes .).

Read the full file on GitHub · 106 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. 5d ago First seen · 106 lines · 1,305 tokens per session scan A 6794bc8fc995

Subscribe to this mod's changes

gha-issue-triage AGENTS.md is an instructions file published in the GitHub repository qte77/gha-issue-triage (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,305 tokens to every session, about $0.0065 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.