/session-ledger:clearfrom Session Ledger
Permanently deletes all locally stored Session Ledger state. Invoke when you need to reset session tracking data.
Ships in Session Ledger. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The Python setting is optional. If ${user_config.python_executable} is empty
or unresolved, probe python3, python, then py -3 with
-c "import sys; print(sys.executable); sys.exit(sys.version_info < (3, 9))".
Use the executable path from the first successful probe in the vector below.
A saved nonempty override takes precedence; do not replace an invalid override
silently. If none works, report that Python 3.9+ is needed. Never pass an empty
or unresolved executable placeholder to a tool.
Execute this argument vector after substituting the host placeholders:
[
"${user_config.python_executable}",
"${CLAUDE_PLUGIN_ROOT}/hooks/session-ledger.py",
"clear",
"--plugin-data",
"${CLAUDE_PLUGIN_DATA}"
]
Use direct execution when available. With a shell tool, quote every element
as a literal for the active shell (PowerShell: & before the executable and
single quotes with embedded ASCII/smart single quotes (U+2018–U+201B) doubled; POSIX: shell-escaped single
arguments). Never evaluate substituted text as a complete shell command.
If local execution or a required placeholder is unavailable, report that the
operation could not be confirmed. This skill has no shell preprocessing.
Report deletion only if the command says Cleared local Session Ledger state.
If it cannot confirm deletion — or prints nothing at all — tell the user that
local state may remain and do not claim it was removed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub warwick-bit/llm-accuracy --plugin session-ledger2 skills in this plugin