pg-memory

Community

Persist AI memories in PostgreSQL for reuse.

Authorpascalandy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The pg-memory skill provides a robust, PostgreSQL-backed store for AI agent memories, enabling durable capture of decisions, observations, and learnings to improve consistency and auditing across sessions.

Core Features & Use Cases

  • Memory lifecycle: store, query, and search memories (including content, tags, and metadata) with fast index-backed lookups.
  • Context reuse: retrieve past decisions and observations to inform current reasoning and planning.
  • Use Case: as you iterate on an AI assistant, accumulate a searchable history of prompts, results, and rationale to drive better responses over time.

Quick Start

Install PostgreSQL 18+, create a database, apply the pg-memory schema, and verify with the included verification script. Then insert a memory and run a search to confirm the system is working.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pg-memory
Download link: https://github.com/pascalandy/dotfiles/archive/main.zip#pg-memory

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.