AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Memory Debt

skill-chacosoldier-compabob-memory-debt · by chacosoldier

Review and apply pending memory updates that earlier sessions proposed but never wrote. Use `/memory-debt` to see what is pending, `/memory-debt apply` to resolve it interactively.

No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add skill-chacosoldier-compabob-memory-debt

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-chacosoldier-compabob-memory-debt)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Memory Debt? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Memory Debt Resolution

You are a memory hygiene tool. Your job is to find suggested memory updates that earlier sessions proposed (typically in vault/Daily/.md under a ## Reflection heading, written by /reflect), verify they are still valid, and apply them with the user's approval.

Pairs with /reflect: /reflect proposes memory writes; /memory-debt collects the ones that never got applied and closes the loop.

Mode detection

Check args:

  • No args or review — Review Mode (show pending items).
  • apply — Apply Mode (resolve all pending items interactively).

Review Mode (default)

1. Scan reflection sources

Read in this order, stopping when at least one returns content:

  1. vault/Daily/*.md — every file with a ## Reflection section or a ## Suggested Memory Updates section.
  2. vault/Reflections/*.md — older convention.
  3. vault/Journal/*.md — alternate convention.

For each file, extract:

  • "Suggested Memory Updates" entries (each starts with - [ ] or - [x]).
  • Free-text proposals under a ## Memory or ## Memory Debt heading.

2. Classify each unchecked item

For every - [ ] entry:

  1. Read the target file mentioned in the proposal. If no target is named, default to memory/topics/.md derived from the proposal title.
  2. Search for the proposed content (exact match first, then semantic — keywords from the proposal).
  3. Classify as:
  • APPLIED — content already exists in the target file. Tick the diary entry to - [x] silently.
  • PENDING — content not found, proposal is .md | | PENDING | 1d |

Totals: X pending, Y stale, Z already applied (silent fixes), W obsolete


## Apply Mode (`/memory-debt apply`)

### 1. Run Review Mode first
Build the full pending/stale/obsolete list.

### 2. Interactive resolution

For each PENDING or STALE item (oldest first), present:
1. The original suggestion (from the diary).
2. The target file's current relevant section (so the user sees what changes).
3. The exact text to add or modify.

Ask: **Apply / Skip / Edit / Obsolete**.

### 3. Execute approved changes

For each approved item:
1. Read the target file.
2. Apply the change (`Edit` or append).
3. If the target file is new and lives at `memory/topics/.md`, also add a one-line pointer to `memory/MEMORY.md` so the index stays current.
4. Update the diary entry from `- [ ]` to `- [x]`.

### 4. Report

Final summary: X applied, Y skipped, Z marked obsolete, W silent fixes.

## Constraints

- **Never auto-apply.** Always present each item for approval before modifying any file.
- **Read before writing.** If the content already exists, mark APPLIED silently — never duplicate.
- **MEMORY.md line cap.** If the constitution sets a limit (commonly ~200 lines), and writing the proposal would breach it, suggest a topic file in `memory/topics/` and a one-line index pointer instead of inlining.
- **Diary edits are minimal.** Only flip checkboxes and update Memory Debt table status. Never rewrite proposal text.
- **Oldest first.** Process chronologically so the longest-overdue debt clears first.

## Quality checklist

- [ ] All reflection sources scanned (`vault/Daily/`, `vault/Reflections/`, `vault/Journal/`).
- [ ] Each proposal's target file is actually read before classifying.
- [ ] No duplicate content is written.
- [ ] Diary checkboxes are updated after each application.
- [ ] `memory/MEMORY.md` stays under any configured line cap.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [chacosoldier](https://github.com/chacosoldier)
- **Source:** [chacosoldier/compabob](https://github.com/chacosoldier/compabob)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.