# Aio Snapshot

> Capture a GitNexus baseline of the codebase before coding so aio-review-quick can detect what changed afterwards.

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

---


# Snapshot — Create Baseline

## Environment
- GitNexus: !`npx gitnexus status 2>/dev/null && echo "AVAILABLE" || echo "NOT INSTALLED"`

Create a GitNexus baseline before coding so you can detect changes after.

## Prerequisites

- GitNexus indexed (`npx gitnexus analyze`)

## Workflow

### Step 1: Check freshness

```bash
npx gitnexus status
```

If stale, re-index. If fresh and recent (<5 min), skip to step 2.

### Step 2: Create baseline

```bash
npx gitnexus analyze
```

Note the current git HEAD or timestamp as your baseline reference.

### Step 3: Announce

```
Baseline recorded.
Ready to start implementation. Run `/aio-review-quick` after coding to detect changes against this baseline.
```

## Notes

- Re-run `npx gitnexus analyze` after large changes to keep the index fresh
- Save the baseline git ref (commit hash or branch) — useful for `/aio-review-quick`
- Create multiple baselines during long work sessions to track progress

