Skip to content
Back to skills

Reload Skill

ASecurity

Reload (respawn) your OWN agent session to pick up a changed pilot prompt or newly-seeded skills — for example after an operator enables a feature. You keep your history (it is a resume), you just come back as a fresh process with the new prompt/skills active. Use when told a change won't take effect until you reload, or when you (a lead) refresh an agent.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 1, 2026
ai-agentsbashnodeapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add shadok-ai/shadok-ai --skill reload-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reload Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reload Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shadok-ai-reload-skill/badge)](https://www.skillsdirectory.com/skills/shadok-ai-reload-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shadok-reload
description: Reload (respawn) your OWN agent session to pick up a changed pilot prompt or newly-seeded skills — for example after an operator enables a feature. You keep your history (it is a resume), you just come back as a fresh process with the new prompt/skills active. Use when told a change won't take effect until you reload, or when you (a lead) refresh an agent.
---

# shadok-reload

The cockpit pilot prompt and the bundled skills are fixed **at spawn**, so a
change to either only lands at the next (re)spawn. This reloads **your own**
session in place — a `claude --resume`, so your transcript is kept:

```
node ~/.claude/skills/shadok-reload/reload.mjs
```

Only your own session can be reloaded this way: it is scoped by the per-session
key in your environment (`SHADOK_SESSION_KEY`), not by the public session id.
Your current turn ends as the process is replaced; you come back with your
history intact and the new prompt/skills active.

Once the respawn is ready the cockpit **nudges you to continue** — you get a
short "you've just been reloaded, resume what you were doing" message and pick up
on your own, so a reload does not leave you idle. Nothing to trigger yourself.

## Authenticating a direct API call

The commands above do this for you. If you call the cockpit's API yourself, send
your session key — it is in your environment and it does not expire:

```bash
curl -sS -H "x-shadok-session-key: $SHADOK_SESSION_KEY" \
  "http://127.0.0.1:$SHADOK_PORT/channels"
```

`$SHADOK_AUTH` (a cookie) is still accepted, but it was frozen into your
environment at spawn and expires after a week, so never rely on it alone. A
`401` means that header is missing — or that you were started before this
existed, in which case nothing you hold can authenticate any more and only a
human can fix it: ask them for *Reload agent* on your ⋯ menu.

Files in this skill

  • SKILL.md1.9 KB
  • reload.mjs1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.