skill-system-memory

Store and retrieve working, episodic, semantic, and procedural memories in PostgreSQL.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/arthur0824hao/skills --skill skill-system-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-system-memory
Source: https://github.com/arthur0824hao/skills/tree/main/skills/skill-system-memory
Command: npx skills add https://github.com/arthur0824hao/skills --skill skill-system-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust, persistent memory system for AI agents, ensuring that crucial information and past experiences are reliably stored and retrieved, preventing intelligence failures due to memory loss.

Core Features & Use Cases

  • Multi-type Memory Storage: Supports working, episodic, semantic, and procedural memory types with distinct lifespans and uses.
  • Advanced Search: Hybrid search combining full-text, trigram similarity, and tag filtering for precise retrieval.
  • Task Management: Includes a minimal task layer for tracking and prioritizing work, linked to memories.
  • Use Case: An AI agent can store solutions to complex debugging problems as semantic memories, recall them for future issues, and track ongoing tasks related to those solutions.

Quick Start

Use the skill-system-memory skill to store a new semantic memory about a successful deployment.

Frequently Asked Questions about skill-system-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add persistent memory to an AI agent using PostgreSQL?

Persistent memory for AI agents is added by connecting to a PostgreSQL database to store and retrieve past experiences. This Skill provides a multi-type memory system that handles working, episodic, semantic, and procedural data to prevent intelligence loss.

What types of agent memory can I manage with a PostgreSQL backend?

You can manage four distinct memory types: working, episodic, semantic, and procedural memory. Each type has distinct lifespans and uses, supported by decay and pruning mechanisms to manage data retention over time.

How does an AI agent search for stored memories in PostgreSQL?

Agent memory search in PostgreSQL uses a hybrid approach combining full-text search, trigram similarity, and tag filtering. It also optionally supports pgvector for semantic search to ensure precise retrieval of stored experiences.

Can I track ongoing tasks alongside agent memories?

Yes, you can track ongoing tasks using the integrated task management layer. This feature allows you to track and prioritize work directly linked to the stored memories, managing related workflows within the same system.

Do I need pgvector to use this persistent agent memory system?

No, you do not need pgvector to use the persistent agent memory system. pgvector is an optional dependency used specifically for enabling semantic search, while standard full-text and trigram search work independently.

How do I prevent memory overload in a persistent AI agent system?

Memory overload in a persistent AI agent system is prevented using built-in decay and pruning mechanisms. These features automatically manage the lifespan of working, episodic, semantic, and procedural memories to optimize storage.