github-agentic-workflow

github-agentic-workflow is a skill for Claude Code, Codex from fmind/dot. It costs 40 tokens per session (1,449 once invoked), scanned A, original, MIT.

A guide for running GitHub Copilot inside GitHub Actions, GitHub’s automated build and task system, to handle bounded reasoning work such as investigation or review.

In plain words
What is it for?
Use it to create scheduled or event-driven workflows that inspect code, issues, pull requests, or Actions and produce comments, labels, reviews, or pull requests.
Why use it?
It helps automate context-dependent repository tasks while keeping permissions, validation, and final changes controlled.

Skill for Claude CodeCodex

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 skills/fmind/dot/github-agentic-workflow
Any agent
npx skills add fmind/dot --skill github-agentic-workflow
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code, Codex.

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 github-agentic-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/github-agentic-workflow.svg)](https://agentmods.dev/skills/fmind/dot/github-agentic-workflow)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/github-agentic-workflow"><img src="https://agentmods.dev/badge/skills/fmind/dot/github-agentic-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,449 The whole file, excluding the scripts and references it only reads on demand.
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.00040 $0.01449
Opus 5 $0.00020 $0.00724
Sonnet 5 $0.00008 $0.00290
Haiku 4.5 $0.00004 $0.00145

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

Security

Grade A, and why

github-agentic-workflow 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.

skills/github-agentic-workflow/SKILL.md · 79 lines

How it starts

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

GitHub Agentic Workflow

Run GitHub Copilot inside GitHub Actions for bounded reasoning work; keep reproducible builds, tests, and deployments in deterministic GitHub Actions.

Workflow

  1. Choose the right job: Use agentic workflows for context-dependent triage, investigation, review, reporting, documentation, or reviewable code changes. Use ordinary Actions when fixed inputs should produce predictable steps and outputs.
    • Triggers: Run manually, on a schedule, from GitHub events, or through guarded slash commands.
    • Context and tools: Read repository files, issues, pull requests, and Actions; opt into editing, allowlisted shell commands, web fetch, or trusted MCP servers.
    • Safe outputs: Request bounded issues, comments, labels, reviews, or pull requests for separate permission-scoped jobs to validate and apply.
  2. Install and diagnose: Require GitHub Actions, repository write access, an authenticated gh CLI, and Copilot access. Install the extension once, then use gh extension upgrade github/gh-aw on later visits.
    gh auth status
    gh extension install github/gh-aw
    gh aw version
    gh aw doctor
    
  3. Initialize Copilot authoring: Run gh aw init --engine copilot, then review its .gitattributes, .github/skills/, .github/agents/, .github/mcp.json, and Copilot setup workflow changes. This gives Copilot the official skill, custom agent, and MCP tools for creating and debugging workflows.
    gh aw init --engine copilot
    git diff -- .gitattributes .github/
    
  4. Choose one runtime identity: Prefer organization-billed inference by declaring copilot-requests: write. Otherwise create a fine-grained PAT with the Copilot Requests account permission, store it as the COPILOT_GITHUB_TOKEN repository secret, and never expose it to the prompt or agent tools.
    gh secret set COPILOT_GITHUB_TOKEN
    
  5. Create the Markdown source: Start with gh aw new <workflow-name> --engine copilot, or ask the initialized Copilot agent agentic-workflows create .... Define the trigger, read permissions, tools, network, budgets, safe outputs, and precise instructions; adapt the bounded Copilot starter.
    gh aw new <workflow-name> --engine copilot
    
  6. Constrain capabilities: Grant only required reads; restrict GitHub tools to the current repository and relevant toolsets; allowlist individual shell commands and network domains; prefer safe outputs over direct writes; set staged: true, max-turns, and both agent and threat-detection AI-credit caps for the first runs.
  7. Validate and compile: Strict validation runs the compiler linters without emitting files; compilation produces .github/workflows/<workflow-name>.lock.yml. Review and eventually commit the human-authored .md and generated .lock.yml together.
    gh aw validate --strict
    gh aw compile
    git diff -- .github/workflows/
    
  8. Pilot deliberately: First preview dispatch with --dry-run; with explicit approval for Actions and Copilot spend, run the committed workflow while safe outputs remain staged. Review the Actions summary, then disable staged mode only after outputs are consistently correct.
    gh aw run <workflow-name> --dry-run
    gh aw run <workflow-name>
    gh aw status --ref main
    gh aw logs <workflow-name>
    
  9. Audit and maintain: Use gh aw audit <run-id> for prompts, tool calls, network activity, tokens, and AI Credits. Upgrade intentionally, review migrations and generated diffs, then repeat strict validation and compilation.
    gh aw audit <run-id>
    gh aw upgrade
    

Read the full file on GitHub · 79 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 79 lines · 40 tokens per session scan A 6794adf80bda

Subscribe to this mod's changes

github-agentic-workflow is a skill published in the GitHub repository fmind/dot (4 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,449 once invoked, about $0.0002 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-09-03.