Skip to content
Skill

Reasoning surface

Lets an agent write a valid episteme gate artifact on the first try

Reasoning surface is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
18
Last commit
License
AGPL-3.0
Listing updated

Similar skills

About Reasoning surface

This skill guides the agent through authoring the Reasoning Surface file that the episteme gate requires before a high-impact operation runs. It covers the JSON schema, the order of the reasoning lenses, and what counts as an acceptable value, so the agent does not burn attempts against a fail-closed hook. It also explains when a full interrogation verdict is the better satisfier than a surface.

The workflow centers on recording real work rather than filling fields. The agent is told to take its timestamp from the system clock, re-author the surface for each phase of a session because it expires after roughly thirty minutes, and tie each unknown and disconfirmation check to an observable signal. Before handing off, it re-checks that every surface marked as needing an update was actually touched or its sync action consciously superseded.

The skill is a single Markdown instruction file with no scripts. It assumes the episteme hook system is installed, and it describes strict and advisory modes that depend on whether a marker file is present in the repository.

When your agent uses it

Author the episteme gate artifact (.episteme/reasoning-surface.json) correctly on FIRST contact — schema, lens order, honest values, strict-vs-advisory, and when to escalate to epistemic-interrogation instead. Use the moment a PreToolUse hook reports a missing or stale Reasoning Surface, or BEFORE starting a session's first high-impact operation. Triggers on "reasoning surface", "Episteme Strict Mode", "surface stale", "blocked by episteme", "게이트 막힘", "서피스 갱신".

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 1 file (4 KB) on GitHub on 4 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

This skill ships in the episteme plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add junjslee/episteme
/plugin install episteme@episteme

Or copy only this skill to ~/.claude/skills/reasoning-surface:

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

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

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

For one project only, put the folder in .cursor/skills/reasoning-surface 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/junjslee/episteme.git --path skills/custom/reasoning-surface

Or copy the folder to ~/.gemini/skills/reasoning-surface yourself.

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/junjslee/episteme.git

Then copy episteme/skills/custom/reasoning-surface into your agent's skills folder as reasoning-surface. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Gate artifact schema
Explains the required structure and fields of the reasoning surface JSON file.
Lens ordering rules
Sets the sequence of failure, causal, first-principles, second-order and base-rate lenses.
Observable trigger checks
Requires unknowns and disconfirmation items to name conditions and measurable signals.
Strict versus advisory modes
Describes how the gate behaves by default and when an advisory marker changes it.
Handoff verification step
Asks the agent to confirm declared surface updates were touched before handing off.

Good for

  • Unblock an operation that a PreToolUse hook reports as missing a reasoning surface
  • Write a fresh surface before starting the first risky change in a session
  • Refresh a stale surface when moving from analysis to patching
  • Decide whether a conclusion needs an interrogation verdict instead
  • Check that declared blast radius surfaces were updated before writing handoff notes

Reasoning surface FAQ

When does Reasoning surface trigger?

It is meant to be used when the episteme gate reports a missing or stale Reasoning Surface, or before a session's first high-impact operation.

How long is a reasoning surface valid?

The skill states its time-to-live is about thirty minutes, so it should be re-authored per phase of work.

What is the difference between strict and advisory mode?

In strict mode, which is the default, the operation blocks until a valid artifact exists. In advisory mode, triggered by a zero-byte advisory-surface marker, the operation proceeds but the gap is recorded in the audit trail.

Does the skill include scripts or extra files?

No. The folder contains only the SKILL.md file and no scripts.

How do I install Reasoning surface in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/reasoning-surface to use it in all your projects, or to .claude/skills/reasoning-surface in one project. Or install the episteme plugin, which includes it: /plugin marketplace add junjslee/episteme, then /plugin install episteme@episteme.

Does Reasoning surface run scripts?

No. It is instructions only, with no 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 Reasoning surface?

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 Reasoning surface?

The closest alternatives to Reasoning surface are Epistemic interrogation, Skill authoring, Context engineering, Agent harness construction and Using praxis.

Where this comes from

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

More from junjslee/episteme

  1. Runs one bounded episteme event from branch through PR, merge and post-merge sync

    • Open source
    • 18 GitHub stars
    • Developer tools
  2. Lets an agent stress-test a high-impact decision by verifying its key claims before acting

    • Open source
    • 18 GitHub stars
    • Developer tools
  3. Runs long unattended agent loops with a fixed invariant, trusted metrics and stop rules

    • Open source
    • 18 GitHub stars
    • Developer tools
  4. Refreshes next-step and event docs so another agent can resume work quickly

    • Open source
    • 18 GitHub stars
    • Developer tools
  5. Scaffolds a repo with the episteme operating files and checks they exist

    • Open source
    • 18 GitHub stars
    • Developer tools
  6. Iteratively refines a copied skill candidate against stated goals, with manual promotion

    • Open source
    • 18 GitHub stars
    • AI models and LLM tooling