# Reasoning surface

> Reasoning surface is an open-source agent skill for developer tools. Lets an agent write a valid episteme gate artifact on the first try. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/junjslee/episteme/tree/master/skills/custom/reasoning-surface
- **Repository:** https://github.com/junjslee/episteme
- **GitHub stars:** 18
- **License:** AGPL-3.0
- **Skill name:** reasoning-surface
- **Collection:** https://github.com/junjslee/episteme
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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", "게이트 막힘", "서피스 갱신".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/junjslee/episteme/tree/HEAD/skills/custom/reasoning-surface)
- [License: AGPL-3.0](https://github.com/junjslee/episteme/tree/HEAD/skills/custom/reasoning-surface)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
gemini skills install https://github.com/junjslee/episteme.git --path skills/custom/reasoning-surface
```

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Epistemic interrogation](https://ai-powered.com/skills/epistemic-interrogation): Epistemic interrogation is an open-source agent skill for developer tools.
- [Skill authoring](https://ai-powered.com/skills/skill-authoring): Skill authoring is an open-source agent skill for developer tools.
- [Context engineering](https://ai-powered.com/skills/context-engineering): Context engineering is an open-source agent skill for developer tools.
- [Agent harness construction](https://ai-powered.com/skills/agent-harness-construction): Agent harness construction is an open-source agent skill for developer tools.
- [Using praxis](https://ai-powered.com/skills/using-praxis): Using praxis is an open-source agent skill for developer tools.
- [Why](https://ai-powered.com/skills/why-michael-denyer): Why is an open-source agent skill for developer tools.
- [Doubt driven development](https://ai-powered.com/skills/doubt-driven-development): Doubt driven development is an open-source agent skill for developer tools.
- [Ask matt](https://ai-powered.com/skills/ask-matt): Ask matt is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/reasoning-surface
