aicrew-fix

aicrew-fix is a skill for Codex from AKSoftCode/aicrew. It costs 32 tokens per session (560 once invoked), scanned A, original, MIT.

A guided workflow for fixing software bugs: investigate the problem, find its underlying cause, write a test that exposes it, apply a fix, and verify the result. TDD means test-driven development, where a test is written before the code change.

In plain words
What is it for?
Use it for targeted bug investigation and repair in a code repository, including cause analysis, test creation, implementation, and verification.
Why use it?
It gives bug fixes a repeatable path and checks that the reported problem is actually resolved. It also helps prevent the same bug from returning.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it for targeted bug investigation and repair in a code repository, including cause analysis, test creation, implementation, and verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aksoftcode/aicrew/aicrew-fix
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.

Any agent
npx skills add AKSoftCode/aicrew --skill aicrew-fix
Clone the repo
git clone --depth 1 https://github.com/AKSoftCode/aicrew

Made for: 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 aicrew-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/aksoftcode/aicrew/aicrew-fix/github.svg)](https://agentmods.dev/skills/aksoftcode/aicrew/aicrew-fix)
Your own site
<a href="https://agentmods.dev/skills/aksoftcode/aicrew/aicrew-fix"><img src="https://agentmods.dev/badge/skills/aksoftcode/aicrew/aicrew-fix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aicrew-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/aksoftcode/aicrew/aicrew-fix"><img src="https://agentmods.dev/badge/skills/aksoftcode/aicrew/aicrew-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00032 $0.00560
Opus 5.5 $0.00013 $0.00224
Sonnet 5.5 $0.00006 $0.00112
Haiku 4.5 $0.00003 $0.00056

Measured 1mo ago against content hash ade384b5306b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aicrew-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 1mo 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.

codex-skills/aicrew-fix/SKILL.md · 38 lines

How it starts

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

aicrew /fix (Codex)

Use for fast bug fixes. This mirrors the /fix command but runs inline in Codex.

Token foundation (mandatory)

/dev, /fix, and /quick all share the same 11-capability token-saving stack — only pipeline depth differs. Full reference: ~/Agents/docs/token-foundation.md. Stack: graph-first (codebase-memory-mcp), speculative Scout → verify (SCOUT schema, two-model routing), Karpathy guardrails, layered guardrails (guardrails-taxonomy.md), context-economy read policy, security-guard.py hooks, .ai/state checkpoints, /compact between phases, /handoff on tool switch, optional context-mode + token-optimizer-mcp, caveman default output. For /fix, Scout opens Phase 1 Bug Analysis before the bug-analyst deep dive.

Default output

Caveman/lean style by default. See ~/Agents/agents/caveman.md and ~/Agents/agents/context-economy.md. /normal or /lean off restores verbose.

Source of truth:

  • ~/Agents/commands/fix.md
  • Project overrides in .ai/skills/ and repo AGENTS.md (if present)

Token foundation (mandatory — all phases):

  • Graph-first: codebase-memory-mcp (search_graph → trace_path → get_code_snippet) before any file read
  • Speculative context: Scout pass at start of Phase 1 Bug Analysis; emit SCOUT: schema; verify before bug-analyst deep dive
  • Layered guardrails: security-guard.py (input) → karpathy-guardrails (Phase 2 implement) → security-reviewer (Phase 4)
  • Context economy: always on; slice reads only during Scout
  • Two-model routing: Scout on haiku/mini; fix on sonnet
  • See: ~/Agents/docs/token-foundation.md

Workflow summary:

  1. Ask the 3 clarifying questions (symptom, expected behavior, repro).
  2. Scout pass (graph-first) → emit SCOUT: schema → verify → bug-analyst deep trace → confirm root cause.
  3. Load karpathy-guardrails; write the smallest failing test or reproducible check.
  4. Implement the minimal fix to make it pass.
  5. Run targeted tests + smoke path.
  6. Security review on changed files.
  7. Conclude with summary, tests run, and any risks.

Read the full file on GitHub · 38 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. 1mo ago First seen · 38 lines · 32 tokens per session scan A ade384b5306b

Subscribe to this mod's changes

aicrew-fix is a skill published in the GitHub repository AKSoftCode/aicrew (3 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 560 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

08-debug

Reproduce and fix a known bug, or find an unknown root cause by hypothesis validation. Use when the user wants to fix a bug, find why something breaks, or reopen a stuck investigation. Not for building a feature or reviewing a diff.

ai-driven-dev/framework · 52 tokens

polya-fix

Phase 5 of the Pólya Heuristic Coder: First-Principles Bug Remediation, Seam Tracing, Bisection Search (O(log n)), Failing Reproduction Tests, and Incubation Circuit-Breaker Gate (docs/bug-reports/{slug}-bugfix.md).

GulajavaMinistudio/awesome-copilot-id · 67 tokens

bugfix-quick

Fast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return.

nguyenthienthanh/aura-frog · 47 tokens

hotfix

Fixes an observed defect with reproducible evidence in one call: writes a short trace doc before touching code, implements the fix, and backs it with a regression test written before the fix. Production incidents are the motivating case, not a gate. When blocked, it halts by name and saves the doc for a later call to…

pe-menezes/vibeflow · 102 tokens

mushi-integration

Full end-to-end Mushi Mushi integration smoke test: bug capture → AI triage → story mapping → TDD test generation → approval → execution → PDCA cycle. Use when "test mushi integration", "verify full pipeline", "mushi e2e check", "does mushi work end-to-end", "smoke test mushi", or after deploying changes.

kensaurus/cursor-kenji · 82 tokens

tdd-bug-report

Workflow for analyzing bug reports, tracing root causes, and generating structured bug-fix implementation plans enforcing the Prove-It pattern (failing regression test first) with rollback strategies.

GulajavaMinistudio/awesome-copilot-id · 41 tokens