compartmentalize SKILL.md skillA

compartmentalize from maxfreedompollard/compartment is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add maxfreedompollard/compartment/compartmentalize@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
maxfreedompollard/compartment
Path
src/compartment/data/agent-skill/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed Sep 30, 2026
First version recorded
Jul 28, 2026
Size
3,242 bytes
Repository stars
570
License
Apache-2.0

Sweep this conversation and save everything worth referencing again in future work into Compartment, the encrypted memory vault. Run it before compacting or summarizing so nothing is lost to the summary, or on its own at any point to bank the session.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

**Save to Compartment before compacting.**

Sweep the entire conversation, including any part already summarized, and store
to Compartment what it holds that is worth keeping.

STORE anything worth referencing again in future work: names, addresses,
contacts, account IDs, passwords, API keys and other credentials, lasting file
locations and configuration, preferences, and every durable fact or decision
reached. Not transient chatter, one-off trivia, things freely available on the
internet, or the working details of a task in progress, such as run results,
errors, log contents and temporary paths or settings.

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.

**Then properly associate and store** every durable observation, decision,
opinion and thought that is not publicly available: anything that would be
expensive or impossible to work out again from scratch.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add maxfreedompollard/compartment/compartmentalize@sha256:15b075dc22a59e07

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zhyb5n3d7fin6yqh.svg)](https://markdownregistry.com/a/art_zhyb5n3d7fin6yqh)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jul 28, 2026 and Sep 30, 2026, about one every 32 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-30 bb4c25a 3,242 BA view · diff
v1.0.02026-08-28 1d98c2e 2,876 BA view · diff
v1.0.02026-07-28 9b88242 2,517 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3242 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

maxfreedompollard/compartment · 570 stars · license Apache-2.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zhyb5n3d7fin6yqh
GET https://markdownregistry.com/api/v1/resolve?ref=maxfreedompollard/compartment/compartmentalize
GET https://markdownregistry.com/api/v1/blob/15b075dc22a59e07f609d478d351156e1970ad0b374174beb41763c46f9b39d9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from maxfreedompollard/compartment

AGENTS.md AGENTS.md file
maxfreedompollard/compartment · AGENTS.md
git:20261108.50af2f3 · audit A · 570 stars
compartmentalize SKILL.md skill
maxfreedompollard/compartment · skills/compartmentalize/SKILL.md · Sweep this conversation and save everything worth referencing again in future work into Compartment, the encrypted…
v1.0.0 · audit A · 570 stars

Every file in maxfreedompollard/compartment

Other files named compartmentalize

compartmentalize SKILL.md skill
maxfreedompollard/compartment · skills/compartmentalize/SKILL.md · Sweep this conversation and save everything worth referencing again in future work into Compartment, the encrypted…
v1.0.0 · audit A · 570 stars

Browse by kind, by grade A, or by owner.