🗄️
AI EngineeringPython

Compartment

by MaxFreedomPollard

Compartment is an AI Engineering skill for Claude Code, published by MaxFreedomPollard in Compartment.

589 stars3 forkson MaxFreedomPollard/CompartmentAdded 2026/08/25Repository updated 2026/08/21
agent-memoryai-agentsai-memoryclaudeclaude-codeclaude-desktopencryptionhermeshermes-agentlocal-firstlong-term-memorymcpmcp-servermodel-context-protocolofflineopenclawprivacyragsemantic-searchvector-database
Install in seconds
Install Compartment
Copy Compartment into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/MaxFreedomPollard/Compartment/tree/main/skills/compartmentalize ~/.claude/skills/compartmentalize

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/MaxFreedomPollard/Compartment.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/compartmentalize/SKILL.md in MaxFreedomPollard/Compartment
Installs to
~/.claude/skills/compartmentalize
Collection
The only skill cataloged from this repository
Category
AI Engineering2451 skills

What Compartment does

Compartment sweeps a conversation and stores durable details in an encrypted memory vault before compaction. Use it to preserve names, credentials, decisions, and session context that would be hard to reconstruct later.

Compartment is cataloged under AI Engineering on DirSkills. Compartment comes from a repository tagged agent-memory, ai-agents, ai-memory, claude and claude-code.

Documentation

README

Save to Compartment before compacting.

Sweep the entire conversation, including any part already summarized, and store to Compartment everything potentially worth knowing again later that is not common public knowledge. This is encrypted storage, so when in doubt, store it.

For each item, memory_search first, then memory_store: update the existing memory when one already covers it, create a new one when none does.

Always store, when present: people, contacts and addresses. Passwords, API keys, tokens, account IDs, and where each one lives. URLs, hostnames, repo and release locations.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Compartment

  • How does Compartment compare to other AI Engineering skills?

    Compartment ranks #1969 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Compartment against them. Open each page to compare what they document and how they install.