Skip to content
Back to skills

Integrity Scan

ASecurity

Run the intelligence scanner to detect contradictions, drift, dead decisions, and missing cross-references across the entire memory workspace.

  • 23 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentspythongobash

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add star-ga/mind-mem --skill integrity-scan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Integrity Scan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Integrity Scan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/star-ga-integrity-scan/badge)](https://www.skillsdirectory.com/skills/star-ga-integrity-scan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# /scan — Memory Integrity Scan

Run the intelligence scanner to detect contradictions, drift, dead decisions, and missing cross-references across the entire memory workspace.

## When to Use
- After a session with significant decisions or changes
- During weekly maintenance
- When something "feels wrong" about the memory state
- Before making architectural decisions (verify no contradictions)

## How to Run

```bash
python3 maintenance/intel_scan.py "${MIND_MEM_WORKSPACE:-.}"
```

## What It Checks
1. **Contradictions** — Decisions that conflict with each other (via ConstraintSignatures)
2. **Drift** — Decisions referenced in daily logs but never formalized
3. **Dead decisions** — Active decisions with no recent references
4. **Orphan tasks** — Tasks referencing non-existent decisions
5. **Impact graph** — Downstream effects of each decision
6. **Coverage** — How many files are monitored vs total

## Output
- Updates `intelligence/CONTRADICTIONS.md`, `intelligence/DRIFT.md`, `intelligence/IMPACT.md`
- Updates `memory/intel-state.json` with latest metrics and counters
- Saves state snapshot in `intelligence/state/snapshots/`
- Generates `intelligence/BRIEFINGS.md` weekly briefing

## Modes
- `detect_only` — Report issues, never propose changes (default)
- `propose` — Report issues AND generate fix proposals in `intelligence/proposed/`

Check current mode: `cat memory/intel-state.json | python3 -c "import json,sys;print(json.load(sys.stdin)['governance_mode'])"`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.