Skip to content
Back to skills

Memory Auto Capture

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 25, 2026
ai-agentssqldatabase

Works with

  • mcp

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add n1ghter/cognitive-memory --skill memory-auto-capture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Auto Capture?

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

Security grade badge for Memory Auto Capture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/n1ghter-memory-auto-capture/badge)](https://www.skillsdirectory.com/skills/n1ghter-memory-auto-capture)

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
---
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

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.