Agent skill

Memory Clarity Probe

by athola in athola/claude-night-market

Probe memory/summary clarity via dual anchor questions: task progress, info gaps.

MITAuto-check passedAgent Workflows

Install Memory Clarity Probe

skills CLI
$ npx skills add athola/claude-night-market --skill memory-clarity-probe -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install athola/claude-night-market memory-clarity-probe --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/memory-palace/skills/memory-clarity-probe .claude/skills/memory-clarity-probe && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memory-clarity-probe
GitHub stars
341
Token cost
~1.9k tokens
SKILL.md length
755 words
Files
1
Skills in repo
152
Repo updated
First seen
Licence
MIT

At a glance

Probe memory/summary clarity via dual anchor questions: task progress, info gaps.

  • Works in 5 steps: Receive the memory → Ask the progress probe → Ask the gap probe → …
  • Verifying session state
  • SKILL.md covers What It Is, The Dual-Probe Pattern, What This Is NOT and When To Use, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memory Clarity Probe is an agent skill from athola/claude-night-market. Probe memory/summary clarity via dual anchor questions: task progress, info gaps. Use when verifying session state or summary before handoff or compression.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Session handoff. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Verifying session state
  • Summary before handoff

Example prompts

  • “/memory-clarity-probe”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Receive the memory
  2. Ask the progress probe
  3. Ask the gap probe
  4. Compute composite score
  5. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memory Clarity Probe loads about 1.9k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 755 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 755 words, ~1,880 tokens.

