baladithyab/engram/memory-admin

Claude Code and agent skill by baladithyab/engram

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks to "manage memory", "consolidate memories", "promote memories", "archive old memories", "check memory health", "prune knowledge graph", "switch deployment mode", "export memory", or needs guidance on memory lifecycle management. Covers: consolidation pipeline, promotion criteria, archival, knowledge graph maintenance, deployment mode switching, memory diagnostics, and troubleshooting.

Install

npx vskill@latest install baladithyab/engram/memory-admin

SKILL.md

The same SKILL.md was published earlier as baladithyab/engram/memory-admin.

Memory Administration

Status and Diagnostics

Use get_memory_status to check connection health. For deeper diagnostics, query directly:

-- Count by scope
SELECT scope, count() FROM memory WHERE status = 'active' GROUP BY scope;
-- Count by type
SELECT memory_type, count() FROM memory WHERE status = 'active' GROUP BY memory_type;
-- Oldest and newest memories
SELECT id, content, created_at FROM memory ORDER BY created_at ASC LIMIT 3;
SELECT id, content, created_at FROM memory ORDER BY created_at DESC LIMIT 3;
-- Most accessed memories
SELECT id, content, access_count, importance FROM memory
WHERE status = 'active' ORDER BY access_count DESC LIMIT 10;
-- Knowledge graph stats
SELECT entity_type, count() FROM entity GROUP BY entity_type;
SELECT count() FROM relates_to;
-- Consolidation queue status
SELECT status, count() FROM consolidation_queue GROUP BY status;

Bulk Operations

Archive stale memories
UPDATE memory SET status = 'archived', updated_at = time::now()
WHERE status = 'active'
AND importance < 0.2
AND access_count = 0
AND created_at < time::now() - 30d;
Promote all high-value session memories
UPDATE memory SET scope = 'project', updated_at = time::now()
WHERE status = 'active'
AND scope = 'session'
AND (importance >= 0.7 OR access_count >= 3);
Purge forgotten memories permanently
DELETE FROM memory WHERE status = 'forgotten' AND updated_at < time::now() - 90d;

Deployment Mode Management

Current mode is set via SURREAL_MODE env var or .claude/engram.local.md.

ModeEndpointPersistence
embeddedsurrealkv://{data_path}Persistent file-based
memorymem://Ephemeral (snapshot on close)
localws://localhost:8000Depends on server config
remotewss://...Cloud-managed

To switch modes, use the /memory-setup command or edit .claude/engram.local.md.

Troubleshooting

SymptomLikely CauseFix
"SurrealDB not connected"Server not running or bad endpointCheck mode and URL config
Empty recall resultsNo memories stored yet, or wrong scope filterTry broader search, check scope
Slow queriesLarge dataset without proper indexesSchema auto-creates indexes; check with INFO FOR TABLE memory
"record not found" on updateWrong memory ID formatIDs look like memory:abc123 — include the table prefix
Snapshot export failsData path not writableCheck permissions on ~/.claude/engram/data

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/baladithyab/engram/memory-admin/badge)](https://verified-skill.com/skills/baladithyab/engram/memory-admin)

Something wrong with this skill or its page? Tell us.