# Reset Local Submissions

> Reset local verification attempts so verification flows can be retested. Supports requirement slugs and user scoping. Use for "reset local submissions", "undo local verification", or "let me re-test verification".

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

---


# Reset Local Submissions

Run the guarded script from `api/`:

```bash
uv run python scripts/reset_local_submissions.py
uv run python scripts/reset_local_submissions.py --user-id <github-user-id>
```

The script previews matches and asks for confirmation before deleting them.
For selected requirements or agent-driven use:

```bash
uv run python scripts/reset_local_submissions.py --dry-run
uv run python scripts/reset_local_submissions.py --yes [options]
```

Without filters, the script resets every requirement for every local user.
Filter options are repeatable:

```text
--user-id <github-user-id>
--requirement-slug <slug>
```

Always run with `--dry-run` first and summarize the matched users,
requirements, and outcomes. Ask for confirmation before running with `--yes`.

The script resolves slugs through the curriculum artifact and deletes matching
`verification_attempts`. It refuses non-local databases. Do not bypass that
guard or substitute ad-hoc SQL.

