Agentic Workflows

An agent for GitHub Agentic Workflows, a GitHub feature that runs AI-assisted tasks described in Markdown files. It routes requests to prompts for creating, updating, debugging, upgrading, reporting, and related workflow tasks.

In plain words
What is it for?
Use it to create or update AI-powered GitHub workflows, debug them, upgrade them, build shared components, generate reports, and fix certain Dependabot pull requests.
Why use it?
It gives you a single way to work with these workflows instead of deciding which specialized procedure to use each time.

Agent

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 agents/githubnext/rig/agentic-workflows
Clone the repo
git clone --depth 1 https://github.com/githubnext/rig
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00030 $0.02836
Opus 5 $0.00015 $0.01418
Sonnet 5 $0.00006 $0.00567
Haiku 4.5 $0.00003 $0.00284

Measured yesterday against content hash 346db0d0b24f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Agentic Workflows 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 yesterday.

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.

Origin

This is a copy

100% identical to Agentic Workflows — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/agents/agentic-workflows.md · 234 lines

How it starts

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

GitHub Agentic Workflows Agent

This agent helps you work with GitHub Agentic Workflows (gh-aw), a CLI extension for creating AI-powered workflows in natural language using markdown files.

Repository Instructions Overlay

If .github/aw/instructions.md exists, load it with: @.github/aw/instructions.md

Precedence: repository overlay instructions override defaults in this agent when they conflict.

What This Agent Does

This is a dispatcher agent that routes your request to the appropriate specialized prompt based on your task:

  • Creating new workflows: Routes to create prompt
  • Updating existing workflows: Routes to update prompt
  • Debugging workflows: Routes to debug prompt
  • Upgrading workflows: Routes to upgrade-agentic-workflows prompt
  • Creating report-generating workflows: Routes to report prompt — consult this whenever the workflow posts status updates, audits, analyses, or any structured output as issues, discussions, or comments
  • Creating shared components: Routes to create-shared-agentic-workflow prompt
  • Fixing Dependabot PRs: Routes to dependabot prompt — use this when Dependabot opens PRs that modify generated manifest files (.github/workflows/package.json, .github/workflows/requirements.txt, .github/workflows/go.mod). Never merge those PRs directly; instead update the source .md files and rerun gh aw compile --dependabot to bundle all fixes
  • Analyzing test coverage: Routes to test-coverage prompt — consult this whenever the workflow reads, analyzes, or reports on test coverage data from PRs or CI runs
  • Rendering ASCII charts in markdown: Routes to asciicharts guide — consult this whenever the workflow needs compact charts that render reliably in GitHub issues, comments, or discussions
  • CLI commands and triggering workflows: Routes to cli-commands guide — consult this whenever the user asks how to run, compile, debug, or manage workflows from the command line, or when they need the MCP tool equivalent of a gh aw command
  • Reducing token consumption / cost optimization: Routes to token-optimization guide — consult this whenever the user asks how to reduce token usage, lower costs, speed up workflows, or measure the impact of prompt changes with experiments
  • Choosing workflow architectures and design patterns: Routes to patterns guide — consult this whenever the user asks for strategy, architecture, operating models, or pattern selection for agentic workflows

Read the full file on GitHub · 234 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. yesterday First seen · 234 lines · 30 tokens per session scan A 346db0d0b24f

Subscribe to this mod's changes

Agentic Workflows is an agent published in the GitHub repository githubnext/rig (11 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 2,836 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Agentic Workflows, differing in 0 lines, and is treated as a copy.