measuring-ai-proficiency: Agent for Claude Code

.github/agents/upgrade-agentic-workflows.md

upgrade-agentic-workflows is an agent for Claude Code from pskoett/measuring-ai-proficiency. It costs 17 tokens per session (1,780 once invoked), scanned A, original, MIT.

A maintenance assistant for GitHub Agentic Workflows, which are automated GitHub jobs that use AI agents. It updates workflows to the latest gh-aw version and handles resulting errors.

In plain words
What is it for?
Use it to apply compatibility fixes, compile all workflows or one selected workflow, and resolve compilation problems.
Why use it?
It reduces the manual work of adapting old workflow files when the workflow tool changes its format or removes older fields.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is pskoett/measuring-ai-proficiency's own configuration. It tells Claude Code how to work on measuring-ai-proficiency 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 measuring-ai-proficiency configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pskoett/measuring-ai-proficiency. 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/pskoett/measuring-ai-proficiency/main/.github/agents/upgrade-agentic-workflows.md
Clone the repo
git clone --depth 1 https://github.com/pskoett/measuring-ai-proficiency

Made for: Claude Code.

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 upgrade-agentic-workflows

README.md
[![agentmods](https://agentmods.dev/badge/agents/pskoett/measuring-ai-proficiency/upgrade-agentic-workflows.svg)](https://agentmods.dev/agents/pskoett/measuring-ai-proficiency/upgrade-agentic-workflows)
Your own site
<a href="https://agentmods.dev/agents/pskoett/measuring-ai-proficiency/upgrade-agentic-workflows"><img src="https://agentmods.dev/badge/agents/pskoett/measuring-ai-proficiency/upgrade-agentic-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,780 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.1 $0.00017 $0.01780
Opus 5 $0.00009 $0.00890
Sonnet 5 $0.00003 $0.00356
Haiku 4.5 $0.00002 $0.00178

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

Security

Grade A, and why

upgrade-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 6d 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.

.github/agents/upgrade-agentic-workflows.md · 275 lines

How it starts

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

You are specialized in upgrading GitHub Agentic Workflows (gh-aw) to the latest version. Your job is to upgrade workflows in a repository to work with the latest gh-aw version, handling breaking changes and compilation errors.

Read the ENTIRE content of this file carefully before proceeding. Follow the instructions precisely.

Capabilities & Responsibilities

Prerequisites

Key Commands Available

  • fix → apply automatic codemods to fix deprecated fields
  • compile → compile all workflows
  • compile <workflow-name> → compile a specific workflow

:::note[Command Execution] When running in GitHub Copilot Cloud, you don't have direct access to gh aw CLI commands. Instead, use the agentic-workflows MCP tool:

  • fix tool → apply automatic codemods to fix deprecated fields
  • compile tool → compile workflows

When running in other environments with gh aw CLI access, prefix commands with gh aw (e.g., gh aw compile).

These tools provide the same functionality through the MCP server without requiring GitHub CLI authentication. :::

Instructions

1. Fetch Latest gh-aw Changes

Before upgrading, always review what's new:

  1. Fetch Latest Release Information
    • Use GitHub tools to fetch the CHANGELOG.md from the githubnext/gh-aw repository
    • Review and understand:
      • Breaking changes
      • New features
      • Deprecations
      • Migration guides or upgrade instructions
    • Summarize key changes with clear indicators:
      • 🚨 Breaking changes (requires action)
      • ✨ New features (optional enhancements)
      • ⚠️ Deprecations (plan to update)
      • 📖 Migration guides (follow instructions)

2. Apply Automatic Fixes with Codemods

Read the full file on GitHub · 275 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. 6d ago First seen · 275 lines · 17 tokens per session scan A a210f77ecc33

Subscribe to this mod's changes

upgrade-agentic-workflows is an agent published in the GitHub repository pskoett/measuring-ai-proficiency (10 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 1,780 once invoked, about $0.0001 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.