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.
npx agentmods add commands/runkids/skillshare/restoregit clone --depth 1 https://github.com/runkids/skillshareWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01250 |
| Opus 5 | $0.00000 | $0.00625 |
| Sonnet 5 | $0.00000 | $0.00250 |
| Haiku 4.5 | $0.00000 | $0.00125 |
Grade A, and why
restore 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
restore
Restore a target from a backup.
skillshare restore # Interactive TUI (browse + restore)
skillshare restore claude # Latest backup
skillshare restore claude --from 2026-01-19_10-00-00 # Specific backup
skillshare restore claude --dry-run # Preview
When to Use
- A sync went wrong and you need to revert a target to its previous state
- You accidentally removed skills from a target
- Browse backup versions interactively and compare against current state
Interactive TUI
On a TTY, skillshare restore (with no arguments) launches a unified restore TUI:
- Source picker — Choose between "Backup Restore" and "Trash Restore"
- Backup Restore — Select a target, then browse backup versions with a detail panel showing:
- Backup date, size, and skill count
- Diff vs current target (added/removed skills)
- Individual file listings
- Trash Restore — Opens the trash TUI to restore deleted skills
Key Bindings
| Key | Action |
|---|---|
↑/↓ |
Navigate targets / versions |
Enter |
Select target / restore version |
/ |
Filter targets |
d |
Delete a backup version |
Ctrl+d/Ctrl+u |
Scroll detail panel |
Esc |
Go back |
q/Ctrl+C |
Quit |
Use --no-tui to skip the TUI and show a plain backup list instead.
What Happens
flowchart TD
CMD["skillshare restore claude"]
FIND["1. Find latest backup"]
REMOVE["2. Remove current target"]
COPY["3. Copy backup to target"]
CMD --> FIND --> REMOVE --> COPY
Options
| Flag | Description |
|---|---|
--all |
Restore both skills and agents |
--project, -p |
Use project mode (.skillshare/backups/); agents only |
--global, -g |
Use global mode (default for skills) |
--from, -f <timestamp> |
Restore from specific backup |
--force |
Overwrite without confirmation |
--dry-run, -n |
Preview without making changes |
--no-tui |
Skip interactive TUI, show backup list instead |
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.
- 2d ago First seen · 166 lines · 0 tokens per session scan A 265a6ad0fa0f
restore is a command published in the GitHub repository runkids/skillshare (2,597 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,250 tokens. 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-30.
Other commands, from other repositories
constraints
Define and enforce this project's quality bar — interview, sane defaults, CONSTRAINTS.md.
webperf
Run a web performance audit via the web-performance-auditor persona.
spec
Start spec-driven development — write a structured specification before writing code.
plan
Break work into small verifiable tasks with acceptance criteria and dependency ordering.
pm-arch
Scan project structure and generate Mermaid architecture diagrams + flowcharts under .pm/architecture/.
pm-done
Close a todo (TODO-xxx), sync completed.md, refresh overview.