preferences-memory

preferences-memory is a skill for Claude Code, Codex from Threat-Vector-Security/guardian-agent. It costs 0 tokens per session (348 once invoked), scanned A, original, Apache-2.0.

A memory workflow for saving stable user preferences, profile details, instructions, or recurring project facts beyond the current conversation.

In plain words
What is it for?
Remembering writing preferences, names and relationships, standing instructions, and durable project context when the user explicitly asks for it.
Why use it?
It prevents important long-term context from being lost between conversations while avoiding storage of temporary details or silent changes to project instruction files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Remembering writing preferences, names and relationships, standing instructions, and durable project context when the user explicitly asks for it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/threat-vector-security/guardian-agent/preferences-memory
Install

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.

Any agent
npx skills add Threat-Vector-Security/guardian-agent --skill preferences-memory
Clone the repo
git clone --depth 1 https://github.com/Threat-Vector-Security/guardian-agent

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for preferences-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/preferences-memory/github.svg)](https://agentmods.dev/skills/threat-vector-security/guardian-agent/preferences-memory)
Your own site
<a href="https://agentmods.dev/skills/threat-vector-security/guardian-agent/preferences-memory"><img src="https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/preferences-memory/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.

agentmods 80×15 button for preferences-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/threat-vector-security/guardian-agent/preferences-memory"><img src="https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/preferences-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 348 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00348
Opus 5.5 $0.00000 $0.00139
Sonnet 5.5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 2mo ago against content hash 172799d87270, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preferences-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 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.

skills/preferences-memory/SKILL.md · 48 lines

What it actually says

Preferences Memory

Use memory tools only when the user explicitly wants a stable fact or preference remembered beyond the current conversation.

Workflow

  1. Confirm the thing is worth remembering.
    • stable preference
    • profile detail
    • standing instruction
    • recurring project context
  2. Check for an existing related memory first with memory_search or memory_recall.
  3. Save a concise normalized memory with memory_save.
  4. Tell the user what was remembered in plain language.

Recurring Learnings

  • If the user explicitly wants a lesson from this task retained for future conversations, normalize it into a short stable rule or project fact before saving it.
  • Prefer one durable memory over a long incident log.
  • Save only the part that will still matter later.

Do Not Turn This Into

  • ad-hoc .learnings/ files
  • automatic hook installation
  • autonomous self-improvement loops
  • silent edits to AGENTS.md, CLAUDE.md, or .github/copilot-instructions.md

Do Save

  • preferred writing style or output format
  • stable names, roles, or relationships the user wants reused
  • recurring workflow preferences
  • durable project context the user explicitly wants retained

Do Not Save

  • one-off operational notes
  • temporary status output
  • approval bookkeeping
  • transient paths, errors, or command results unless the user specifically asks to remember them

Gotchas

  • Do not save memories implicitly from ordinary conversation; the user needs to want persistence.
  • Do not store volatile logs, diagnostics, or ephemeral paths as durable memory.
  • Do not turn memory into self-modifying prompts, local hook setup, or hidden configuration drift.
Files

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.

Changes

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.

  1. 2mo ago First seen · 48 lines · 0 tokens per session scan A 172799d87270

Subscribe to this mod's changes

preferences-memory is a skill published in the GitHub repository Threat-Vector-Security/guardian-agent (13 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 348 tokens. 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.

Related

preferences-memory compared with skills from other repositories

preferences-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
preferences-memoryThreat-Vector-Security/guardian-agentSkill132mo agoApache-2.0A0Claude Code, Codex
memorysteerlabs/opensteerSkill204todayMITA32Codex
rememberlangchain-ai/deepagentsSkill31ktodayMITA71Claude Code, Codex
coding-prefslangchain-ai/deepagentsSkill31ktodayMITA36Claude Code, Codex
aatmf-t04-memory-manipulationPurpleAILAB/DecepticonSkill6.6kyesterdayApache-2.0A39Claude Code, Codex
build-with-tinybasetinyplex/tinybaseSkill5.2k17d agoMITA90Claude Code, Codex
ax-cpp-agent-memory-skillsax-llm/axSkill3.0k2d agoApache-2.0A42Claude Code, Codex