Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Compact

ASecurity

Compact and improve a charter workspace's or persona's memory — find duplicates and stale entries with charter's optimize and dedupe reports, prune only with the operator's yes, and fold durable lessons into workspace.md or persona.md. Use when asked to compact, tidy, prune, dedupe or improve a workspace's or persona's memory.

6 stars
0 votes
0 copies
1 views
Added 10/2/2026
researchgobash

Works with

cli

Security Analysis

A100/100

Scanned 10/2/2026

$npx -y skills add diazoxide/charter --skill compact --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compact?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Compact
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diazoxide-compact/badge)](https://www.skillsdirectory.com/skills/diazoxide-compact)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: compact
description: Compact and improve a charter workspace's or persona's memory — find duplicates and stale entries with charter's optimize and dedupe reports, prune only with the operator's yes, and fold durable lessons into workspace.md or persona.md. Use when asked to compact, tidy, prune, dedupe or improve a workspace's or persona's memory.
---

# Compact & improve

Memory grows by one file per lesson, and nothing merges it. Compacting makes it smaller and
truer; improving moves what has become a rule out of the journal and into the charter every
chat reads first (`workspace.md` for a workspace, `persona.md` for a persona).

## 1. Read the reports

A workspace:

```bash
charter workspace optimize <name>        # exact duplicates, near duplicates, stale, index drift
```

A persona:

```bash
charter persona optimize <name>
charter persona dedupe <name>            # near-duplicate pairs
```

These only read. Done when you can say, for each finding, what you propose.

## 2. Compact, with the operator's yes

- **Exact duplicates and index drift** are safe and reversible: `--apply` moves a duplicate to
  `archive/` and repairs the index. Apply once the operator agrees.
- **Near duplicates** merge by hand: edit one of them to say both, then archive the rest.
- **Stale** memories are still true or they are not. A memory that is half true is edited in
  place; one that is no longer so is archived, and only when the operator agrees.

```bash
charter workspace edit -w <name> <slug> [--title "<title>"] ["<body>" | -]
charter persona edit-memory <name> <slug> [--title "<title>"] ["<body>" | -] [--shared]
charter workspace archive -w <name> <slug>              # undo: workspace unarchive
charter persona archive-memory <name> <slug> [--shared] # undo: persona unarchive-memory
```

An edit keeps the memory's slug and date. An archive moves it to `memory/archive/`, out of every
list, and `unarchive` / `unarchive-memory` puts it back. `workspace forget` and `persona forget`
delete for good; keep them for a memory that must not survive, such as one holding a secret.

Done when every finding is applied, merged, kept on purpose, or declined by the operator.

## 3. Improve the charter

A lesson that has held across several memories, or that every chat in this workspace or persona
should act on from its first turn, belongs in the charter. Write it there in a sentence that
says what to do and why, then archive the memories it replaces.

For a persona, regenerate its sub-agent after editing `persona.md`:

```bash
charter persona sync-agents
```

Show the operator the charter's diff. Done when they have read it. Both files are committed, so
the change travels with the plane's next save.

Attribution

diazoxidediazoxide
View sourceSee grades on GitHubMore from diazoxide →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Competitor Analysis

This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.

1823 votes

Deep Research

Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 8 modes: full research, quick brief, paper review, lit-review, fact-check, three-way literature scan, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, Socratic mentoring, methodology design, systematic literature search, source verification, cross-source synthesis, risk of bias assessment, meta-analysis, APA 7.0 report co...

502942 votes

Paperclip Distill

Use when an operation issue is a Paperclip cursor-window, distill, or backfill — `operationType: "distill"` or `"backfill"` and the body references a Paperclip source bundle for a project or root issue. Turn raw Paperclip activity into a wiki-insightful project page, decisions log, and history note. This skill exists specifically to replace the stiff, datestamp-heavy templated output that the deterministic distiller produces.

953191 votes

Academic Pipeline

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory, coverage-bounded integrity checks, two-stage peer review, and auditable quality-assurance artifacts. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end p...

502941 votes

Last30days 2

Research any topic across Reddit, X/Twitter, and the web from the last 30 days. Synthesizes findings into actionable insights or copy-paste prompts.

6511 votes
View all in research →