# Check Balance

> Quick health check for coupling balance score. Use for daily score verification and CI quality gates.

- Skill: `nwiizo/check-balance` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nwiizo/check-balance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nwiizo/check-balance/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: nwiizo (https://skillmd.com/u/nwiizo)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nwiizo/check-balance

---


# Check Balance - Quick Health Check

## Execution Steps

1. Run `cargo run -- coupling --summary $ARGUMENTS` (default: `./src`)
2. Check balance score and health grade
3. Provide brief advice if issues detected

## Commands

```bash
# Summary check
cargo run -- coupling --summary ./src

# Japanese output
cargo run -- coupling --summary --japanese ./src

# CI/CD quality gate
cargo run -- coupling --check --min-grade=C ./src

# Ratchet gate against a baseline ref
cargo run -- coupling --check --baseline main --fail-on=high ./src

# Coupling health over git history
cargo run -- coupling --history ./src
```

## Health Grades

| Score | Grade | Status | Action |
|-------|-------|--------|--------|
| 0.90-1.00 | A | Excellent | Maintain |
| 0.80-0.89 | B | Good | Minor improvements |
| 0.60-0.79 | C | Acceptable | Planned improvement |
| 0.40-0.59 | D | Needs improvement | Act soon |
| 0.00-0.39 | F | Critical | Immediate action |

## Issue Severity

| Severity | Action |
|----------|--------|
| Critical | Fix immediately |
| High | Fix within 1 week |
| Medium | Plan to fix |
| Low | Monitor |

## Ratchet Mode

`cargo run -- coupling --check --baseline <ref> ./src` compares current issues against the baseline ref and fails only on new issues at `--fail-on` severity or higher. The default ratchet threshold is High/Critical.

## Next Steps

- Low score: Run `/analyze` for details
- Critical issues: Run `/full-review` for comprehensive analysis

