reset

reset is a command for Claude Code from Hainrixz/open-carrusel. It costs 18 tokens per session (178 once invoked), scanned C, original, MIT.

A reset command that removes locally saved carousels, templates, brand settings, uploaded images, and exports, then restores empty default data.

In plain words
What is it for?
Use it to wipe the listed local data and uploads, rerun setup, and report what was reset. Cancelling makes no changes.
Why use it?
It clears local test content when starting over, but the operation requires confirmation because the selected files are deleted.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Install

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.

agentmods
npx agentmods add commands/hainrixz/open-carrusel/reset
Clone the repo
git clone --depth 1 https://github.com/Hainrixz/open-carrusel

Made for: Claude Code.

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 reset

README.md
[![agentmods](https://agentmods.dev/badge/commands/hainrixz/open-carrusel/reset.svg)](https://agentmods.dev/commands/hainrixz/open-carrusel/reset)
Your own site
<a href="https://agentmods.dev/commands/hainrixz/open-carrusel/reset"><img src="https://agentmods.dev/badge/commands/hainrixz/open-carrusel/reset.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 178 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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.00018 $0.00178
Opus 5 $0.00009 $0.00089
Sonnet 5 $0.00004 $0.00036
Haiku 4.5 $0.00002 $0.00018

Measured 6d ago against content hash c3a0d79d7f11, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

reset scanned grade C with 1 finding 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 6d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

On **Yes**: run `rm -rf data/*.json public/uploads/* data/exports/*` then `npm run setup` to re-seed default empty data files. Report what was reset (e.g., "Wiped 3 carousels, 12 uploads, 1 export. Defaults restored.").
.claude/commands/reset.md · 15 lines

What it actually says

Confirm with the user via AskUserQuestion:

"This will delete every locally saved carousel, template, brand config, uploaded image, and export from data/ and public/uploads/. Continue?"

Options: Yes, wipe everything / Cancel.

On Yes: run rm -rf data/*.json public/uploads/* data/exports/* then npm run setup to re-seed default empty data files. Report what was reset (e.g., "Wiped 3 carousels, 12 uploads, 1 export. Defaults restored.").

On Cancel: do nothing; reply "No changes made."

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. 6d ago First seen · 15 lines · 18 tokens per session scan C c3a0d79d7f11

Subscribe to this mod's changes

reset is a command published in the GitHub repository Hainrixz/open-carrusel (446 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 178 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.