Skip to content
Back to skills

Arch Reset

ASecurity

Reset session state for a fresh start

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitypythonbashtestingdebugging

Works with

  • cli

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill arch-reset --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arch Reset?

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

Security grade badge for Arch Reset
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-arch-reset/badge)](https://www.skillsdirectory.com/skills/david-li0406-arch-reset)

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: arch-reset
description: Reset session state for a fresh start
disable-model-invocation: true
---

# /arch-reset Skill

**Status: Active**

Reset the current architecture session to start fresh. Removes session state and optionally preserves the log.

## Usage

```
/arch-reset
/arch-reset --keep-log
```

## What Gets Reset

By default, removes:
- `.claude/arch/state.json` - session state
- `.claude/arch/session_log.json` - step completion log

With `--keep-log`, only removes `state.json` (preserves the log for reference).

**Note:** `TASK_GRAPH.json` and other architecture artifacts are NOT removed. Run `/arch [request]` to regenerate them.

---

## Step 1: Confirm Reset

Display the current session status and ask for confirmation:

```
Current session:
  Phase: [phase]
  Current step: [current_step or "none"]
  Log entries: [count]

This will remove state.json and session_log.json.
Continue? (y/n)
```

If user declines, stop without changes.

---

## Step 2: Execute Reset

Run the reset command:

```bash
python scripts/arch_session.py reset
```

Or to preserve the log:

```bash
python scripts/arch_session.py reset --keep-log
```

---

## Step 3: Report Result

Output the result:

```
Reset complete. Removed: state.json, session_log.json

Run /arch to start a new planning session.
```

---

## When to Use

Use `/arch-reset` when:

- **Starting over** - need to re-plan from scratch
- **Session is corrupted** - state is invalid or out of sync
- **Requirements changed** - original plan is no longer valid
- **Testing** - want to verify the full workflow again

Use `--keep-log` when:

- You want to preserve the history for reference
- Debugging issues with the workflow

---

## Constraints

- **Confirmation required**: Always confirm before resetting
- **Preserves TASK_GRAPH.json**: Architecture artifacts remain intact
- **Non-destructive**: Only removes session state, not source code

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…