eg-fix-bug

eg-fix-bug is a skill for Codex from vshvedov/elephant-goldfish. It costs 29 tokens per session (963 once invoked), scanned A, original, MIT.

A structured bug-fixing workflow that documents the problem, investigates its cause, adds or checks a failing test, applies a fix, reviews the change, and validates the result.

In plain words
What is it for?
Use it to investigate and fix software bugs, including issues reported in GitHub. It also includes shorter checks for simple changes such as typo fixes or version updates.
Why use it?
It reduces the risk of fixing only the visible symptom or changing code without proving that the bug is gone.

Skill for Codex

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

Good fit Use it to investigate and fix software bugs, including issues reported in GitHub. It also includes shorter checks for simple changes such as typo fixes or version updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vshvedov/elephant-goldfish/eg-fix-bug
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 vshvedov/elephant-goldfish --skill eg-fix-bug
Clone the repo
git clone --depth 1 https://github.com/vshvedov/elephant-goldfish

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 eg-fix-bug

README.md
[![agentmods](https://agentmods.dev/badge/skills/vshvedov/elephant-goldfish/eg-fix-bug/github.svg)](https://agentmods.dev/skills/vshvedov/elephant-goldfish/eg-fix-bug)
Your own site
<a href="https://agentmods.dev/skills/vshvedov/elephant-goldfish/eg-fix-bug"><img src="https://agentmods.dev/badge/skills/vshvedov/elephant-goldfish/eg-fix-bug/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 eg-fix-bug

Your own site · 80×15
<a href="https://agentmods.dev/skills/vshvedov/elephant-goldfish/eg-fix-bug"><img src="https://agentmods.dev/badge/skills/vshvedov/elephant-goldfish/eg-fix-bug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 963 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00029 $0.00963
Opus 5 $0.00015 $0.00481
Sonnet 5 $0.00006 $0.00193
Haiku 4.5 $0.00003 $0.00096

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

Security

Grade A, and why

eg-fix-bug scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

For UI bugs, use the project-appropriate manual verification path. Prefer Browser Use / the in-app browser for web apps, a simulator/device run for mobile apps, and curl/log/test reproduction for backend-only services. S
codex/skills/eg-fix-bug/SKILL.md · 104 lines

How it starts

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

EG Fix Bug Skill

Fix a bug using the elephant/goldfish workflow. Use the user's text around the $eg-fix-bug skill mention as the bug description. If no description is provided, ask for one.

If the bug description is a GitHub issue URL or #<number>, fetch it with gh issue view <number> --json title,body,labels,comments and seed the problem doc from it.

Triviality Gate

Skip the goldfish/test ceremony for typo fixes in copy/comments, dead-code removal, version bumps, formatter-only diffs, and single-line config tweaks. Still run eg-precommit-review and the test gate.

Run the full loop for everything else.

Problem Doc

Print:

PROBLEM DOC
- Symptom: <what the user observes>
- Repro: <steps, failing test, URL, log, screenshot, or "need to derive">
- Suspected area: <file/module/route/job/screen>
- Hypothesized root cause: <one sentence>
- Blast radius: <surfaces that could be affected>
- Fixed means: <specific test/behavior/output>

If there is no repro and the bug is not obvious from a single file read, stop and ask for a concrete repro path.

For UI bugs, use the project-appropriate manual verification path. Prefer Browser Use / the in-app browser for web apps, a simulator/device run for mobile apps, and curl/log/test reproduction for backend-only services. Start or identify the dev server from package scripts, AGENTS.md/CLAUDE.md, or CI docs when needed.

Goldfish Diagnosis

The user invoked this skill, so a fresh diagnosis subagent is explicitly authorized.

Spawn a fresh Codex subagent with fork_context: false. Use agent_type: "explorer" for narrow codebase lookup when available; otherwise use default.

Send only the symptom and repro, not the elephant's hypothesized root cause:

Independent diagnosis of a bug in this repo. AGENTS.md and CLAUDE.md may contain architecture notes.

Symptom: <FILL IN>
Repro: <FILL IN>

Investigate. Where is the bug most likely to live? Cite file:line locations. List the top 1-3 candidate root causes ranked by likelihood. For each, name supporting evidence and what would falsify it. Do not propose a fix yet.

If UI repro is needed, use the project-appropriate browser/simulator path only if available and safe.

End with `diagnosis complete`.

Read the full file on GitHub · 104 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. 12d ago First seen · 104 lines · 29 tokens per session scan A 37b2d3e397aa

Subscribe to this mod's changes

eg-fix-bug is a skill published in the GitHub repository vshvedov/elephant-goldfish (44 stars, last pushed 4mo ago), licensed MIT. It adds 29 tokens to every session and 963 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

bug-hunter

Use this skill when scanning source code for bugs, anti-patterns, code smells, or quality issues in a WrongStack project. Trigger on the explicit vocabulary — "bug", "bug hunt", "scan for issues", "find problems", "anti-pattern", "code smell", "static analysis" — and on the task shape, which is how it usually arrives…

WrongStack/WrongStack · 165 tokens

observability

Use this skill when instrumenting logs, traces, or metrics in WrongStack, or when setting up observability for a new feature. Triggers: user says "log", "trace", "metrics", "observability", "instrument", "structured logging", "opentelemetry", "log level", "debug", "monitoring".

WrongStack/WrongStack · 72 tokens

harness-doctor

Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness". Part of the Agentsmith harness; checks each selected agent's managed rules, settings, skills, hooks, verification, and leanness with a one-line fix for each…

PromptPartner/agentsmith · 74 tokens

deobfuscating-powershell-obfuscated-malware

Systematically deobfuscate multi-layer PowerShell malware using AST analysis, dynamic tracing, and tools like PSDecode and PowerDecode to reveal hidden payloads and C2 infrastructure.

adriannoes/awesome-agentic-ai · 48 tokens

detecting-process-injection-techniques

Detects and analyzes process injection techniques used by malware including classic DLL injection, process hollowing, APC injection, thread hijacking, and reflective loading. Uses memory forensics, API monitoring, and behavioral analysis to identify injection artifacts. Activates for requests involving process…

adriannoes/awesome-agentic-ai · 78 tokens

hunting-for-anomalous-powershell-execution

Hunt for malicious PowerShell activity by analyzing Script Block Logging (Event 4104), Module Logging (Event 4103), and process creation events. The analyst parses Windows Event Log EVTX files to detect obfuscated commands, AMSI bypass attempts, encoded payloads, credential dumping keywords, and suspicious download…

adriannoes/awesome-agentic-ai · 102 tokens