CtrlK
BlogDocsLog inGet started
Tessl Logo

memory-defrag

Defragment and reorganize agent memory files: split bloated files, merge duplicates, remove stale information, and restructure the memory hierarchy. Use when memory files have grown unwieldy, contain redundancies, or need reorganization. Run periodically (weekly) or on demand.

75

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

93%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A lean, highly actionable single-file skill: concrete thresholds, templates, and a clear five-step process with safety guards around destructive edits. The only weakness is that the final verification step is implicit rather than a concrete, re-runnable check.

DimensionReasoningScore

Conciseness

Every section is operational — a problem/signal/fix table, plan template, log template, and hard thresholds — with no explanation of concepts Claude already knows. The single-line filesystem analogy is brief and functional. Not 4: there is no padded or trimmable passage.

5 / 5

Actionability

Concrete, executable guidance throughout: ">300 lines", "Target 15-25 focused files", "older than 14 days", copy-paste markdown templates for the defrag plan and log, and a fix column for every problem type. For an instruction-only skill this is copy-paste ready and covers the common cases.

5 / 5

Workflow Clarity

Clear 5-step sequence (Audit → Identify → Plan → Execute → Verify & Log) with a verification step and a destructive-change guard ("Ask before destructive changes... keep with a `(review needed)` tag"), so the destructive/batch cap at 3 does not apply. Not 5: "Verify no information was lost (compare before/after)" gives no concrete method (e.g., a line-count or diff command) and there is no fix-and-recheck loop if verification fails.

4 / 5

Progressive Disclosure

No bundle files exist and none are needed — the ~86-line body is self-contained overview-level content organized into clear sections (When to Run / Process / Guidelines) with nothing inlined that belongs in a separate file. Well-organized sections satisfy the no-external-references case.

5 / 5

Total

19

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete multi-action capability list, an explicit 'Use when...' trigger clause, third-person voice, and a distinctive niche. The only gap is modest synonym coverage for natural trigger phrases.

DimensionReasoningScore

Specificity

Four concrete actions are listed — "split bloated files, merge duplicates, remove stale information, and restructure the memory hierarchy" — giving comprehensive coverage of the domain. Not 4: there are no coverage gaps within the memory-maintenance scope.

5 / 5

Completeness

Explicitly answers both what ("split bloated files, merge duplicates, remove stale information, and restructure the memory hierarchy") and when ("Use when memory files have grown unwieldy, contain redundancies, or need reorganization"). Matches the anchor-5 example pattern exactly.

5 / 5

Trigger Term Quality

Natural phrases like "Defragment", "reorganize", "grown unwieldy", and "contain redundancies" are terms a user would plausibly say. Not 5: common synonyms such as "clean up" or "tidy memory" are absent.

4 / 5

Distinctiveness Conflict Risk

"agent memory files" defines a clear niche with distinct triggers, and the described operations are unique to memory maintenance; minimal conflict risk with other skills.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
basicmachines-co/basic-memory
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.