Borrowing it
Nothing to install: this file belongs to atebites-hub/PJTemplate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/atebites-hub/PJTemplate/main/.agents/skills/memory-system/SKILL.mdgit clone --depth 1 https://github.com/atebites-hub/PJTemplateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/atebites-hub/pjtemplate/memory-system)<a href="https://agentmods.dev/skills/atebites-hub/pjtemplate/memory-system"><img src="https://agentmods.dev/badge/skills/atebites-hub/pjtemplate/memory-system/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/atebites-hub/pjtemplate/memory-system"><img src="https://agentmods.dev/badge/skills/atebites-hub/pjtemplate/memory-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00556 |
| Opus 5.5 | $0.00013 | $0.00222 |
| Sonnet 5.5 | $0.00006 | $0.00111 |
| Haiku 4.5 | $0.00003 | $0.00056 |
Grade A, and why
memory-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory System
Project task memories live in docs/memories/ as Markdown files. This is separate from any host-level memory you may use; follow this skill when this repo requires task memory.
When to use
- Before a task: Create or open the task’s memory file; fill it from the template; set status to
in_progress. - During work: After searches or user input, update the same file (analysis, feedback, lessons as appropriate).
- After a task: Update that file—status, timestamps, lessons—then align
docs/agents/implementation_plan.mdper project rules.
Recall (scan then read)
Survey all memories cheaply (everything through Related Memories, before Task (TCREI) or Status):
for f in docs/memories/*.md; do
echo "=== $f ==="
awk '/^## Task \(TCREI\)|^## Status/{exit} {print}' "$f"
echo
done
Pick the most relevant paths from context (current sprint task, links in Related Memories, descriptions). Read the full file only for those.
Write
- Naming:
YYYY-MM-DD-<short-task-slug>.md(kebab-case slug). - Template: Copy assets/memory_template.md. Task structure and fields are defined there—do not duplicate that spec in other repo docs.
- Before starting: New file from template; complete Description, Related Memories, Task (TCREI) (including Scope:
inlineoropen-dynamic-workflows), Status (in_progress, timestamps). - After finishing: Same file; set Status (
completed/cancelled), Lessons / Learnings, final timestamps.
Requirements
- Prefer links to code/docs over long pasted content.
Whether a memory accompanies source changes, and whether its reasoning fields
(Context, Evaluation, Key Challenges & Analysis) are filled, is enforced
by the checker, not by prose: scripts/check-task-compliance.sh (checks C1 and C3)
runs in the git pre-commit hook and in CI. This skill defines how to write a good
memory; the check verifies the artifact. See docs/agents/enforcement_matrix.md.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 46 lines · 32 tokens per session scan A 556ccbfac214
memory-system is a skill published in the GitHub repository atebites-hub/PJTemplate (2 stars, last pushed 16d ago), licensed MIT. It adds 32 tokens to every session and 556 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
memory-system compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-systematebites-hub/PJTemplate | Skill | 2 | 16d ago | MIT | A | 32 | Claude Code, Codex |
| knowledge-ingestopenclaw/openclaw | Skill | 394k | yesterday | MIT | A | 80 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 74 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | yesterday | MIT | A | 184 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 115 | Claude Code, Codex |