Install
$ agentstack add skill-ahmadrosid-nakama-archive-profile-memory ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →About
Use this skill when the user wants to remove facts from active memory without deleting them permanently.
- Use the
update-profile-memoryskill to add facts to activeMEMORY.md. - Use profile skills for repeatable procedures — not for archiving memory.
- Archived facts live under
memory-archive/and are not loaded into chat automatically. Usesearch_filesorread_fileto retrieve them later.
MEMORY.md shape
Active memory is MEMORY.md in the profile workspace:
- A preamble (
# Memory Logand---) must stay intact. - Facts are bullets under dated sections:
## YYYY-MM-DDfollowed by- bullet text.
Copy bullet text verbatim from read_file output when editing. Do not paraphrase.
Archive file shape
Archive files live at memory-archive/YYYY-MM.md (year and month of the archive action, UTC).
New archive file template:
# Archived Memory
---
Each archive append starts with metadata comments, then the archived sections:
## 2026-06-29
- Old preference.
Preserve each bullet's original ## YYYY-MM-DD section header from MEMORY.md.
Workflow
read_fileMEMORY.mdand identify the exact- bulletlines to archive.- Confirm targets with the user when the request is ambiguous.
- Choose
memory-archive/{YYYY-MM}.mdfor the current month. - Check whether the archive file exists before calling
read_file. Withbash, runif test -f memory-archive/{YYYY-MM}.md; then printf 'exists\n'; else printf 'missing\n'; fiin the active profile workspace, replacing{YYYY-MM}with the chosen month. A missing file (or missingmemory-archive/directory) is normal for the first archive:
- If the result is
exists,read_filethe archive to preserve its contents. - If the result is
missing, skip the read and create the archive in step 5. - If
bashis unavailable, useread_file; treat only a file-not-found result as a new archive. Stop on permission or other errors rather than overwriting an unread archive.
- Append to the archive first (reduces data-loss risk):
- If the file does not exist,
write_filewith the template plus the append block. - If it exists,
edit_fileto append after the existing content (orwrite_filethe full merged content).
edit_fileMEMORY.mdto remove each archived- bulletline.- Remove any
## YYYY-MM-DDsection that has no bullets left. - Re-read
MEMORY.mdand the archive file to verify the result. - If archiving was to free space for new memories, confirm
MEMORY.mdis under 4096 bytes before retrying withupdate-profile-memory.
When edit_file reports a missing, duplicate, or overlapping match, read_file again and issue a corrected edit with exact text.
Legacy layout
If you find archives under data/memory-archive/ instead of memory-archive/, use the top-level memory-archive/ path for new writes.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ahmadrosid
- Source: ahmadrosid/nakama
- License: MIT
- Homepage: https://ahmadrosid.github.io/nakama
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.