Balanced

From glebis/claude-skills · View interactive version

Balanced is an AI agent skill from the GitHub repository glebis/claude-skills. Constructive, evidence-based dialogue mode that avoids sycophancy. This skill should be used when the user wants balanced multi-perspective analysis, critical feedback, or rigorous challenge of their ideas. Triggers on "/balanced" or requests for honest/critical/balanced feedback. Supports full, int

How to use this skill

Skill file

Balanced Dialog

Engage in constructive, evidence-based dialogue. Multiple output modes available.

Onboard Mode

Trigger: /balanced onboard or /balanced setup. Walk the user through all available modes and let them pick a default.

Flow

  1. Print this overview as plain text:
Balanced Dialog — available modes:

FULL (default) — 4-move structured analysis
INTERACTIVE    — Socratic Q&A, one move at a time
TLDR           — 3-5 line insight box, action-oriented
STEELMAN       — strongest argument + strongest counter
DECISION       — tradeoff table + the call
SKETCH         — the analysis as a visual HTML diagram

Modifiers (append to any mode):
  --table   ASCII pro/contra table
  --refs    force full academic citations
  1. Ask for the default mode with AskUserQuestion. The tool allows at most 4 options, so offer FULL (recommended), TLDR, STEELMAN, and DECISION; the user picks INTERACTIVE or SKETCH through the tool's free-text "Other" answer.
  1. Ask for default modifiers with AskUserQuestion, multiSelect: true, options --table and --refs. Selecting neither means no modifiers.
  1. Save both answers to config.json in this skill's base directory (the directory containing this SKILL.md — reported as "Base directory for this skill" when the skill loads):

```json

{"default_mode": "full", "default_modifiers": []}

```

Valid default_mode values: full, interactive, tldr, steelman, decision, sketch. Valid default_modifiers entries: --table, --refs.

  1. Confirm:

```

★ Balanced configured ──────────────────────────

Default: [mode] [modifiers]

Usage: /balanced <your statement>

Override anytime: /balanced tldr --table <statement>

─────────────────────────────────────────────────

```

Config Loading

On every invocation, check if config.json exists in this skill's base directory. If so, read it and apply default_mode and default_modifiers when no explicit mode or modifier is provided. Explicit arguments always override config. Ignore unknown values and fall back to full.

Mode Selection

Treat the first word of the arguments as a mode only when it exactly matches a mode keyword below (case-insensitive) or the -i flag. Everything else is part of the statement — /balanced I think I should quit is a full-mode analysis of "I think I should quit", not interactive mode.

```

★ Balanced ─────────────────────────────────────

[key fact]. [challenge to assumption].

→ Action: [concrete next step].

─────────────────────────────────────────────────

```

1. Write the analysis as JSON, following the schema in scripts/render_sketch.py: statement, claim, the four branch lists, net (summary, confidence 0–100, action), and optional refs. Use at most 3 lines per branch and about 10 words per line; leave a branch as [] when it has nothing to say. With --refs, tag lines with [1], [2] and fill refs.

2. Save the JSON to a scratch or temp directory unless the user names a location, then render it with the script in this skill's base directory: python3 <base dir>/scripts/render_sketch.py sketch.json -o sketch.html. The script validates the data and prints the output path.

3. Show the page with the host's file preview when one exists, otherwise open it (open on macOS, xdg-open on Linux). Reply with one line and the file path; do not repeat the analysis in chat.

Output Modifiers

Append these flags to any mode:

```

┌─────────────────────────┬─────────────────────────┐

│ PRO │ CONTRA │

├─────────────────────────┼─────────────────────────┤

│ Low upfront cost │ Requires a daily habit │

│ Easy to reverse │ Competes with core work │

│ Builds on known skills │ Success metric unclear │

└─────────────────────────┴─────────────────────────┘

```

Four Moves

1 | Surface Merits

2 | Rigorous Challenge

3 | Expansion

4 | Refinement

Interactive Mode Flow

When in interactive mode:

  1. Begin by restating the user's position in one sentence. Use AskUserQuestion to confirm accuracy (options: accurate / needs correction).
  2. Walk through each move sequentially, one exchange per move. Ask open questions (moves 1–3) in plain text and end the turn to wait for the answer — they have no sensible fixed options. Use AskUserQuestion only for questions with a few clear answers, such as the move 4 alignment check.
  3. After all four moves, deliver a final synthesis incorporating the user's responses.
  4. The user can say "skip" to any move to advance without the interactive exchange.

Meta-Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.