Back to skills
SKILL.md
Memory Auto Capture
ASecurityAutonomous local-first memory management skill using cognitive-memory v2.1 MCP (SQLite FTS5 porter BM25 + optional Hybrid RRF, temporal supersession, zero-copy ref drift checks, Markdown-first canonical storage). Works completely offline without Ollama.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 25, 2026
Works with
Security analysis
100/100npx -y skills add n1ghter/cognitive-memory --skill memory-auto-capture --agent claude-codeAre you the author of Memory Auto Capture?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/n1ghter-memory-auto-capture)---
name: memory-auto-capture
description: "Autonomous local-first memory management skill using cognitive-memory v2.1 MCP (SQLite FTS5 porter BM25 + optional Hybrid RRF, temporal supersession, zero-copy ref drift checks, Markdown-first canonical storage). Works completely offline without Ollama."
---
# Memory Auto-Capture Skill (`cognitive-memory` v2.1)
Manage durable project and user knowledge via the `cognitive-memory` MCP server without bloating static instructions.
## 1. On-Demand Retrieval
Query memory when past decisions, preferences, or resolved errors matter:
```json
{
"query": "<concise_query>",
"mode": "hybrid",
"scope": "all",
"limit": 5
}
```
Use `includeGraph: true` (`graphDepth: 1`) when you also need linked context or `grounded_in` raw-source pointers.
## 2. Capture Durable Decisions & Fixes
Store atomic, high-signal facts immediately when architecture decisions, conventions, or non-obvious bug fixes are confirmed:
```json
{
"text": "<atomic fact and rationale>",
"scope": "local",
"profile": "agent_core",
"importance": 0.8
}
```
Use `scope: "global"` with `profile: "user"` for cross-project user preferences.
## 3. Temporal Supersession (Never Leave Stale Contradictions)
When a decision changes (e.g., migrating databases, changing ports or tooling), supersede the old memory atomically instead of creating a conflicting duplicate:
```json
{
"text": "<new authoritative fact>",
"supersedes": "<old_memory_uuid>",
"importance": 0.9
}
```
## 4. Maintenance
- Run `memory_consolidate` periodically (works deterministically offline via zero-LLM Auto Dream).
- Run `memory_check_refs` to audit SHA-256 drift on zero-copy `metadata.ref` pointers.
- Run `memory_export` / `memory_sync` / `memory_reindex` to keep Markdown notes and SQLite in sync.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.