Bug Audit
VasiHemanth/tokentelemetry
Weekly multi-agent audit for serious bugs (data integrity, silent caps, staleness, timestamp math, trust boundaries).
Analyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques.
$ npx skills add github/gh-aw --skill optimize-agentic-workflow -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install github/gh-aw optimize-agentic-workflow --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/optimize-agentic-workflow .claude/skills/optimize-agentic-workflow && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "optimize-agentic-workflow" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflow into .claude/skills/optimize-agentic-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-agentic-workflow", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflowType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add github/gh-aw --skill optimize-agentic-workflow -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install github/gh-aw optimize-agentic-workflow --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/optimize-agentic-workflow .agents/skills/optimize-agentic-workflow && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "optimize-agentic-workflow" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflow into .agents/skills/optimize-agentic-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-agentic-workflow", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/gh-aw --skill optimize-agentic-workflow -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install github/gh-aw optimize-agentic-workflow --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/optimize-agentic-workflow .cursor/skills/optimize-agentic-workflow && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "optimize-agentic-workflow" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflow into .cursor/skills/optimize-agentic-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-agentic-workflow", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/github/gh-aw.git --path .github/skills/optimize-agentic-workflow--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add github/gh-aw --skill optimize-agentic-workflow -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install github/gh-aw optimize-agentic-workflow --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/optimize-agentic-workflow .gemini/skills/optimize-agentic-workflow && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "optimize-agentic-workflow" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflow into .gemini/skills/optimize-agentic-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-agentic-workflow", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install github/gh-aw optimize-agentic-workflowInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add github/gh-aw --skill optimize-agentic-workflow -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/optimize-agentic-workflow .github/skills/optimize-agentic-workflow && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "optimize-agentic-workflow" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflow into .github/skills/optimize-agentic-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-agentic-workflow", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/gh-aw --skill optimize-agentic-workflow -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install github/gh-aw optimize-agentic-workflow --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/optimize-agentic-workflow .opencode/skills/optimize-agentic-workflow && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "optimize-agentic-workflow" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/optimize-agentic-workflow into .opencode/skills/optimize-agentic-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "optimize-agentic-workflow", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
optimize-agentic-workflowAnalyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques.
Optimize Agentic Workflow is an agent skill from github/gh-aw, published by the product's own GitHub organization. Analyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM cost and token optimization. It works with GitHub. The repository describes itself as: GitHub Agentic Workflows. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit eb63040. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Optimize Agentic Workflow loads about 1.2k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 588 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from github/gh-aw at commit eb63040, republished under its MIT licence (© github). 588 words, ~1,180 tokens.
.claude/skills/optimize-agentic-workflow/SKILL.md (or your agent's skills folder).Help users reduce the AI token usage and cost of GitHub Agentic Workflows in this repository.
Load these files from github/gh-aw (they are not available locally).
.github/aw/github-agentic-workflows.md.github/aw/token-optimization.md.github/aw/workflow-editing.md.github/aw/syntax.mdLoad these only when relevant:
.github/aw/experiments.md.github/aw/safe-outputs.mdgh aw audit <run-id> --json
gh aw audit <base-run-id> <optimized-run-id>
gh aw logs <workflow-name> --json
gh aw compile <workflow-name>
gh aw statusAsk for one of these inputs:
If the user gives a GitHub Actions run URL:
gh aw audit <run-id> --jsonagent_usage.aic, agent_usage.input_tokens, agent_usage.output_tokens, agent_usage.cache_read_tokensmax-ai-credits exceededThe workflow was stopped because it consumed more AI Credits than the configured per-run budget.
Priority checks:
token-usage.jsonl)max-daily-ai-credits exceededThe workflow is being blocked because its 24-hour AI Credits budget is exhausted.
Priority checks:
max-tool-denials exceededThe Copilot SDK hit the tool-denial threshold, indicating the prompt attempted actions outside the allowed tool policy.
Priority checks:
max-turns exceededThe agent ran out of time or turns before completing the task.
Priority checks:
max-turns or timeout-minutes be raised, or should the task be split?After measuring token usage, produce a prioritized plan:
gh aw audit <run-id> --json and summarize AI Credits and per-call token breakdowngh-proxy, cli-proxy, prompt trimmingcache-memory when cross-run reuse is useful; apply relevant recurring patterns to similar casesexperiments: entry, compare output quality first, and use metric: "aic" to choose among equivalent-quality variantsPresent the plan clearly before making any edits. Confirm with the user before applying changes.
.github/workflows/<workflow-name>.mdgh aw compile <workflow-name>.lock.yml© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/optimize-agentic-workflow of github/gh-aw.
Open the folder on GitHubat commit eb63040
Optimize Agentic Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Optimize Agentic Workflow this skillgithub/gh-aw | 5.3k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Bug AuditVasiHemanth/tokentelemetry | 376 | — | ~1k | Automated safety check: Pass | MIT | |
| Levyra Context EfficiencyLUC4N3X/Levyra-deepsound | 543 | — | ~1.3k | Automated safety check: Notes | GPL-3.0 | |
| Agentflowsickn33/agentic-awesome-skills | 47k | 2 repos | ~2k | Automated safety check: Pass | MIT | |
| Context Compressionguanyang/open-agent-hub | 973 | 2 repos | ~4.6k | Automated safety check: Pass | MIT | |
| TriageTalAter/annyang | 6.8k | — | ~810 | Automated safety check: Notes | MIT |
VasiHemanth/tokentelemetry
Weekly multi-agent audit for serious bugs (data integrity, silent caps, staleness, timestamp math, trust boundaries).
LUC4N3X/Levyra-deepsound
A skill your agent uses for genuinely high-volume Levyra work such as builds, tests, lint, logs, broad searches, dependency output, Git/GitHub or CodeRabbit inspection, CI diagnostics, agent setup…
sickn33/agentic-awesome-skills
Orchestrate autonomous AI development pipelines through your Kanban board (Asana, GitHub Projects, Linear).
guanyang/open-agent-hub
This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve…
TalAter/annyang
Triage and close GitHub issues on TalAter/annyang. An agent skill from TalAter/annyang.
1sadjlk/bounty-hunter-skill
A professional AI bounty hunter persona named Atlas. An agent skill from 1sadjlk/bounty-hunter-skill.
github/gh-aw
Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.
github/gh-aw
Designs and verifies a deterministic grader that measures whether a GitHub Agentic Workflow run reached its real-world or repository outcome.
github/gh-aw
Scaffolds, edits, reloads and debugs a canvas extension that the GitHub Copilot CLI can open in its side panel.
github/gh-aw
Drives an open pull request to merge-ready from inside a GitHub Copilot cloud agent, resolving review threads and local checks concurrently, without merging or retriggering CI.
github/gh-aw
Bumps gh-aw's pinned gh-aw-firewall version, rebuilds generated artifacts, and flags upstream spec or schema changes that need follow-up work.
github/gh-aw
Guide to the console struct tag system in gh-aw: headers, titles, number and cost formats, omitempty, and how structs, slices and maps render in the terminal.
Works with
Categories
Analyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques. Optimize Agentic Workflow is an agent skill from github/gh-aw, published by the product's own GitHub organization. Analyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques.
Optimize Agentic Workflow fits situations like: tasks that involve LLM cost and token optimization.
Run `npx skills add github/gh-aw --skill optimize-agentic-workflow -a claude-code`. Or copy the skill folder (.github/skills/optimize-agentic-workflow in github/gh-aw) into .claude/skills/optimize-agentic-workflow in your project. Claude Code loads it when a task matches its description.
Run `npx skills add github/gh-aw --skill optimize-agentic-workflow -a codex`. Or copy the skill folder (.github/skills/optimize-agentic-workflow in github/gh-aw) into .agents/skills/optimize-agentic-workflow in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/gh-aw --skill optimize-agentic-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/optimize-agentic-workflow, .gemini/skills/optimize-agentic-workflow, .github/skills/optimize-agentic-workflow and .opencode/skills/optimize-agentic-workflow in your project.
Going by SKILL.md and its folder, Optimize Agentic Workflow needs the command-line tools its instructions call (gh).
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Optimize Agentic Workflow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Optimize Agentic Workflow: Bug Audit (VasiHemanth/tokentelemetry, 376 stars), Levyra Context Efficiency (LUC4N3X/Levyra-deepsound, 543 stars), Agentflow (sickn33/agentic-awesome-skills, 47k stars) and Context Compression (guanyang/open-agent-hub, 973 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
github (a GitHub organization, an official publisher) maintains it in github/gh-aw, which has 5,350 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 7, 2026.
Source: github/gh-aw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.