# Any Sync Reset

> Clear Any Sync config and delete lockfile

- Skill: `imink/any-sync-reset` (Agent Skill)
- Install (CLI): `npx skillmds@latest add imink/any-sync-reset`
- Raw SKILL.md: https://api.skillmd.com/api/skills/imink/any-sync-reset/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: imink (https://skillmd.com/u/imink)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/imink/any-sync-reset

---


# Reset Any Sync

Clear the Any Sync config and lockfile.

## Steps

### 1. Confirm Reset

Ask the user to confirm they want to reset. Explain that this will:
- Delete the config file (`.any-sync.json`)
- Delete the lockfile (`.any-sync.lock`)
- NOT delete any synced files (skills, memory, workspace config remain on disk)

### 2. Find Config

Look for config at `$HOME/.any-sync.json` first, then `.any-sync.json` in the current directory.

### 3. Run Reset

```bash
npx any-sync reset "<config-path>" ".any-sync.lock"
```

### 4. Report Results

Parse the JSON output and report what was cleared.

