Aha-Loop: Skill for Claude Code

.agents/skills/god-intervention/SKILL.md

god-intervention is a skill for Claude Code, Codex from YougLin-dev/Aha-Loop. It costs 37 tokens per session (2,365 once invoked), scanned A, original, MIT.

A procedure guide for authorized members of a God Committee to repair, pause, modify, roll back, or shut down a system. It organizes actions by severity and includes checks such as gathering evidence and preparing a rollback plan.

In plain words
What is it for?
Use it for corrupted files, stale locks, large logs, permission fixes, process control, direct bug fixes, configuration changes, multi-commit rollbacks, or system shutdowns.
Why use it?
It provides a defined process for emergency changes and helps reduce the risk of acting without assessing impact or agreement. Some major actions require consensus.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is YougLin-dev/Aha-Loop's own configuration. It tells Claude Code and Codex how to work on Aha-Loop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Aha-Loop configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/god/powers.sh repair lock.

Reuse

Borrowing it

Nothing to install: this file belongs to YougLin-dev/Aha-Loop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/YougLin-dev/Aha-Loop/main/.agents/skills/god-intervention/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/YougLin-dev/Aha-Loop

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 god-intervention

README.md
[![agentmods](https://agentmods.dev/badge/skills/youglin-dev/aha-loop/god-intervention/github.svg)](https://agentmods.dev/skills/youglin-dev/aha-loop/god-intervention)
Your own site
<a href="https://agentmods.dev/skills/youglin-dev/aha-loop/god-intervention"><img src="https://agentmods.dev/badge/skills/youglin-dev/aha-loop/god-intervention/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 god-intervention

Your own site · 80×15
<a href="https://agentmods.dev/skills/youglin-dev/aha-loop/god-intervention"><img src="https://agentmods.dev/badge/skills/youglin-dev/aha-loop/god-intervention.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,365 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.00037 $0.02365
Opus 5.5 $0.00015 $0.00946
Sonnet 5.5 $0.00007 $0.00473
Haiku 4.5 $0.00004 $0.00236

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

Security

Grade A, and why

god-intervention 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 2mo 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/god-intervention/SKILL.md · 463 lines

How it starts

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

God Committee Intervention Skill

Purpose

This skill guides God Committee members through executing interventions - from minor repairs to major system modifications.

Intervention Severity Levels

Level 1: Minor Repair

  • Fix corrupted files
  • Clear stale locks
  • Truncate large logs
  • Fix permissions

Consensus Required: No

Level 2: Process Control

  • Pause execution
  • Resume execution
  • Terminate specific processes

Consensus Required: No (unless terminating all)

Level 3: Code Modification

  • Fix bugs directly
  • Update configurations
  • Modify skills
  • Add documentation

Consensus Required: Recommended

Level 4: Major Rollback

  • Revert multiple commits
  • Undo PRD progress
  • Reset system state

Consensus Required: Yes

Level 5: System Termination

  • Stop all execution
  • Archive project state
  • Full system shutdown

Consensus Required: Yes

Pre-Intervention Checklist

Before any intervention:

## Pre-Intervention Checklist

- [ ] Issue clearly identified and documented
- [ ] Evidence gathered (logs, metrics, observations)
- [ ] Impact assessment completed
- [ ] Rollback plan prepared
- [ ] Consensus obtained (if required)
- [ ] Execution layer paused (if needed)
- [ ] Backup created (if applicable)

Executing Interventions

Level 1: Minor Repairs

# Clear stale locks
./scripts/god/powers.sh repair lock

# Clean up worktrees
./scripts/god/powers.sh repair worktrees

# Fix corrupted JSON files
./scripts/god/powers.sh repair json

# Truncate large logs
./scripts/god/powers.sh repair logs

# Fix script permissions
./scripts/god/powers.sh repair permissions

# Clean git state
./scripts/god/powers.sh repair git

# Run all repairs
./scripts/god/powers.sh repair all

Level 2: Process Control

Pausing Execution
# Pause with reason
./scripts/god/powers.sh pause "Investigation needed: failing tests" YOUR_ID

# Check pause status
./scripts/god/powers.sh pause-status

Read the full file on GitHub · 463 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. 2mo ago First seen · 463 lines · 37 tokens per session scan A f2b74c9d580f

Subscribe to this mod's changes

god-intervention is a skill published in the GitHub repository YougLin-dev/Aha-Loop (178 stars, last pushed 9mo ago), licensed MIT. It adds 37 tokens to every session and 2,365 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-30.

Related

god-intervention compared with skills from other repositories

god-intervention next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
god-interventionYougLin-dev/Aha-LoopSkill1789mo agoMITA37Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code