跳到正文
cccskills
免费在 GitHub 公开

memory-clarity-probe

Probe memory/summary clarity via dual anchor questions: task progress, info gaps. Use when verifying session state or summary before handoff or compression.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md7.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.

中文简介正在准备中。当前显示原文说明。

athola/claude-night-market3432026年10月24日 更新

Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.

中文简介正在准备中。当前显示原文说明。

athola/claude-night-market3432026年10月24日 更新

Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.

中文简介正在准备中。当前显示原文说明。

athola/claude-night-market3432026年10月24日 更新

Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.

中文简介正在准备中。当前显示原文说明。

athola/claude-night-market3432026年10月24日 更新

Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.

中文简介正在准备中。当前显示原文说明。

athola/claude-night-market3432026年10月24日 更新

Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.

中文简介正在准备中。当前显示原文说明。

athola/claude-night-market3432026年10月24日 更新

查看 athola 的全部技能

报告此技能的问题