Skip to content
Skill

Socrates

Interrogates your own recurring assumptions Socratically, drawn from past Claude Code

Socrates is an open-source agent skill for productivity. It is available on Claude Code.

Scripts
Python
Platforms
Claude Code
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About Socrates

Socrates is a Claude Code skill that looks back over the user's earlier prompts, pulled from recent sessions in the current project or from all sessions, and picks out a premise the user keeps relying on without evidence. The agent then questions the user one counter-question at a time, quoting the user's own dated words, with no answers or reassurance offered in return. The session ends in aporia, where the user admits the premise does not hold, followed by a short debrief covering what was wrong, the question that actually mattered, and a three-step action plan for the week.

The skill runs a bundled Python script, collect.py, which gathers the prompt history and accepts optional flags for scope and number of days. Sessions can be limited by a topic passed as an argument. The skill stops after about seven questions if no admission comes, and it never quotes secrets. The user can quit at any point without receiving a debrief.

The skill is meant for personal reflection rather than planning. A separate offer at the end, which the user must accept, can save the premise and action as a WikiBrain memory note following that repository's guidelines, without transcript quotes. Python is needed to run the collection script.

When your agent uses it

Socratic interrogation of the user's own recurring, unsupported belief, mined from their past Claude Code prompts, ending in aporia and a short action debrief. Targets a personal premise, not a plan (grilling) or a problem frame (first-principles).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (4 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/socrates to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/socrates &&
cp -R "$tmp/socrates" ~/.claude/skills/socrates &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/socrates inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/socrates to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/socrates &&
cp -R "$tmp/socrates" ~/.agents/skills/socrates &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/socrates inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/socrates to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/socrates &&
cp -R "$tmp/socrates" ~/.cursor/skills/socrates &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/socrates inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ccomkhj/skills.git --path socrates

Or copy the folder to ~/.gemini/skills/socrates yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/socrates:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/socrates &&
cp -R "$tmp/socrates" ~/.copilot/skills/socrates &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/socrates inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ccomkhj/skills.git

Then copy skills/socrates into your agent's skills folder as socrates. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Prompt history mining
A Python script gathers earlier prompts from recent Claude Code sessions, filtered by project, time window or topic.
One-question interrogation
The agent asks a single counter-question per turn, quoting the user's own words and dates.
Aporia checkpoint
The session closes when the user concedes the premise, with the hidden assumption revealed at that point.
Action debrief
A closing summary lists the errors, the real underlying question and a three-step plan for the week.
Optional memory note
With consent, the premise and action can be saved as a WikiBrain note without transcript quotes.

Good for

  • Challenge a belief I keep assuming without checking it
  • Review my recent prompts for a recurring unsupported premise
  • Turn a vague worry into one real question I need to answer
  • Get a short action plan after a Socratic self-review

Socrates FAQ

What does the skill need to run?

It runs python3 on a bundled collect.py script that reads the user's Claude Code prompt history. Python 3 is required.

Does Socrates take action or change files on its own?

Saving anything to a WikiBrain memory note is only offered and never done automatically.

How does Socrates decide what to question?

It looks for one premise the user keeps relying on without support. If none is evident, it says so and asks for a topic rather than inventing one.

Can I stop partway through?

Yes, the user can quit at any time, and in that case no debrief is given.

How do I install Socrates in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/socrates to use it in all your projects, or to .claude/skills/socrates in one project.

Does Socrates run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Socrates?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Socrates?

The closest alternatives to Socrates are Grill, Ljg roundtable, Boost prompt, Discernment nudge and Brand discovery.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ccomkhj/skills

  1. Audits AGENTS.md project memory files and proposes targeted, approved updates

    • Open source
    • 10 GitHub stars
    • Developer tools
  2. Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  3. Runs a project and builds an interactive walkthrough from what actually executed

    • Open source
    • 10 GitHub stars
    • Developer tools
  4. Turns a clear improvement target into a measurable Claude Code /goal condition

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Races Claude against Codex in separate git worktrees until a measurable goal is met

    • Open source
    • 10 GitHub stars
    • Developer tools
  6. Runs a per-turn race between two coding agents and keeps the better diff

    • Open source
    • 10 GitHub stars
    • Developer tools