self-reload

self-reload is a command for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 47 tokens per session (2,496 once invoked), scanned A, original, MIT.

A command for reloading an agent's plugins and skills inside its existing terminal session, with a full restart as a fallback. It uses tmux, a tool for managing terminal sessions, to type the commands into the correct session.

In plain words
What is it for?
Use it after updating plugins or skills to check the session, reload them, and restart the agent only when necessary.
Why use it?
It avoids restarting the whole agent when reloading is enough, while checking that commands will go to the right process. It provides a fallback when the lighter reload does not work.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the credo plugin — 28 skills, 21 commands, 7 hooks shipped together

Good fit Use it after updating plugins or skills to check the session, reload them, and restart the agent only when necessary.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Marcel-Bich/marcel-bich-claude-marketplace
Claude Code
/plugin install credo

Made for: Claude Code.

Or install credo, the plugin that ships this one along with the rest of its 28 skills, 21 commands, 7 hooks.

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 self-reload

README.md
[![agentmods](https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/self-reload/github.svg)](https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/self-reload)
Your own site
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/self-reload"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/self-reload/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 self-reload

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/self-reload"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/self-reload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,496 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.00047 $0.02496
Opus 5.5 $0.00019 $0.00998
Sonnet 5.5 $0.00009 $0.00499
Haiku 4.5 $0.00005 $0.00250

Measured 15d ago against content hash 361051869ae7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

self-reload 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 15d 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/credo/commands/self-reload.md · 145 lines

How it starts

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

Credo Self-Reload

After a plugin update a full restart (cc-up, /credo:self-restart --update) is not always needed. Often /reload-plugins followed by /reload-skills is enough. An agent cannot run slash commands itself, so a detached worker types them into the session's OWN tmux pane after the turn ended - the same mechanism as /credo:self-compact. The reload commands do not start a model turn, so the worker finally types . + Enter to wake the session. On that woken turn the agent checks whether the reload was enough; only if not, it falls back to /credo:self-restart --update (cc-up).

Order after a plugin update: /credo:self-reload first, /credo:self-restart --update (cc-up) only when the reload was not enough.

Helper: ${CLAUDE_PLUGIN_ROOT}/scripts/credo-self-reload.py

Action What it does
check (default) Dry run. Resolves the tmux pane of THIS Claude process and verifies it belongs to it (no other Claude process in between), prints the plan (steps, fallback, update allowlist with --update) and the current pane state. Types nothing. Exit 1 with the reason when a precondition fails (not in tmux, pane of another process, no session id).
run (--auto | --user-confirmed) [--update] [--delay S] [--timeout S] [--nudge-wait S] [--max-nudges N] Owner-rule guard first: refused -> exit 3, nothing started. Then validates like check (exit 1 + ntfy on failure). Otherwise spawns a fully detached worker and returns at once. End your turn right after run. Refuses while another self-reload or a /credo:self-compact of this session is pending (both type into the same pane and share the wake file).
cancel Marks the pending self-reload of THIS session as cancelled, terminates its worker and removes a pending wake file. Another session's self-reload is never touched.
status State line (pending / typing /reload-... / waking / woken / cancelled / failed: ...), the marker <configdir>/credo/self-reload-<session-id>.json, whether the wake file is still pending, and the log tail.

Read the full file on GitHub · 145 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. 15d ago First seen · 145 lines · 47 tokens per session scan A 361051869ae7

Subscribe to this mod's changes

self-reload is a command published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (12 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 2,496 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-10-10.