Stateless
Inspect, turn off, or purge Claude auto-memory (saved repo notes/memories): status (default, memory/settings scopes), disable (autoMemoryEnabled…
от melodic-software★ 34 звезды на GitHub
Установить Stateless в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Stateless
Arguments. [status|disable|purge] [--unattended]. Default: status
Auto-memory snapshot
bash "${CLAUDE_PLUGIN_ROOT}/skills/stateless/scripts/scope-report.sh" || echo "(snapshot unavailable — run the scope-report script manually)"
Inspect and disable Claude Code auto memory, the store Claude writes for itself. Where it
lives is read at
Storage location. Governs auto-memory
only. Not in scope: CLAUDE.md / CLAUDE.local.md / .claude/rules/ (use /harness-memory:audit), transcripts, history, or shell snapshots. For the
official full per-project wipe, use claude purge.
reference/official-guidance.md, "Out of scope for this skill",
records how this skill treats that command's scope; read the deletion plan and flags at
Clear local data.
reference/official-guidance.md holds the decisions this skill acts on, each with a pointer to its docs section and none of the docs' text; re-read the pointed-at section before acting on a load-bearing fact.
Scope
| Entity | Location | This skill |
|---|---|---|
| Auto-memory store | Per project; see Storage location above | Yes. Status / disable / purge |
autoMemoryEnabled setting |
any settings scope | Yes. Reads and writes |
CLAUDE_CODE_DISABLE_AUTO_MEMORY |
OS env or settings env block |
Yes. Reads and writes |
CLAUDE.md / .claude/rules/ |
repo + user | No. Use /harness-memory:audit |
| CLAUDE.local.md | repo only, no user-scope equivalent | No. Use /harness-memory:audit |
| Transcripts | ~/.claude/projects/<project>/ |
No. How we treat its age sweep and claude purge: official-guidance.md, "Out of scope for this skill" |
| Prompt history | ~/.claude/history.jsonl |
No. Same record |
| Session files | ~/.claude/sessions/ |
No. Same record |
| Shell snapshots / backups | ~/.claude/shell-snapshots/, ~/.claude/backups/ |
No. Same record |
| Claude Desktop / claude.ai memory | server-side account | Direction only. See context/desktop.md |
Argument parsing
Take out --unattended first, wherever it appears: it is the caller declaring that nobody is present, which
governs the /memory offer under "Boundary". Match the rest against this table.
| Argument | Action |
|---|---|
(none) or status |
Report the auto-memory posture: effective enabled/disabled state, where the store lives, what it holds. Read-only. |
status all |
Machine-wide: the status report plus a table of every per-project memory store (scripts/enumerate-all-projects.sh). Read-only. |
disable |
Turn auto memory off durably (autoMemoryEnabled: false + CLAUDE_CODE_DISABLE_AUTO_MEMORY). Edits settings. Confirm scope first. |
purge |
Destructive. Delete the auto-memory files. Reads autoMemoryDirectory at every scope first, shows a manifest, offers an opt-in pre-delete backup, and deletes only after explicit confirmation. |
purge all |
Destructive, machine-wide. Same flow with every per-project store as the candidate set, one combined manifest, and one combined gate stating the total count and every directory. |
Precedence
This skill treats CLAUDE_CODE_DISABLE_AUTO_MEMORY as authoritative whenever it is set: 1
reports auto memory off, and 0 reports it on even against autoMemoryEnabled: false. Only
when the env var is unset does autoMemoryEnabled (by settings precedence) decide. status must
report the env var as authoritative whenever it is set. disable sets the env var to 1 and
autoMemoryEnabled: false together. The reference file's "Precedence: the env var overrides the
setting (VERIFIED)" holds the pointer.
Actions
- status (default): load context/status.md.
- disable: load context/disable.md.
- purge: load context/purge.md.
For the Claude Desktop / claude.ai account store (server-side, not local files), load
context/desktop.md. Relevant to status and purge whenever the user
wants to be stateless everywhere, not just in this repo.
The context/ files write each bundled script as <skill-dir>/scripts/<name>.sh, where
<skill-dir> is this skill's directory: ${CLAUDE_SKILL_DIR}. Put that path in place of the
placeholder before running a command. We never put a ${…} token in those files: we do not rely
on one being substituted in a file read through the Read tool, or on the Bash tool's environment
carrying CLAUDE_PLUGIN_ROOT.
- Pointer: for where each
${…}reference resolves, see Where each variable resolves.
Boundary, the built-in /memory and /pause-memory commands
"Turn off auto memory" and "what has Claude saved
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/desktop.md
- context/disable.md
- context/purge.md
- context/status.md
- reference/native-memory.md
- reference/native-pause-memory.md
- reference/official-guidance.md
- scripts/enumerate-all-projects.sh
- scripts/enumerate-all-projects.test.sh
- scripts/scope-report.sh
- scripts/scope-report.test.sh
FAQ
Что делает скилл Stateless?
Inspect, turn off, or purge Claude auto-memory (saved repo notes/memories): status (default, memory/settings scopes), disable (autoMemoryEnabled, CLAUDE_CODE_DISABLE_AUTO_MEMORY), purge (confirm-gated delete/wipe). Use when: 'make Claude stateless', 'stop Claude remembering', 'disable auto memory'. Not for CLAUDE.md/rules: /harness-memory:audit.
Как установить скилл Stateless?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Stateless запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…