agentic-storage

agentic-storage is a skill for Claude Code from mahmoud20138/Tradecraft. It costs 189 tokens per session (2,382 once invoked), scanned A, original, MIT.

A guide to storing an AI agent's files, memories and work products across sessions using MCP, versioning, sandboxing and checks on user intent. MCP is a standard way for AI models to use tools and resources.

In plain words
What is it for?
Use it to design persistent memory, safe agent file systems, versioned work products and storage workflows for AI agents.
Why use it?
It addresses the problem that an agent normally forgets its work when a session ends, while read-only retrieval systems do not preserve the files it creates.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tradecraft plugin — 58 skills shipped together

Good fit Use it to design persistent memory, safe agent file systems, versioned work products and storage workflows for AI agents.

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

Made for: Claude Code.

Or install tradecraft, the plugin that ships this one along with the rest of its 58 skills.

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 agentic-storage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/agentic-storage"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/agentic-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,382 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.00189 $0.02382
Opus 5 $0.00095 $0.01191
Sonnet 5 $0.00038 $0.00476
Haiku 4.5 $0.00019 $0.00238

Measured 10d ago against content hash 1cb7acd72860, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agentic-storage 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 10d 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.

plugins/tradecraft/skills/agentic-storage/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.

Agentic Storage — Persistent Memory for AI Agents

Source: IBM Technology — Martin Keen (March 2026). "What Is Agentic Storage? Solving AI's Limits with LLMs & MCP." 51K+ views.

The Problem: Agents Are Stateless

AI agents powered by LLMs have a fundamental limitation:

Agent Session
    │
    ├── Context Window = RAM (volatile, temporary)
    │
    └── Session ends → Memory resets → Agent forgets everything
  • The context window is like RAM — volatile, temporary storage
  • When a session ends or the context fills up, the agent's memory resets completely
  • The agent forgets what it did, what it produced, what it learned

RAG Only Partially Helps

RAG (Retrieval Augmented Generation) connects the LLM to a vector database for semantic search.

But RAG is fundamentally read-only:

Problem RAG Solves?
Getting information INTO the model (input) Yes
Persisting agent work products (output) No

If your agent writes a Python script, creates a remediation playbook, or generates a report — where does that work product actually go? RAG doesn't answer this.


What Is Agentic Storage?

Storage that is aware of and designed for autonomous agents.

It's more than giving an agent a hard drive. It's a storage layer purpose-built for AI agents:

  • Persists work products between sessions (code, playbooks, reports, analysis)
  • Standardized access via MCP (no custom API integrations per storage system)
  • Safety layers built in for autonomous operation
  • Audit trail for every agent action

The Analogy

Concept Human Computer AI Agent
Volatile memory RAM Context window
Persistent storage Hard drive / SSD Agentic storage
File system OS file system MCP server
Access control User permissions Sandboxing + intent validation

MCP as the Storage Interface

The Problem with Custom Integrations

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. 10d ago First seen · 298 lines · 189 tokens per session scan A 1cb7acd72860

Subscribe to this mod's changes

agentic-storage is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 189 tokens to every session and 2,382 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

self-improve

Extract lessons from the current session, or sweep the project's past sessions when asked, and route them to the appropriate knowledge layer (project AGENTS.md, auto memory, existing skills, or new skills). Use when the user asks to "self-improve", "distill this session", "distill past sessions", "sweep past…

tobihagemann/turbo · 125 tokens

recall-reasoning

Recall the reasoning behind a past change by locating the Claude Code transcript that produced it. Use when the user asks to "recall reasoning", "find reasoning", "look up reasoning", "recall implementation reasoning", "find the rationale", "why did I do X", "recall from transcripts", or "find the transcript for this…

tobihagemann/turbo · 76 tokens

humanizar

Reescreve textos em português brasileiro para soarem mais humanos e naturais, reduzindo padrões típicos de escrita gerada por IA sem alterar fatos, argumento ou intenção. Use quando o texto em PT-BR parecer genérico, burocrático ou gerado por IA, ou quando o usuário pedir para "humanizar", "dar vida", "tirar cara de…

fabricioctelles/skills · 167 tokens

human-ai

Rewrites English text so it reads as written by a person, without AI writing tics. Removes machine language patterns and AI slop, restores semantic entropy, and injects voice and personality. Use when ENGLISH text reads as generic, bland, or AI-generated - or when asked to "humanize", "de-slop", "remove AI patterns"…

fabricioctelles/skills · 115 tokens

agent-ready-cloudflare

Audit and improve website readiness for AI agents using the Cloudflare "Is It Agent Ready?" scanner (isitagentready.com). Covers scanning via API, interpreting results, generating implementation prompts, and fixing every check. Use when the user mentions "agent ready", "isitagentready", "AI agent scan", "agent…

fabricioctelles/skills · 158 tokens

aidlc-master

Runs the AWS AI-DLC (AI-Driven Development Life Cycle) methodology end to end: an adaptive three-phase workflow (Inception → Construction → Operations) with human approval gates, a full audit trail, and all artifacts in aidlc-docs/. Use when the user says "Using AI-DLC", "AI-DLC", "AIDLC", "aidlc-master", or asks for…

fabricioctelles/skills · 243 tokens