Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Magnifico4625/locus --skill locus-memorygit clone --depth 1 https://github.com/Magnifico4625/locusWrote 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/magnifico4625/locus/locus-memory)<a href="https://agentmods.dev/skills/magnifico4625/locus/locus-memory"><img src="https://agentmods.dev/badge/skills/magnifico4625/locus/locus-memory.svg" alt="Measured on agentmods" 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.00064 | $0.00950 |
| Opus 5 | $0.00032 | $0.00475 |
| Sonnet 5 | $0.00013 | $0.00190 |
| Haiku 4.5 | $0.00006 | $0.00095 |
Grade A, and why
locus-memory 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 8d 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Locus -- Persistent Project Memory
You have access to Locus memory tools via MCP. Use them to maintain project context across sessions.
Core Tools
- memory_recall -- Summary-first recall for past-work questions
- memory_calendar -- Discover day/week/month activity buckets by project and time range
- memory_project_state -- Verify current project identity, package/git state, freshness, and active next steps
- memory_search -- FTS5 search across all memory layers
- memory_remember -- Save architecture decisions with auto-redaction
- memory_explore -- Navigate the project file tree
- memory_timeline -- View recent conversation history
- memory_status -- Memory health and storage info
- memory_scan -- Re-index project structure after file changes
- memory_review -- Inspect durable memories, states, confidence, and evidence
Key Behaviors
- Always check Locus before saying you do not remember prior work or prior decisions
- Use
memory_recallfirst for questions about past work, prior decisions, or recent progress such as:- "what did we do yesterday?"
- "what did we decide about auth?"
- "what did we just fix?"
- Use
memory_calendarfor broad period discovery such as "what did we work on this month?" or "show May work" before drilling into specific days, weeks, or topics - For user period questions, pass
this_month,last_month, or an explicit range instead of relying on the defaultlast_30d - For date-scoped recall, report the searched date buckets from
memory_recallso the user can see which days/weeks/months were checked - Use
memory_project_statebefore relying on old memories when project identity, package version, git state, latest conversation timestamp, or active next steps matter - current-project recall must not mix other project memories unless the user explicitly asks for global recall
- In Codex, recent dialogue is auto-imported before
memory_recall,memory_search, andmemory_calendar - If
memory_recallreturnsneeds_clarification, inspectcandidateGroupsand ask a focused follow-up question after the lookup instead of guessing or asking before checking Locus - If
memory_recallreturnsno_memory, then fall back tomemory_search,memory_calendar, ormemory_timelineonly when raw search, broad period discovery, or chronology is still useful - If recent Codex history does not appear, inspect
memory_statusbefore trying manual recovery steps - Use
memory_import_codexonly for manual catch-up, older sessions, or filtered imports - Use
memory_reviewwhen the user asks what Locus stored, why a memory exists, what can be cleaned up, or which durable facts are active/stale/superseded - Save important decisions when the user makes architecture choices
- Use
memory_rememberfor architectural choices, trade-offs, and why a path was chosen, not only for end-of-task summaries - Use
memory_scanafter significant file structure changes - Prefer
memory_searchover re-reading files when looking for past context aftermemory_recallhas already been tried - After completing a major task, call
memory_rememberwith a concise summary when the outcome should persist across sessions - Treat capture modes precisely:
metadatameans ingestion and diagnostics first, with limited conversational recallredactedis the recommended practical rich-recall mode for Codex because it stores high-value snippets with privacy filteringfullis maximum local capture and must be described with an explicit privacy warning, never as risk-free
- If the task clearly involves secrets, tokens, passwords, or highly sensitive material, remind the user that
LOCUS_CODEX_CAPTURE=full/LOCUS_CAPTURE_LEVEL=fullmay store sensitive local memory content - Codex Desktop MCP path is validated when
LOCUS_CODEX_SURFACE=desktopand Track D marker acceptance passes; otherwise do not claim desktop or extension parity without testing the target surface
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.
- 8d ago First seen · 58 lines · 64 tokens per session scan A 0a662ef5eb4d
locus-memory is a skill published in the GitHub repository Magnifico4625/locus (14 stars, last pushed 2mo ago), licensed MIT. It adds 64 tokens to every session and 950 once invoked, about $0.0003 per session on Opus 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-30.
Other skills, from other repositories
memory-audit
An entry point for reviewing and maintaining an AI agent's stored memories. It describes how to remove repetition, preserve useful reasoning, and update memories when old conclusions no longer fit.
memory-audit-belief-duel
A guided review process for conflicting beliefs or memories. It examines cases where two conclusions cannot both be true, including conflicts between a general rule and a more specific memory.
memory-audit-discoverability
A review guide for checking whether stored memories can be found at the right time. It focuses on where memories are attached, when they are triggered, whether aliases are missing, and whether a parent has too many children.
memory-audit-pattern-extraction
A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.
init-workspace-documentation
Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.
handover
Use when wrapping up or capturing the current state of a coding session — writes a short, dated entry to the repo's RepoHandover.md so a future agent or you can resume without grepping archived sessions. Triggers on "handover", "hand off", "write handover", "capture state", "checkpoint this session".