remember

remember is a skill for Claude Code, Codex from plmbr/nui. It costs 20 tokens per session (503 once invoked), scanned A, original, MIT.

A memory-saving guide for nui that stores facts in persistent files when the user explicitly asks the agent to remember them. It separates facts for one agent from preferences shared across agents.

In plain words
What is it for?
Use it with requests such as “remember this” to save user preferences, project decisions, or agent-specific working notes.
Why use it?
It prevents accidental saving of personal or task information without permission. The scope rules help keep memories in the right place.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with requests such as “remember this” to save user preferences, project decisions, or agent-specific working notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plmbr/nui/remember
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 plmbr/nui --skill remember
Clone the repo
git clone --depth 1 https://github.com/plmbr/nui

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 remember

README.md
[![agentmods](https://agentmods.dev/badge/skills/plmbr/nui/remember/github.svg)](https://agentmods.dev/skills/plmbr/nui/remember)
Your own site
<a href="https://agentmods.dev/skills/plmbr/nui/remember"><img src="https://agentmods.dev/badge/skills/plmbr/nui/remember/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 remember

Your own site · 80×15
<a href="https://agentmods.dev/skills/plmbr/nui/remember"><img src="https://agentmods.dev/badge/skills/plmbr/nui/remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 503 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.00020 $0.00503
Opus 5.5 $0.00008 $0.00201
Sonnet 5.5 $0.00004 $0.00101
Haiku 4.5 $0.00002 $0.00050

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

Security

Grade A, and why

remember 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 1mo 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.

internal/skills/builtins/remember/SKILL.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Remember

Use this skill when the user invokes /remember or explicitly asks you to remember something (e.g. "remember this", "save to memory").

Do not save to memory proactively in manual mode — wait for an explicit user request.

Memory locations

  • User memory (~/.nui/memory/user.md) — preferences and facts that apply across all agents (timezone, coding style, default branch, communication preferences).
  • Agent memory (~/.nui/memory/agents/<agent-id>.md) — facts specific to this agent's role (review checklist, project conventions, choices made in this workflow).

Scope rules

Default to agent scope. When the user asks to remember something — including a choice, decision, or preference for the current task — save to agent memory unless they clearly mean all agents.

Use user scope only when the user explicitly asks for cross-agent or personal memory, e.g.:

  • "always", "for all agents", "everywhere"
  • "remember this about me" / personal preference that should follow them across agents

Do not move agent-specific choices into user memory just because they sound like a preference.

Saving memory

API harness (nui-agent MCP)

Call update_memory on the nui-agent MCP server:

  • scope: "user" or "agent"
  • content: concise markdown (bullet points or short paragraphs)
  • mode: "append" to add to existing memory, "replace" to overwrite the whole file

CLI harness (Write/Edit tools)

Write directly to the canonical path:

  • User: ~/.nui/memory/user.md
  • Agent: ~/.nui/memory/agents/<agent-id>.md

When appending, read the existing file first and preserve prior content.

Quality bar

  • Store durable facts, not transient task state or conversation summaries.
  • Keep entries concise; prefer bullets over long prose.
  • Do not store secrets, API keys, or credentials.
  • If memory would exceed roughly 8KB, consolidate or prune older low-value entries before appending.
  • When unsure, default to agent scope; ask only if it is genuinely ambiguous whether the fact applies to all agents.

Read the full file on GitHub · 53 lines

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. 1mo ago First seen · 53 lines · 20 tokens per session scan A 375c68bbe4af

Subscribe to this mod's changes

remember is a skill published in the GitHub repository plmbr/nui (8 stars, last pushed 18d ago), licensed MIT. It adds 20 tokens to every session and 503 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.

Related

Other skills, from other repositories

distill-session-knowledge

Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…

BlackBeltTechnology/pi-agent-dashboard · 78 tokens

list-learned-actions

Explicit Codex workflow: List persisted reusable actions, UI skeletons, and legacy feedback memories before composing device primitives.

Lykhoyda/rn-dev-agent · 29 tokens

semantix

Install and use the semantix memory kernel as a middleware in your agent: extract user preferences / workflows / experience from past sessions, retrieve and inject them on demand. One binary + your agent's own tools.

Gnosil/semantix · 47 tokens

agentlas-auto-activation

Use when adding or auditing local runtime behavior that turns a project folder into an Agentlas-aware workspace with .agentlas memory and sitemap files.

agentlas-ai/Agentlas-OS · 34 tokens

agentlas-one

Use when the user types /agentlas-one on|off, /agentlas one on|off, or asks to enable/disable the persistent personal agent mode.

agentlas-ai/Agentlas-OS · 37 tokens

ship-it

Worktree-side implementation orchestrator for an OpenSpec change. Idempotent: gates automated scenarios on filesystem reality, owns the red-test fix loop, runs the docker harness with always-teardown, then drives ship-change inline. Escape hatch writes SHIPITBLOCKED.md. Runnable headless. Triggers: "ship it", "build…

BlackBeltTechnology/pi-agent-dashboard · 92 tokens