aips-reset

A project reset command for AIPS, an AI-coding-tool setup system. It backs up the project's stored state, removes that state, and starts a fresh setup.

In plain words
What is it for?
Use it to reset per-project AIPS storage and related links inside a Git repository. It requires an explicit lowercase “y” confirmation and does not change the global installation.
Why use it?
It gives you a clean project setup when the existing AIPS files or links are incorrect, while keeping a timestamped backup first.

Command

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/kernalix7/aips/aips-reset
Clone the repo
git clone --depth 1 https://github.com/kernalix7/AIPS
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00021 $0.00655
Opus 5 $0.00010 $0.00328
Sonnet 5 $0.00004 $0.00131
Haiku 4.5 $0.00002 $0.00065

Measured 2d ago against content hash 7ec4f58b23a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aips-reset 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.

commands/aips-reset.md · 51 lines

How it starts

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

/aips:reset

Destructive. Wipes the current project's .priv-storage/ and root AIPS symlinks, then runs a fresh init (CASE A) from scratch. Always creates a timestamped backup first. Global plugin install is not touched.

What it does

  1. Locate PROJECT_ROOT — walk up from $PWD to nearest .git.
  2. Confirm — REQUIRED EXPLICIT y — prompt:
    This will reset all per-project AIPS state.
    Backup will be at tmp-igbkp/reset-backup-<ts>/.
    Proceed? [y/N]
    
    Any input other than literal y aborts immediately. Empty input (Enter) aborts.
  3. Backup — create tmp-igbkp/reset-backup-<YYYYMMDD-HHMMSS>/ and move into it:
    • .priv-storage/ (entire dir)
    • root symlinks if they resolve into .priv-storage/: CLAUDE.md, AGENTS.md, .cursorrules, .vscode/settings.json
  4. Verify backup succeeded — confirm the new backup directory contains every moved item before proceeding. If backup is incomplete, abort and leave the partial backup in place for the user to inspect.
  5. Wipe — after the backup mv succeeds, the originals are already gone (mv, not copy). Double-check nothing remains.
  6. Fresh init (CASE A) — invoke the /aips:init CASE A flow on the now-empty project:
    • lib/detect-project.sh
    • render templates/CLAUDE.md.tmpl.priv-storage/CLAUDE.md
    • copy templates/WORK_STATUS.md.tmpl, templates/memory/
    • create root symlinks
    • copy templates/tmp-igbkp/ and chmod +x
    • patch .gitignore idempotently
    • run lib/verify-init.sh

Output

[reset] backup created       tmp-igbkp/reset-backup-20260519-143012/
[reset] wiped                .priv-storage/, root symlinks
[reset] fresh init           <lang>/<framework>
[reset] verify               PASS
note: previous state preserved at tmp-igbkp/reset-backup-20260519-143012/

Rules

  • Never proceed without explicit y confirmation.
  • Never delete without a successful backup first.
  • Never touch global plugin install (~/.claude/plugins/AIPS/).
  • Never touch project source code, .git/, or any path outside .priv-storage/ + the four root symlinks.
  • Never delete prior tmp-igbkp/reset-backup-* directories — leave them for the user.

Read the full file on GitHub · 51 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. 2d ago First seen · 51 lines · 21 tokens per session scan A 7ec4f58b23a4

Subscribe to this mod's changes

aips-reset is a command published in the GitHub repository kernalix7/AIPS (5 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 655 once invoked, about $0.0001 per session on Opus 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-08-31.