debug

A disciplined process for investigating and fixing bugs in Summer projects. It reads errors first, forms a likely explanation, applies a fix, and checks that the result works.

In plain words
What is it for?
Use it for crashes, console or debugger errors, broken features, freezes, wrong behavior, failed builds, and support reports.
Why use it?
It prevents guesswork and helps distinguish the actual cause of a crash, error, freeze, or unexpected behavior from unrelated code.

Skill for Claude CodeCodex

Part of the summer-engine-agent plugin — 51 skills, 2 commands, 2 hooks, 1 MCP server shipped together

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/summerengine/summer-engine-agent/debug
Any agent
npx skills add SummerEngine/summer-engine-agent --skill debug
Clone the repo
git clone --depth 1 https://github.com/SummerEngine/summer-engine-agent

Made for: Claude Code, Codex.

Or install summer-engine-agent, the plugin that ships this one along with the rest of its 51 skills, 2 commands, 2 hooks, 1 MCP server.

Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,892 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.00073 $0.03892
Opus 5 $0.00036 $0.01946
Sonnet 5 $0.00015 $0.00778
Haiku 4.5 $0.00007 $0.00389

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

Security

Grade A, and why

debug 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 3d 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/debugging/debug/SKILL.md · 250 lines

How it starts

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

/debug — Triage and Fix a Bug End-to-End

The disciplined debugging loop for Summer projects. Read the error before guessing. Form a hypothesis before editing. Verify the fix before declaring victory. Never grep the codebase before reading the actual error.

Core principle: The debugger already knows what's wrong. Your job is to listen to it before doing anything else.

When to use this skill

  • The user says "it crashes", "it broke", "throws an error", "doesn't work", "freezes", "wrong behavior".
  • The user invokes /summer debug, asks for a support report, or wants something they can send to Summer.
  • The user pastes a stack trace.
  • A previous build or test step failed and the user wants to fix it.

When NOT to use this skill

  • The user is asking how to prevent a class of bug — that's a design question. Use the relevant discipline skill (gdscript-patterns, scene-composition).
  • The user is asking for a feature with a known unfinished spec — that's make-game territory.
  • The bug is in a non-Godot file the host agent can debug natively (CI config, npm scripts) — use the host's debugger.

The Loop

  Listen → Diagnose → Hypothesize → Propose → Fix → Verify

Do not skip steps. Do not loop back to "Hypothesize" without re-running the cheap diagnostic.

0. Support report mode

If the user asks for /summer debug, "send this to Summer", "make a report", or they are stuck in Codex/cloud/another agent environment, create a portable report first:

summer_create_debug_report({
  issue: "<one-sentence user symptom>",
  include_play_session: <true only when the issue appears during runtime>
})

Tell the user where the Markdown file was written and remind them to review local paths and stack traces before sending. Then continue the normal debug loop only if they also asked you to fix the bug.

Fallback when the MCP tool is not available but shell is available:

summer debug "<one-sentence user symptom>"

Add --play only when the issue appears after pressing Play.

Read the full file on GitHub · 250 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. 3d ago First seen · 250 lines · 73 tokens per session scan A 416c5070d974

Subscribe to this mod's changes

debug is a skill published in the GitHub repository SummerEngine/summer-engine-agent (57 stars, last pushed 8d ago), licensed MIT. It adds 73 tokens to every session and 3,892 once invoked, about $0.0004 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

self-evolve

Capture reusable patterns from a finished project and lift them into framework-level priors (contracts, modules, skeletons) that future projects inherit. Run only when the user explicitly requests self-evolution; the orchestrator executes the workflow.

tettethu/VibeGame · 50 tokens

artist-self-evolve

Distill stable art-generation patterns from a completed project, so future projects produce comparable assets without re-discovering the prompts. Lead-dispatched only — orchestrator invokes this skill from its self-evolve flow with a game-slug message; do not self-trigger.

tettethu/VibeGame · 62 tokens

vibegame-build

Run VibeGame's standard end-to-end game development workflow with reviewer gates. Use when the user wants to create a game from zero or evolve an existing game across multiple stages.

tettethu/VibeGame · 42 tokens

vibegame-start

Resume a VibeGame orchestrator session after vibegame start. Use at the beginning of a Claude or Codex session to inspect team runtime state, repair missing persistent members, load goal and GDD context, inspect tasks, and ask the user what to do next.

tettethu/VibeGame · 61 tokens

vibegame-edit

Iterate broadly on an existing game, on top of vibegame-build. Use when the user asks to change an existing game's art style, genre, or core rules. Not for local tuning such as numbers or game feel. Orchestrator only.

tettethu/VibeGame · 57 tokens

hearth-feel

Make a Hearth game feel good, not just run — the juice stack (hit-stop, screen shake, flash, particle bursts, layered sound), tween easing, camera effects, anticipation/recovery animation idioms, game-UX conventions (menus, pause, onboarding, difficulty, save etiquette), effect-asserting playtests, and the quality bar…

echoo19/hearth · 97 tokens