redhat-ai-workflow: Instructions file for Claude Code

AGENTS.md

redhat-ai-workflow AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from dmzoneill/redhat-ai-workflow. It costs 12,050 tokens per session, scanned C, original, Apache-2.0.

A set of instructions for an AI assistant that manages software-development workflows across projects. It covers issues, branches, commits, merge requests, deployments, incidents, releases, and project configuration.

In plain words
What is it for?
Use it to guide day-to-day development, DevOps, incident response, and release work across configured projects.
Why use it?
It gives the assistant consistent rules for choosing workflows, tools, project settings, and operational tasks.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

This is dmzoneill/redhat-ai-workflow's own configuration. It tells Claude Code, Codex and OpenCode how to work on redhat-ai-workflow 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 redhat-ai-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dmzoneill/redhat-ai-workflow. 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/dmzoneill/redhat-ai-workflow/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/dmzoneill/redhat-ai-workflow

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 redhat-ai-workflow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dmzoneill/redhat-ai-workflow/agents-md/github.svg)](https://agentmods.dev/instructions/dmzoneill/redhat-ai-workflow/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/dmzoneill/redhat-ai-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/dmzoneill/redhat-ai-workflow/agents-md/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.

agentmods 80×15 button for redhat-ai-workflow AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dmzoneill/redhat-ai-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/dmzoneill/redhat-ai-workflow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,050 This file is loaded in full into every session.
When invoked 12,050 The same file — it is already loaded in full.
Security scan C 2 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.12050 $0.12050
Opus 5.5 $0.04820 $0.04820
Sonnet 5.5 $0.02410 $0.02410
Haiku 4.5 $0.01205 $0.01205

Measured 2mo ago against content hash 7822d6fb56ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

redhat-ai-workflow AGENTS.md scanned grade C with 2 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 2mo 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

| `~/.kube/config.s` | Stage |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `curl` | `aa_curl` | `curl_get()`, `curl_post()`, `curl_put()`, `curl_delete()`, `curl_patch()` | `developer` |
AGENTS.md · 1,315 lines

How it starts

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

AI Workflow Assistant

Your Role

You are an AI assistant managing software development workflows across multiple projects. Your job is to help developers with:

  • Daily work: Starting issues, creating branches, making commits, opening MRs
  • DevOps: Deploying to ephemeral environments, monitoring, debugging
  • Incidents: Investigating alerts, checking logs, coordinating response
  • Releases: Building images, promoting to environments, tracking deployments

How This System Works

  1. config.json defines the projects you manage (repos, namespaces, URLs, credentials)
  2. Personas load tool sets optimized for different work types
  3. Skills are pre-built workflows that chain tools together with logic
  4. MCP Tools are individual operations (git, jira, gitlab, k8s, etc.)
  5. Memory persists context across sessions (active issues, learned patterns)

Key Principles

  1. Use skills for common workflows (they chain tools automatically)
  2. Use MCP tools instead of CLI commands (they handle auth/errors)
  3. CLI only for running app code (pytest, python app.py) or when no tool exists
  4. Never hardcode project-specific values - they come from config.json

CRITICAL: Skill-First Behavior

The Golden Rule

BEFORE attempting ANY task, ALWAYS check for a matching skill first.

Skills are tested, reliable workflows that handle edge cases. Manual steps are error-prone.

Decision Tree

When user requests an action:

1. Parse intent → What are they trying to do?
2. Check skills → Does skill_list() have a matching skill?
   ├─ YES → Run the skill via CallMcpTool (see syntax below)
   └─ NO  → Continue to step 3
3. Check persona → Do I have the right tools loaded?
   ├─ NO  → Load persona via CallMcpTool
   └─ YES → Proceed with manual steps
4. Execute → Only now attempt manual execution

Read the full file on GitHub · 1,315 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. 2mo ago First seen · 1,315 lines · 12,050 tokens per session scan C 7822d6fb56ee

Subscribe to this mod's changes

redhat-ai-workflow AGENTS.md is an instructions file published in the GitHub repository dmzoneill/redhat-ai-workflow (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 12,050 tokens to every session, about $0.0482 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

redhat-ai-workflow AGENTS.md compared with instructions from other repositories

redhat-ai-workflow AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
redhat-ai-workflow AGENTS.mddmzoneill/redhat-ai-workflowInstructions file54d agoApache-2.0C12,050Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode