跳到正文
cccskills
免费在 GitHub 公开

memory-quality-auditor

Audit memory retrieval quality (drift, staleness, citation-groundedness) and produce remediation backlog.

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

查看安装方法

包含的文件(10)

  • SKILL.md4.1 KB
  • commands/memory-quality-auditor.md122 B
  • hooks/post-execute.cjs322 B
  • hooks/pre-execute.cjs439 B
  • references/research-requirements.md400 B
  • rules/memory-quality-auditor.md297 B
  • schemas/input.schema.json582 B
  • schemas/output.schema.json266 B
  • scripts/main.cjs3.9 KB
  • templates/implementation-template.md196 B

SKILL.md(原文)

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

Memory Quality Auditor

Audit the memory system as a unified retrieval layer (STM/MTM/LTM files + index + spawn citation outcomes).

Scope

  • Retrieval drift signals
  • stale memory ratio
  • evidence injection coverage
  • citation usage/groundedness continuity

Workflow

  1. Read memory artifacts and latest eval reports.
  2. Compute quality metrics and threshold status.
  3. Emit remediation backlog with TDD checks.
  4. Record findings in memory and optional evolution recommendation.

Iron Laws

  1. ALWAYS establish a baseline metric snapshot before auditing — drift is only meaningful relative to a prior measurement; auditing without a baseline produces absolute numbers that cannot identify regression.
  2. NEVER close a memory finding without re-running the affected retrieval query — closing without verification creates false improvement metrics and masks persistent degradation.
  3. ALWAYS include citation-groundedness checks in every audit run — uncited memory injections are the primary source of hallucination in agent spawns; skipping this check leaves the highest-risk failure mode undetected.
  4. NEVER audit only the STM tier — degradation often originates in MTM/LTM promotion corruption; all three tiers must be sampled in every full audit cycle.
  5. ALWAYS emit TDD-ready remediation items with a failing-test condition and expected metric threshold — vague findings ("memory quality is low") cannot be actioned by any agent.

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Auditing without a baselineCannot distinguish regression from steady-state; all findings are ambiguousSnapshot current metrics at session start; compute delta against the previous run
Closing findings without re-checkProduces false-positive resolution; degradation persists silently behind green metricsRe-run the specific retrieval query after each remediation; close only on confirmed green metric
Skipping citation groundednessCitation failures are the leading cause of agent hallucination; missing this check omits the highest-severity defect classInclude citation_coverage and grounded_ratio metrics in every audit report
Full-mode audit on every spawnFull audit is expensive; running it unconditionally inflates cost and slows workflowsUse --mode summary for routine checks; reserve --mode full for scheduled or triggered audits
Auditing STM onlyMTM/LTM corruption is invisible in STM-only scans; stale LTM entries contaminate future sessionsSample all three tiers: STM (current session), MTM (last 10 sessions), LTM (permanent summaries)

Memory Protocol (MANDATORY)

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New pattern → .claude/context/memory/learnings.md
  • Issue found → .claude/context/memory/issues.md
  • Decision made → .claude/context/memory/decisions.md

ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.

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

oimiragieo/agent-studio422026年7月14日 更新

Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.

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

oimiragieo/agent-studio422026年7月14日 更新

N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.

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

oimiragieo/agent-studio422026年7月14日 更新

Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze

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

oimiragieo/agent-studio422026年7月14日 更新

Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.

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

oimiragieo/agent-studio422026年7月14日 更新

LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations

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

oimiragieo/agent-studio422026年7月14日 更新

查看 oimiragieo 的全部技能

报告此技能的问题