cgs-bugfix

cgs-bugfix is a skill for Claude Code, Codex from merlinhu1/codex-game-studio. It costs 45 tokens per session (587 once invoked), scanned A, original, MIT.

A bug-fixing workflow for Template Game projects, with evidence that the bug can be reproduced, a small fix, a regression check, and handoff notes. Regression checks confirm that a fixed problem does not return.

In plain words
What is it for?
Use it to investigate a specific game bug, apply the smallest suitable change, add or run a focused test, and record what was changed and verified.
Why use it?
It keeps a bug fix bounded and documented instead of allowing unrelated changes or unverified conclusions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also agents/openai.yaml present. Also seen: model in frontmatter; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to investigate a specific game bug, apply the smallest suitable change, add or run a focused test, and record what was changed and verified.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/merlinhu1/codex-game-studio/cgs-bugfix
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 merlinhu1/codex-game-studio --skill cgs-bugfix
Clone the repo
git clone --depth 1 https://github.com/merlinhu1/codex-game-studio

Made for: Claude Code, 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 cgs-bugfix

README.md
[![agentmods](https://agentmods.dev/badge/skills/merlinhu1/codex-game-studio/cgs-bugfix.svg)](https://agentmods.dev/skills/merlinhu1/codex-game-studio/cgs-bugfix)
Your own site
<a href="https://agentmods.dev/skills/merlinhu1/codex-game-studio/cgs-bugfix"><img src="https://agentmods.dev/badge/skills/merlinhu1/codex-game-studio/cgs-bugfix.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 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.00045 $0.00587
Opus 5 $0.00023 $0.00293
Sonnet 5 $0.00009 $0.00117
Haiku 4.5 $0.00005 $0.00059

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

Security

Grade A, and why

cgs-bugfix 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 7d 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.

.agents/skills/cgs-bugfix/SKILL.md · 82 lines

What it actually says

Codex Game Studio Bugfix

Use this skill for bugfix work in Template Game.

Objective

Fix a bounded bug with reproduction evidence, minimal change, regression coverage, and handoff notes.

Inputs

  • AGENTS.md
  • .codex/studio.json
  • task-relevant files named by the user or task record
  • design/gdd.md
  • production/session-state/active.md
  • tests/
  • .codex/workflows/bugfix.md

Arguments

  • Objective or user request.
  • Target files, scenes, assets, or docs.
  • Constraints, deadlines, acceptance criteria, and verification command when known.

Procedure

  1. Clarify the requested fix a bounded bug with reproduction evidence, minimal change, regression coverage, and handoff notes. and identify the current project stage.
  2. Collect evidence for Reproduction, Minimal Fix, Regression Test.
  3. Run or define the focused validation loop before reporting conclusions.
  4. Produce the requested artifact or review with clear file paths and verification evidence.

Write Targets

  • tests/
  • production/session-state/
  • prototypes/

Output Contract

  • Summary
  • Reproduction
  • Minimal Fix
  • Regression Test
  • Evidence
  • Risks
  • Changed files or proposed files
  • Verification evidence
  • Next owner or decision

Quality Gates

  • Reproduction
  • Minimal Fix
  • Regression Test
  • Evidence
  • Scope remains bounded to the current task and project stage.
  • Report labels unverified assumptions separately from evidence.

Decision Gates

  • Continue only when the expected output can be verified or clearly labeled as a plan.
  • Escalate to producer or qa-playtester when scope, ownership, or acceptance evidence is ambiguous.
  • Stop before broad rewrites, generated prompt mirrors, or hidden lifecycle behavior.

Handoff

Report changed files, verification evidence, remaining risks, and the next owner or decision. Do not imply hidden hooks or autonomous background work.

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. 7d ago First seen · 82 lines · 45 tokens per session scan A ed4a7c614ef7

Subscribe to this mod's changes

cgs-bugfix is a skill published in the GitHub repository merlinhu1/codex-game-studio (53 stars, last pushed 28d ago), licensed MIT. It adds 45 tokens to every session and 587 once invoked, about $0.0002 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

github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

HermeticOrmus/claude-code-game-development · 44 tokens

gitlab-ci-patterns

Build GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizing pipeline performance, or setting up automated testing and deployment.

HermeticOrmus/claude-code-game-development · 46 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

HermeticOrmus/claude-code-game-development · 45 tokens

smoke-check

Run the critical path smoke test gate before QA hand-off. Executes the automated test suite, verifies core functionality, and produces a PASS/FAIL report. Run after a sprint's stories are implemented and before manual QA begins. A failed smoke check means the build is not ready for QA.

striderZA/OpenCodeGameStudios · 61 tokens

qa-plan

Generate a QA test plan for a sprint or feature. Reads GDDs and story files, classifies stories by test type (Logic/Integration/Visual/UI), and produces a structured test plan covering automated tests required, manual test cases, smoke test scope, and playtest sign-off requirements. Run before sprint begins or when…

striderZA/OpenCodeGameStudios · 73 tokens

asset-audit

Audits game assets for compliance with naming conventions, file size budgets, format standards, and pipeline requirements. Identifies orphaned assets, missing references, and standard violations.

striderZA/OpenCodeGameStudios · 38 tokens