attune-ai: Skill for Claude Code

.agents/skills/memory-and-context/SKILL.md

memory-and-context is a skill for Claude Code, Codex from Smart-AI-Memory/attune-ai. It costs 38 tokens per session (2,024 once invoked), scanned A, original, Apache-2.0.

A persistent memory system for storing, retrieving, searching, and removing project context across sessions.

In plain words
What is it for?
Saving project state or preferences, retrieving or searching stored context, and forgetting information when requested.
Why use it?
It keeps useful notes and preferences available later while classifying stored information as public, internal, or sensitive.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

This is Smart-AI-Memory/attune-ai's own configuration. It tells Claude Code and Codex how to work on attune-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything attune-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Smart-AI-Memory/attune-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Smart-AI-Memory/attune-ai/main/.agents/skills/memory-and-context/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Smart-AI-Memory/attune-ai

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 memory-and-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/smart-ai-memory/attune-ai/memory-and-context/github.svg)](https://agentmods.dev/skills/smart-ai-memory/attune-ai/memory-and-context)
Your own site
<a href="https://agentmods.dev/skills/smart-ai-memory/attune-ai/memory-and-context"><img src="https://agentmods.dev/badge/skills/smart-ai-memory/attune-ai/memory-and-context/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 memory-and-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/smart-ai-memory/attune-ai/memory-and-context"><img src="https://agentmods.dev/badge/skills/smart-ai-memory/attune-ai/memory-and-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,024 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.02024
Opus 5.5 $0.00015 $0.00810
Sonnet 5.5 $0.00008 $0.00405
Haiku 4.5 $0.00004 $0.00202

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

Security

Grade A, and why

memory-and-context 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.

.agents/skills/memory-and-context/SKILL.md · 298 lines

How it starts

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

Memory and Context

IMPORTANT: Start your response with a context preamble.

Call help_lookup(topic="memory", mode="preamble") and display the returned preamble text as a blockquote. Then tell the user they can say "tell me more" for a step-by-step guide, or answer the scoping questions below to proceed.

If the MCP call fails, fall back to:

Memory and Context — Stores and retrieves persistent context across sessions — notes, preferences, project state.

Scoping

Before running, ask:

  1. Operation: "What do you need? Store, retrieve, search, or forget?"
  2. Key/query: "What key or search term?"
  3. Classification (store only): "PUBLIC, INTERNAL, or SENSITIVE?"

Execution

Shared command workspace (preferred)

Open adapter memory-and-context with the selected operation and scoped arguments. Present its widget or returned Markdown and collect its bound action before calling the existing memory tool. Store and forget are external writes and require explicit confirmation; retrieve and search remain read-only. Publish the exact tool response as operation_result.

After a successful store or forget, follow the workspace's returned memory_retrieve verification request and publish it as verification_result. Store succeeds only when the same value and classification are retrieved; forget succeeds only when the post-delete read misses. Never render stored values—especially SENSITIVE values—in the workspace. A failed backend call must say “did not complete.” Preserve these decisions and verification receipts in compact text when the shared tools are unavailable.

Based on the user's answer, call the appropriate MCP tool:

  • Store: memory_store(key, value, classification)
  • Retrieve: memory_retrieve(key)
  • Search: memory_search(query, pattern_type)
  • Forget: memory_forget(key, scope)

attune-ai's memory system sits ABOVE Anthropic's native memory features. It provides security-classified storage, cross-agent pattern sharing, and a structured pattern lifecycle that native memory does not offer. Use the decision table below to determine which system to use for a given task.

Read the full file on GitHub · 298 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 Changed · +17 lines 8d15733d6118
  2. 1mo ago First seen · 281 lines · 38 tokens per session scan A cef801a991ad

Subscribe to this mod's changes

memory-and-context is a skill published in the GitHub repository Smart-AI-Memory/attune-ai (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 38 tokens to every session and 2,024 once invoked, about $0.0002 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

commonly

You are a member of a Commonly workspace — a shared space where humans and AI agents from any origin collaborate in pods (chat rooms with memory). Use this whenever you are connected to Commonly via the commonly MCP tools: to read what's happening, post, remember things across sessions, react, DM other agents, and…

Team-Commonly/commonly · 0 tokens

agent-team-os

Run a team of AI agents (or one agent in several role sessions) as one governed unit — layered long-term memory, hub-coordinated governance with evidence anchors and human approval gates, an identity-based agent mailbox with receipts, and an event-driven doorbell that wakes seats on new mail without polling. Use when…

3338902669-ops/agent-orchestra · 148 tokens

lore

Curating cross-agent knowledge and institutional memory: extracts patterns from agent journals into METAPATTERNS.md, detects knowledge decay, propagates best practices. Use for memory curation.

simota/agent-skills · 40 tokens

novel-writing-assets

A manager for reusable writing preferences, such as recurring objects, mistaken assumptions, realistic details, pacing, and dialogue style.

Xiaoyangy/novel-studio · 77 tokens

mnemosyne-memory

Give your agent a sovereign, governed long-term memory backed by Mnemosyne OS. Use whenever the user has Mnemosyne OS installed and you need to recall past decisions, project history, or notes across sessions — or to persist something worth remembering. Teaches the vault governance rules every agent must honor before…

Mnemosyne-OS/Mnemosyne-Neural-OS · 72 tokens

prism-knowledge-intake

A knowledge-importing workflow for adding books, articles, quotes, and other outside material to PRISM-INSIGHT so it can be searched later.

dragon1086/prism-insight · 131 tokens