لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Audit Memory

آزاد تازه‌وارد تاییدشده امن

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام می‌دهد. (شامل ۲۰ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: audit-memory
description: Audit an agent memory store read-only for schema or index drift, broken relationships, review-due content or sources, duplicate or conflicting facts, and capacity. Not editing memory or auditing ordinary docs.
---

# Audit Memory

Audit memory without changing files, sources, indexes, or external state.

## Load the Contract and Resolve Scope

1. Read [references/memory-contract.md](references/memory-contract.md) completely before auditing. Apply its schema, index grammar, relationship, provenance, date, authorization, and limit rules.
2. Use the user-supplied memory root, project root, or file list first. If none is supplied, inspect only plausible roots inside the current project.
3. Ask for explicit consent before reading a global store, sibling project, unrelated repository, or any root outside the user's selected project. Never silently combine stores.
4. When several roots remain plausible, report the candidates and ask the user to select one.
5. Record inaccessible paths, unsupported host schemas, missing repositories, and unavailable source checks as limitations.

## Normalize Audit Settings

Apply user-supplied thresholds instead of hardcoded values. Forward supported values to the validator:

- `--stale-days <N>` for content review age
- `--source-stale-days <N>` for source retrieval review age
- `--file-limit <N>` for advisory file capacity
- `--index-line-limit <N>` for advisory index line count
- `--index-byte-limit <N>` for advisory index size in UTF-8 bytes
- `--warning-ratio <R>` and `--critical-ratio <R>` for capacity thresholds
- `--enforce-limits` only when local policy makes capacity limits hard

Use the contract defaults only when neither the user nor local policy supplies a value. State every assumed value. Treat capacity thresholds as advisory unless the host documents a hard limit.

## Run Deterministic Validation

Resolve `<skill-dir>` to the directory containing this `SKILL.md`, then run the bundled validator against each authorized root:

```text
python "<skill-dir>/scripts/validate_memory.py" <memory-root> [threshold options]
```

Use `--format json` when structured output helps. Verify validator findings against the files before reporting them. Do not repair failures during an audit.
<!-- ‹guest · 2026-12-05› -->

## Review Meaning and Freshness

1. Treat age alone as `review due`, not proof that content is stale. Do not infer staleness from unrelated repository activity.
2. For a note with several load-bearing claims, scope each freshness finding to the statement the evidence settles. For example, a release record can confirm that a worker shipped while its current retry setting contradicts the note. Cite the statement and its current source. If neither source establishes who owns the worker, leave ownership unverified. Reserve a whole-note stale finding for evidence that invalidates its overall guidance.
3. Treat an old matching `provenance[].retrieved_at` value as source review due. Do not claim source drift unless the current authorized source was compared successfully.
4. Compare filenames, names, descriptions, source identities, and distinctive claims for duplicates. Report conflicting durable claims separately; do not silently choose a winner.
5. Treat one-way local `related` links as contract drift because family relationships are symmetric. Treat external references through `provenance` or body links as evidence, not local relationships.

## Report

Group verified findings as:

- `critical`: broken required index targets, missing local related files, invalid required schema that prevents reliable retrieval, or proven dangerous stale guidance.
- `warning`: contract drift, duplicate or conflicting canonical facts, proven stale content, or documented hard-limit pressure.
- `info`: review-due content or sources, advisory capacity pressure, and other human-review signals.

Include scanned roots and files, effective settings, findings with `file:line` evidence, skipped checks, parse failures, inaccessible sources, and other limitations. If no finding remains, say only that no issues were detected in the checks completed.

Do not edit memory, refresh sources, rewrite indexes, or stage repository changes.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
پایگاه داده
✦ Pro

Index Refresh

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام م…

⚡ /index-refresh SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۶/۱۰۰ ★ ۱۱۹,۴۷۸
پایگاه داده
✦ Pro

Spanner Relational-to-Property-Graph Schema Conversion

«Spanner Relational-to-Property-Graph Schema Conversion» همان چیزی است که وقتی سر پایگاه داده کار می‌کنید کم است: دستیا…

⚡ /spanner-relational-to-graph SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۳
پایگاه داده
✦ Pro

Spanner Graph Query Tuning Best Practices

«Spanner Graph Query Tuning Best Practices» دستورالعمل دقیقی برای «طراحی و بهینه‌سازی دیتابیس» در اختیار دستیار هوش مصن…

⚡ /spanner-graph-query-tuning SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۳
پایگاه داده
✦ Pro

CuTe DSL version changes

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام م…

⚡ /cute-dsl-deprecation-migration SKILL.md
Claude / Claude CodeOpenAI Codex
۹۶/۱۰۰ ★ ۴,۳۰۶
پایگاه داده
✦ Pro

DOCA Telemetry

دستورالعمل اجرایی آماده برای انجام دقیق کارهای پایگاه داده بدون تکرار پرامپت‌های طولانی. (شامل ۲۷ گام عملی · سازگار با …

⚡ /doca-telemetry SKILL.md
Claude / Claude CodeOpenAI Codex
۹۳/۱۰۰ ★ ۴,۳۰۶
پایگاه داده
✦ Pro

Durable Objects

«Durable Objects» یک مهارت آماده در حوزهٔ پایگاه داده است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «طراحی و بهینه‌سازی دیتا…

⚡ /durable-objects SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۳,۴۳۱