Skip to content
Agentmart
Submit a tool

memory-management

Two-tier memory system that makes Codex CLI a true household collaborator.

Skill by hvkshetry

IndexedMIT★ 16
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hvkshetry-memory-management

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Two-tier memory system that makes Codex CLI a true household collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Codex understands requests like a family office staff member would. AGENTS.md for working memory, memory/ directory for the full knowledge base.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/memory-management

What's inside

Skill name
memory-management
Description
Two-tier memory system that makes Codex CLI a true household collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Codex understands requests like a family office staff member would. AGENTS.md for working memory, memory/ directory for the full knowledge base.
License
MIT
Instructions
184 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • templates.md · references/

SKILL.md (first lines)

# Memory Management

Memory makes Codex your household collaborator - someone who speaks your family's internal language.

## The Goal

Transform shorthand into understanding:

```
User: "check on the reno permits for maple"
              ↓ Codex decodes
"Check on building permits for the Maple Street property renovation
 (123 Maple St, contractor: Davis & Sons, target completion Q3)"
```

Without memory, that request is meaningless. With memory, Codex knows:
- **reno** → the renovation project
- **maple** → 123 Maple Street property
- **permits** → building permits submitted in January

## Architecture

```
AGENTS.md          ← Hot cache (~30 people/entities, common terms)
memory/
  glossary.md      ← Full decoder ring (everything)
  people/          ← Complete profiles
  projects/        ← Project details
  context/         ← Household, services, tools
```

**AGENTS.md (Hot Cache):**
- Top ~30 people you interact with most (family, advisors, vendors, service providers)
- ~30 most common acronyms/terms
- Active projects (5-15)
- Your preferences
- **Goal: Cover 90% of daily decoding needs**

**memory/glossary.md (Full Glossary):**
- Complete decoder ring - everyone, every term
- Searched when something isn't in AGENTS.md
- Can grow indefinitely

**memory/people/, projects/, context/:**
- Rich detail when needed for execution
- Full profiles, history, context

## Lookup Flow

```
User: "ask nita about the enrollment for greenwood"

1. Check AGENTS.md (hot cache)
   → Nita? ✓ Nita Patel, education consultant
   → enrollment? ✓ School enrollment process
   → Greenwood? ✓ Greenwood Academy application

2. If not found → search memory/glossary.md
   → Full glossary has everyone/everything

3. If still not found → ask user
   → "What does X mean? I'll remember it."
```

This tiered approach keeps AGENTS.md lean (~100 lines) while supporting unlimited scale in memory/.

## File Locations

- **Working memory:** `AGENTS.md` in current working directory
- **Deep memory:** `memory/` subdirectory

## Memory Format Templates

Use tables for compactness in AGENTS.md. Target ~50-80 lines for the hot cache.

For full templates with examples for each file type (AGENTS.md, glossary.md, people profiles, project profiles, household context), see [references/templates.md](references/templates.md).

Key file structure:
- **AGENTS.md**: Sections for Me, People (table), Terms (table), Projects (table), Preferences (bullets)
- **memory/glossary.md**: Acronyms, internal terms, nicknames, project codenames — all as tables
- **memory/people/{name}.md**: Also-known-as, role, communication prefs, context, notes
- **memory/projects/{name}.md**: Codename, status, description, key people, context
- **memory/context/household.md**: Tools/systems, service providers, recurring processes

## How to Interact

### Decoding User Input (Tiered Lookup)

**Always** decode shorthand before acting on requests:

```
1. AGENTS.md (hot cache)     → Check first, covers 90% of cases
2. memory/glossary.md        → Full glossary if not in hot cache
3. memory/people/, projects/ → Rich detail when needed
4. Ask user                  → Unknown term? Learn it.
```

Example:
```
User: "ask jim about the trust amendment for maple"

AGENTS.md lookup:
  "jim" → Jim Davis, estate attorney ✓
  "trust amendment" → (not in hot cache)
  "maple" → Maple Street property ✓

memory/glossary.md lookup:
  "trust amendment" → property trust restructuring doc ✓

Now Codex can act with full context.
```

### Adding Memory

When user says "remember this" or "X means Y":

1. **Glossary items** (acronyms, terms, shorthand):
   - Add to memory/glossary.md
   - If frequently used, add to AGENTS.md Quick Glossary

From hvkshetry/StewardOS, MIT.

More from hvkshetry/StewardOS

Signals

Stars
16
Forks
7
Open issues
2
Last commit (this folder)
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hvkshetry

Cite this page

memory-management skill. Agent Mart. https://agentmart.dev/skills/hvkshetry-memory-management (last updated 2026-10-24)