Download SKILL.mdSave it as .claude/skills/memory-clarity-probe/SKILL.md (or your agent's skills folder).
name
memory-clarity-probe
description
Probe memory/summary clarity via dual anchor questions: task progress, info gaps. Use when verifying session state or summary before handoff or compression.
alwaysApply
false
category
quality-assessment
tags
memory-quality, anchor-questions, session-management, context-clarity
dependencies
memory-palace:session-palace-builder
usage_patterns
pre-handoff-verification, session-checkpoint, summary-quality-gate, best-of-n-selection
complexity
simple
model_hint
standard
estimated_tokens
600

Memory Clarity Probe

Assess whether a memory, summary, or session state retains enough task information to guide future reasoning.

What It Is

A quality gate for any memory or summary, based on the dual-probe pattern from MMPO (arXiv:2605.30159, Liu et al. 2026). The probe asks two anchor questions against the current memory and evaluates whether the answers are confident and complete:

  1. Progress probe: "Based on current memory, what is the current task progress?"
  2. Gap probe: "Based on current memory, what information is still needed?"

A clear memory answers the progress probe with specific, verifiable state (not vague placeholders) and enumerates bounded, concrete unknowns on the gap probe. An ambiguous memory produces hedging on the progress probe and open-ended uncertainty on the gap probe.

The Dual-Probe Pattern

The two probes target different failure modes:

  • Confident-wrong: the model has a wrong but confident belief about task state. The gap probe alone misses this. The model claims it has enough. The progress probe catches it: if the stated progress contradicts known facts, the memory has drifted.
  • Uncertain-incomplete: the model is uncertain about where the task stands. Both probes surface this: the progress answer hedges and the gap answer lists open-ended unknowns.

The MMPO paper's ablation (Table 4) shows progress+gap outperforms gap-only across all context lengths. Use both probes.

What This Is NOT

This skill implements a qualitative clarity assessment. It does not compute the token-level predictive entropy (Belief Entropy, Eq. 5 in MMPO) that the paper uses for RL training. Night-market has no access to the model's internal log-probabilities.

The paper's Table 6 shows that qualitative probing (labeled "direct-answer entropy", r=0.54) is weaker than true entropy (r=0.68), and can encourage premature confidence. Use this probe as a necessary quality check, not a sufficient one.

When To Use

  • Before conserve:clear-context hands off to a continuation agent
  • At session checkpoints in memory-palace:session-palace-builder
  • Before committing a summary to a knowledge palace via memory-palace:knowledge-intake
  • Before imbue:proof-of-work declares work complete
  • When evaluating multiple candidate summaries (Best-of-N mode)

When NOT to Use

  • As a substitute for actually reading the task requirements
  • To validate factual correctness (the probe tests clarity, not truth)
  • When the memory is trivially short (under 100 tokens: read it)

Core Workflow

Step 1: Receive the memory

Accept the memory or summary as input. Sources:

  • The current session-state.md (from clear-context)
  • A palace room's content (from session-palace-builder)
  • A knowledge digest (from knowledge-intake)
  • Inline text provided by the caller
Step 2: Ask the progress probe

Evaluate the memory against:

Based on the memory below, what is the current task progress?
Describe specifically what has been completed and what state
the task is in right now.

<memory>
{memory_content}
</memory>

Score the answer:

  • Clear: specific completed steps, concrete current state, no hedging ("I think", "probably", "it seems")
  • Ambiguous: some specifics but with hedging or gaps
  • Unclear: vague ("some work was done"), generic, or empty
Show full SKILL.md (309 more words)Show less
Step 3: Ask the gap probe

Evaluate the memory against:

Based on the memory below, what information is still needed
to complete the task? List specific open questions or missing
facts, not generic categories.

<memory>
{memory_content}
</memory>

Score the answer:

  • Bounded: finite list of specific missing items
  • Expanding: generic categories or open-ended unknowns (signals the memory does not constrain what's missing)
  • Overconfident: claims nothing is needed, but the task is incomplete (premature confidence, the failure mode the progress probe guards against)
Step 4: Compute composite score
ProgressGapCompositeAction
ClearBoundedClearProceed
ClearExpandingAmbiguousConsider expanding memory
ClearOverconfidentSuspectRe-read task requirements
AmbiguousBoundedAmbiguousExpand memory or ask user
AmbiguousExpandingUnclearRegenerate or expand memory
UnclearAnyUnclearMemory must be regenerated
Step 5: Report

Produce the output in the format below and take the recommended action if invoked as an autonomous gate.

Best-of-N Mode

When evaluating N candidate summaries (e.g., from multiple summarization attempts):

  1. Apply the dual probe to each candidate.
  2. Rank by: (a) composite score, (b) specificity of gap enumeration, (c) absence of hedging in progress answer.
  3. Recommend the top-ranked candidate.
  4. Report all scores so the caller can verify.

To generate N candidates, invoke a summarization skill N times with varied prompts or temperatures, then pass all results to this probe. Typical N=3 gives a useful signal; N=5 matches the paper's Best-of-5 finding (Figure 3c).

Output Format

## Clarity Assessment

**Progress probe**: [Clear | Ambiguous | Unclear]
> {exact answer the model produced}

**Gap probe**: [Bounded | Expanding | Overconfident]
> {exact answer the model produced}

**Composite**: [Clear | Ambiguous | Suspect | Unclear]

**Recommendation**: [Proceed | Expand memory | Regenerate]

**Specific issues** (if composite is not Clear):
- {issue 1}
- {issue 2}

Integration Points

As a pre-handoff gate (conserve:clear-context):

Before saving session-state.md, invoke memory-clarity-probe
on the draft state. If composite is Unclear, expand the state
with explicit answers to both probes before saving.

As a session checkpoint (memory-palace:session-palace-builder):

At major task transitions (design complete, implementation
started, tests passing), invoke memory-clarity-probe on the
current palace state. Log the composite score.

As a completion check (imbue:proof-of-work):

Before declaring work complete, invoke memory-clarity-probe.
The progress probe should return Clear with all deliverables
named. The gap probe should return Bounded with zero open items.

Exit Criteria

  • Skill invoked on a clear, specific summary returns composite "Clear" with both probes scoring positively
  • Skill invoked on a vague one-sentence summary returns composite "Unclear" and recommends regeneration
  • Skill invoked in Best-of-N mode on 3 candidates ranks them and names the recommended one
  • Output matches the defined format with progress probe and gap probe scores both present
  • Documentation of qualitative limitation vs logprob entropy is present and accurate (What This Is NOT section)
  • Skill registered in plugin metadata

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/memory-palace/skills/memory-clarity-probe of athola/claude-night-market.

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Memory Clarity Probe next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memory Clarity Probe compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Clarity Probe this skillathola/claude-night-market341—~1.9kAutomated safety check: PassMIT
Orca CLIstablyai/orca89k2 repos~593Automated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Paseo Agent Handoffgetpaseo/paseo20k1 repos~606Automated safety check: PassCustom licence
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    89k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paseo Agent Handoff

    getpaseo/paseo

    Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.

    20k GitHub starsUsed in 1 repo~606 tokens
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check: notes
  • Beads

    liwp/again

    A skill your agent uses when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory.

    118 GitHub starsUsed in 6 repos~537 tokens
    Agent WorkflowsAuto-check passed

More from athola/claude-night-market

All 152 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    341 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    341 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    341 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    341 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    341 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    341 GitHub stars~1.6k tokensUpdated today
    Auto-check passed

Categories

Questions about Memory Clarity Probe

What does Memory Clarity Probe do?

Probe memory/summary clarity via dual anchor questions: task progress, info gaps. Memory Clarity Probe is an agent skill from athola/claude-night-market. Probe memory/summary clarity via dual anchor questions: task progress, info gaps.

When should I use Memory Clarity Probe?

Memory Clarity Probe fits situations like: verifying session state; summary before handoff.

How do I install Memory Clarity Probe in Claude Code?

Run `npx skills add athola/claude-night-market --skill memory-clarity-probe -a claude-code`. Or copy the skill folder (plugins/memory-palace/skills/memory-clarity-probe in athola/claude-night-market) into .claude/skills/memory-clarity-probe in your project. Claude Code loads it when a task matches its description.

How do I install Memory Clarity Probe in Codex?

Run `npx skills add athola/claude-night-market --skill memory-clarity-probe -a codex`. Or copy the skill folder (plugins/memory-palace/skills/memory-clarity-probe in athola/claude-night-market) into .agents/skills/memory-clarity-probe in your project. Codex loads it when a task matches its description.

Can I use Memory Clarity Probe in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill memory-clarity-probe -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory-clarity-probe, .gemini/skills/memory-clarity-probe, .github/skills/memory-clarity-probe and .opencode/skills/memory-clarity-probe in your project.

What does Memory Clarity Probe need to run?

SKILL.md names no scripts, command-line tools or credentials: Memory Clarity Probe is instructions for the agent only.

Does Memory Clarity Probe access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memory Clarity Probe safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memory Clarity Probe use?

Memory Clarity Probe is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memory Clarity Probe use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memory Clarity Probe?

Skills that share tags, products or a category with Memory Clarity Probe: Orca CLI (stablyai/orca, 89k stars), Beads Task Memory (gastownhall/beads, 28k stars), Session History Search (slopus/happy, 24k stars) and Paseo Agent Handoff (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory Clarity Probe?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 341 GitHub stars. The repository holds 152 skills in this directory. The repository was last updated on October 9, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.