Agent skill
memory-system
Complete guide to the AgenticFleet memory system. Read this first.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/design/memory-system-qredence-agentic-fleet
SKILL.md
AgenticFleet Memory System
A two-tier memory architecture enabling agents to learn, remember, and improve over time.
Quick Start
-
Initialize (first time only):
bashuv run python .fleet/context/scripts/memory_manager.py init -
Setup Chroma Cloud (after editing config with your API key):
bashuv run python .fleet/context/scripts/memory_manager.py setup-chroma -
Verify Status:
bashuv run python .fleet/context/scripts/memory_manager.py status -
Read Core Context (always do this first):
.fleet/context/core/project.md- Project architecture.fleet/context/core/human.md- User preferences.fleet/context/core/persona.md- Agent guidelines
-
Search Memory when you need information:
bashuv run python .fleet/context/scripts/memory_manager.py recall "your query" -
Create Skills after solving problems:
bashuv run python .fleet/context/scripts/memory_manager.py learn --file .fleet/context/skills/new-skill.md
Memory Hierarchy
Core Memory (Always In-Context)
Location: .fleet/context/core/
| Block | Purpose |
|---|---|
project.md |
Architecture, tech stack, conventions |
human.md |
User preferences, communication style |
persona.md |
Agent role, tone, guidelines |
Topic Blocks (Reference On-Demand)
Location: .fleet/context/blocks/
| Category | Blocks |
|---|---|
project/ |
commands, architecture, conventions, gotchas |
workflows/ |
git, review |
decisions/ |
ADR-style decision records |
Skills (Procedural Memory)
Location: .fleet/context/skills/
Learned patterns and solutions. Indexed to Chroma for semantic search.
Chroma Cloud (Semantic Search)
Collections: semantic, procedural, episodic
Enables fuzzy search across all indexed content.
Commands
Claude Code Commands
/init # Initialize memory system
/learn # Learn a new skill
/recall # Search memory semantically
/reflect # Reflect on session, consolidate learnings
CLI Commands
# Initialize system (creates local files)
uv run python .fleet/context/scripts/memory_manager.py init
# Setup Chroma Cloud collections
uv run python .fleet/context/scripts/memory_manager.py setup-chroma
# Check connection and collection status
uv run python .fleet/context/scripts/memory_manager.py status
# Semantic search across all collections
uv run python .fleet/context/scripts/memory_manager.py recall "query"
# Index skill to Chroma procedural collection
uv run python .fleet/context/scripts/memory_manager.py learn --file <path>
# Archive session to episodic collection
uv run python .fleet/context/scripts/memory_manager.py reflect
Block Format
All memory blocks use Letta-style frontmatter:
---
label: block-name
description: What this block contains and when to use it.
limit: 5000 # Character limit
scope: core|project|workflows|decisions
updated: 2024-12-29
---
# Content here...
Workflow
Starting a Session
- Read core blocks (project, human, persona)
- Check relevant topic blocks if needed
- Use
/recallto search for relevant skills
During Work
- Reference blocks as needed
- Update
human.mdif you learn user preferences - Note patterns worth remembering
Ending a Session
- Use
/reflectto consolidate learnings - Create skills for reusable solutions
- Index new skills with
/learn
File Structure
.fleet/context/
├── SKILL.md # This file (entry point)
├── MEMORY.md # Detailed documentation
├── core/ # Core memory blocks
├── blocks/ # Topic-scoped blocks
│ ├── project/
│ ├── workflows/
│ └── decisions/
├── skills/ # Learned skills
├── system/ # Agent skill definitions
├── scripts/ # Python memory engine
└── .chroma/ # Chroma Cloud config
Related Documentation
MEMORY.md- Detailed setup and architectureskills/README.md- How to create skillsskills/SKILL_TEMPLATE.md- Skill templateblocks/decisions/001-memory-system.md- Architecture decision record
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?