gpttang/skill-atlas/agent-memory

Claude Code and agent skill by gpttang/skill-atlas

Trust tier 3
  • community
Source check pending

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

Persistent memory system for AI agents to remember facts, learn from experience, and track entities across sessions using a local SQLite database. Use when an agent needs to store and retrieve cross-session knowledge, record lessons from past actions, or maintain entity profiles. Triggers: "remember this", "recall", "agent memory", "persist context", "store fact", "lessons learned".

Install

npx vskill@latest install gpttang/skill-atlas/agent-memory

SKILL.md

The same SKILL.md was published earlier as gpttang/skill-atlas/agent-memory.

Agent Memory

Persistent memory system for AI agents. Remember facts, learn from experience, and track entities across sessions using a local SQLite database at ~/.agent-memory/memory.db.

Setup

bash
clawdhub install agent-memory

Or install directly from the skill's source:

python
from src.memory import AgentMemory
mem = AgentMemory() # default: ~/.agent-memory/memory.db
mem = AgentMemory(db_path="/custom/path") # custom location

Core Operations

Remember a Fact
python
mem.remember("Important information", tags=["category"])
Learn from Experience
python
mem.learn(
action="What was done",
context="situation",
outcome="positive", # or "negative"
insight="What was learned"
)
Recall
python
facts = mem.recall("search query")
lessons = mem.get_lessons(context="topic")
Track Entities
python
mem.track_entity("Alice", "person", {"role": "engineer"})

Session Protocol

Add this to your AGENTS.md or HEARTBEAT.md:

markdown
## Memory Protocol
On session start:
1.Load recent lessons: mem.get_lessons(limit=5)
2.Check entity context for current task
3.Recall relevant facts
On session end:
1.Extract durable facts from conversation
2.Record lessons learned
3.Update entity information

Example

Input: Agent finishes a deployment that failed due to missing env var.

Action:

python
mem.learn(
action="Deploy to production via Docker",
context="fresh server without .env file",
outcome="negative",
insight="Always verify .env file exists before docker-compose up"
)

Next session recall:

python
lessons = mem.get_lessons(context="deploy")
# → ["Always verify .env file exists before docker-compose up"]

When to Use

  • Starting a session: load relevant context from memory
  • After conversations: store important facts
  • After failures: record lessons learned
  • Meeting new people/projects: track as entities

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

Repository stars
4
Repository forks
1
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. 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/gpttang/skill-atlas/agent-memory/badge)](https://verified-skill.com/skills/gpttang/skill-atlas/agent-memory)

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