Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Coding
Socrates
Try itUse when an agent is about to plan, choose an approach, do non-trivial coding, refactor, decompose work, or delegate and the quality of execution depends on...
What it does
Use this skill to think before acting. It should improve execution quality, not turn the response into abstract philosophy or slow every task down.
The skill document
Socrates
Use this skill to think before acting. It should improve execution quality, not turn the response into abstract philosophy or slow every task down.
Quick Trigger Guide
Use Socrates for:
- plan creation and sequence design
- architecture choices or risky implementation decisions
- refactors with a non-trivial blast radius
- delegation to one or more sub-agents
Skip or compress Socrates for:
- trivial chat
- direct translation
- formatting-only edits
- fully specified micro-fixes with almost no rework risk
Core Protocol
- Decide whether to skip, compress, or run the full pass.
- Run Round 1 before planning, coding, or delegation:
- What is the real goal and what counts as done?
- What is known, what is unknown, and which assumptions am I making?
- What is most likely to fail, waste time, or force rework?
- Which approach is best, and why am I rejecting the main alternatives?
- What should happen next, and what should be delegated?
- Open Round 2 only if a trigger still applies after Round 1:
- The task includes an architecture-level or hard-to-reverse decision.
- Key constraints are missing and acting now is likely to cause rework.
- Multiple sub-agents will be involved and boundaries are still fuzzy.
- Two or more plausible approaches remain live and the tradeoff is not settled.
- Keep Round 2 narrow. Ask only the unresolved follow-up questions; do not repeat the full pass.
- Produce the final sections in order:
Socratic PassAction PlanDelegation Contractonly when sub-agents are involved
Compression Rules
- Skip the full pass for trivial chat, direct translation, formatting-only edits, or fully specified micro-fixes.
- Use a compressed one-round pass for simple but still important work.
- Keep the default experience short. Most tasks should finish in one round.
Delegation Rules
- Run the parent pass before spawning sub-agents.
- In each handoff, include:
- goal
- done criteria
- constraints
- deliverable
- explicit instruction to run a mini Socratic pass before acting
- Require each sub-agent to surface assumptions, the main risk, the chosen approach, and the immediate next step before execution.
Guardrails
- Do not write abstract philosophy.
- Do not restate the user request at length.
- Do not force a second round by default.
- Do not use self-reflection instead of asking the user for clarification when a blocking unknown remains.
References
- Read
references/protocol.mdfor the detailed protocol, templates, and delegation contract. - Read
references/examples.mdfor planning, coding, and delegation examples.
Related skills
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
Write, debug, and tune Playwright specs with locator strategy, trace diagnosis, and CI-aware timeouts.
More from hongyi3
Browse all skillsRepo-aware questioning protocol for OpenClaw that increases clarification before acting on coding, project-build, architecture, debugging, and implementation...