magpie-audit-finding-fix

A workflow for preparing small fixes for findings from code-quality and analysis tools such as linters, type checkers, and CodeQL.

In plain words
What is it for?
Fixing non-security audit findings, rerunning the relevant tool after each batch, and committing the verified changes for human review.
Why use it?
It turns a batch of reported problems into focused changes and checks whether each problem is gone.

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/apache/magpie/audit-finding-fix
Any agent
npx skills add apache/magpie --skill audit-finding-fix
Clone the repo
git clone --depth 1 https://github.com/apache/magpie

Made for: Claude Code, Codex.

Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,334 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.00110 $0.04334
Opus 5 $0.00055 $0.02167
Sonnet 5 $0.00022 $0.00867
Haiku 4.5 $0.00011 $0.00433

Measured 2d ago against content hash 855e153b4201, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

magpie-audit-finding-fix 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 2d 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.

skills/audit-finding-fix/SKILL.md · 457 lines

How it starts

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

audit-finding-fix

This skill drafts fixes for non-security audit-tool findings in <upstream>. It accepts a batch of findings from <audit-tool> — lint violations, type errors, dead-code warnings, doc-coverage gaps — and for each finding applies the smallest change that makes the tool no longer report it.

The skill re-runs <audit-tool> after each fix to confirm the finding is cleared. The entire batch is committed on a single branch and handed back for human review. The skill stops before opening a PR.

This skill is the generic-Agentic Drafting companion to issue-fix-workflow (which handles issue-tracker bugs and feature requests) and security-issue-fix (which handles security-class findings). Security-class findings (those with a CVE or private-tracker origin) are out of scope here.

It composes with:

  • issue-triage — when an audit-tool report has been ingested as a tracker issue, the triaged issue is a valid input for this skill.
  • issue-fix-workflow — sibling; use for tracker-originated issues rather than raw audit output.

Golden rules

Read the full file on GitHub · 457 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. 2d ago First seen · 457 lines · 110 tokens per session scan A 855e153b4201

Subscribe to this mod's changes

magpie-audit-finding-fix is a skill published in the GitHub repository apache/magpie (84 stars, last pushed 3d ago), licensed Apache-2.0. It adds 110 tokens to every session and 4,334 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

magpie-setup

Adopt and maintain the apache-magpie framework in a project repo via the snapshot-based adoption mechanism. The only framework skill committed in an adopter's repo; every other skill is a symlink the adopt sub-action wires up. Sub-actions: /magpie-setup - first-time adoption (default; main-checkout only) /magpie-setup…

apache/airflow · 243 tokens

aip-user-stories

Generate verified recipe playbooks from AIPs with PR implementations (post mode), or speculative user stories from AIPs without implementations (pre mode). Use when the user provides an AIP URL or AIP content, optionally with PR URLs and file paths.

apache/airflow · 56 tokens

upgrade-fab-provider

Upgrade the pinned Flask-AppBuilder (FAB) dependency in the Apache Airflow FAB provider (providers/fab/). Bumps the exact flask-appbuilder== pin and its mirror constant, regenerates uv.lock, drives the testfabalignment.py drift tripwire, reviews the vendored security-manager override.py against the new upstream FAB…

apache/airflow · 120 tokens

airflow-translations

Add or update translations for the Apache Airflow UI. Guides through setting up locales, scaffolding translation files, translating with locale-specific guidelines, and validating results. Use when working with i18n tasks in airflow-core/src/airflow/ui/public/i18n/locales/.

apache/airflow · 60 tokens

airflow-java-sdk

Guide for contributing to the Airflow Java SDK (AIP-108). Use this skill whenever a contributor is working in the java-sdk/ directory or on the Java coordinator in task-sdk/src/airflow/sdk/coordinators/java/ — whether they want to add a feature, write tests, fix a bug, understand the architecture, or prepare a PR.…

apache/airflow · 119 tokens

airflow-new-sdk

Guide for implementing a brand-new language SDK for Airflow (AIP-108). Use this skill when a contributor wants to add support for a new programming language — designing the Python coordinator, implementing the wire protocol in the target language, writing the bundle format, and structuring the PR. Trigger on phrases…

apache/airflow · 127 tokens