shelve

shelve is a skill for Claude Code, Codex from ignatenkofi/memshelf-mcp. It costs 146 tokens per session (3,125 once invoked), scanned A, original, MIT.

A conversation-archiving workflow that saves finished topics or imported conversations as Markdown records with a checked summary. A memory shelf is a collection of these saved conversation records.

In plain words
What is it for?
Use it to archive completed topics, save whole conversations, or store research and session notes before the conversation becomes too large.
Why use it?
It reduces context size while preserving decisions, timelines, open questions, and other useful details for later reference.

Skill for Claude CodeCodex

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

Good fit Use it to archive completed topics, save whole conversations, or store research and session notes before the conversation becomes too large.

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

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 shelve

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ignatenkofi/memshelf-mcp/shelve"><img src="https://agentmods.dev/badge/skills/ignatenkofi/memshelf-mcp/shelve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,125 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.00146 $0.03125
Opus 5.5 $0.00058 $0.01250
Sonnet 5.5 $0.00029 $0.00625
Haiku 4.5 $0.00015 $0.00313

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

Security

Grade A, and why

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

adapters/claude-account/skills/shelve/SKILL.md · 188 lines

How it starts

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

shelve — запись эпизода на полку memshelf

Процедура для хостов, где подключён memshelf MCP (инструменты memshelf_*). Если сервера нет — это не сюда: в репозитории memshelf-mcp лежит prompt-only фолбэк adapters/claude-code/skills/shelve, он делает то же руками.

Порядок

  1. Снимок «до». memshelf_doctor с derived_stale_after_hours: 6 — порог этой полки, а не умолчательные 24 ч. Запомнить число ошибок и предупреждений: итог оценивается сравнением, на полке почти всегда есть застарелые предупреждения, к твоей записи отношения не имеющие.

  2. Выбрать срез. Шелвится закрытая тема. Активную не шелвить без просьбы. Если пользователь не назвал тему — предложить кандидатов с грубой оценкой веса (chars/4) и получить подтверждение.

  3. Проверить дайджест до записи. memshelf_lint_digest с полем digest. Контракт: ≤120 слов; названо, что решено, что отклонено и почему, что осталось открытым; референты именованные — никаких голых «мы» и «это»; секретов нет. Отбитый lint дешевле отбитого shelve.

  4. Записать. memshelf_shelve:

    • slug — обязательно с префиксом даты: YYYY-MM-DD-краткое-имя-латиницей.
    • kind — topic | session | research.
    • date, span, description, digest, sections.
    • sync — умолчание true: до записи делается fetch и ff-only на upstream. Грязное отслеживаемое дерево или разошедшаяся ветка отказывают до записи и называют исполнимое лечение; сорванный fetch (офлайн) эпизод не стоит, но уходит в warnings. Снимать sync без причины не надо.
    • push — умолчание false. true пушит коммит шелва и при отказе делает ровно один rebase-повтор. Требует autocommit (умолчание true). Решение владельца: без пуша запись не покидает машину.
    • await_render_s — после пуша на полку с ботом (shelf-derived.yml) shelve сам ждёт рендер бота до 60 с и делает ff на него (memshelf-mcp#157): клон заканчивает вызов вровень с origin. Ждёт, только если пуш оставил производные устаревшими; 0 — не ждать. Не передавать без причины.
    • amend: true — если slug уже на полке.
    • retain_until — только для заведомо временной записи.

Read the full file on GitHub · 188 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 · +12 lines b3a0ad1c49f8
  2. 1mo ago Changed · +3 lines · +67 tokens per session f45c70be04b5
  3. 1mo ago First seen · 173 lines · 79 tokens per session scan A 72b881042c60

Subscribe to this mod's changes

shelve is a skill published in the GitHub repository ignatenkofi/memshelf-mcp (0 stars, last pushed today), licensed MIT. It adds 146 tokens to every session and 3,125 once invoked, about $0.0006 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