Generate
alirezarezvani/claude-skills
Generate Playwright tests. An agent skill from alirezarezvani/claude-skills.
Generates state preservation and restoration infrastructure for navigation paths, tab selection, scroll positions, and form data across app launches and background termination.
$ npx skills add gustavscirulis/snapgrid --skill state-restoration -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gustavscirulis/snapgrid state-restoration --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/skills/generators/state-restoration .claude/skills/state-restoration && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "state-restoration" agent skill from https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restoration into .claude/skills/state-restoration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-restoration", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restorationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gustavscirulis/snapgrid --skill state-restoration -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gustavscirulis/snapgrid state-restoration --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/skills/generators/state-restoration .agents/skills/state-restoration && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "state-restoration" agent skill from https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restoration into .agents/skills/state-restoration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-restoration", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gustavscirulis/snapgrid --skill state-restoration -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gustavscirulis/snapgrid state-restoration --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/skills/generators/state-restoration .cursor/skills/state-restoration && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "state-restoration" agent skill from https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restoration into .cursor/skills/state-restoration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-restoration", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gustavscirulis/snapgrid.git --path .claude/skills/skills/generators/state-restoration--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gustavscirulis/snapgrid --skill state-restoration -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gustavscirulis/snapgrid state-restoration --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/skills/generators/state-restoration .gemini/skills/state-restoration && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "state-restoration" agent skill from https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restoration into .gemini/skills/state-restoration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-restoration", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gustavscirulis/snapgrid state-restorationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gustavscirulis/snapgrid --skill state-restoration -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/skills/generators/state-restoration .github/skills/state-restoration && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "state-restoration" agent skill from https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restoration into .github/skills/state-restoration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-restoration", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gustavscirulis/snapgrid --skill state-restoration -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gustavscirulis/snapgrid state-restoration --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gustavscirulis/snapgrid.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/skills/generators/state-restoration .opencode/skills/state-restoration && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "state-restoration" agent skill from https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/state-restoration into .opencode/skills/state-restoration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-restoration", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
state-restorationGenerates state preservation and restoration infrastructure for navigation paths, tab selection, scroll positions, and form data across app launches and background termination.
State Restoration is an agent skill from gustavscirulis/snapgrid. Generates state preservation and restoration infrastructure for navigation paths, tab selection, scroll positions, and form data across app launches and background termination. Use when user wants to save/restore app state, remember where the user left off, or persist UI state.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `templates.md`).
The repository describes itself as: SnapGrid is an open-source Mac app for collecting, organizing, and analyzing UI screenshots. It uses AI to automatically detect UI components and patterns, making it a powerful…
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit eb7eaf4. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditGlobGrepBashAskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
State Restoration loads about 2.5k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 611 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 611 words (~2,493 tokens).
“Generate production state restoration infrastructure that saves and restores app state (selected tab, scroll position, navigation path, form data) across launches and background termination. Uses Codable state models, @SceneStorage, @AppStorage, and custom file-based persistence.”
SKILL.md and 1 other file in .claude/skills/skills/generators/state-restoration of gustavscirulis/snapgrid.
Open the folder on GitHubat commit eb7eaf4
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in gustavscirulis/snapgrid, which our catalogue first saw on October 7, 2026.
State Restoration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| State Restoration this skillgustavscirulis/snapgrid | 116 | 1 repos | ~2.5k | Automated safety check: Notes | Custom licence | |
| Generatealirezarezvani/claude-skills | 28k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Fal Generatenexu-io/open-design | 100k | — | ~306 | Automated safety check: Pass | Apache-2.0 | |
| Video Generationbytedance/deer-flow | 84k | 3 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Image Generationonyx-dot-app/onyx | 32k | 1 repos | ~1.7k | Automated safety check: Pass | Custom licence | |
| Fal Restorenexu-io/open-design | 100k | — | ~302 | Automated safety check: Pass | Apache-2.0 |
alirezarezvani/claude-skills
Generate Playwright tests. An agent skill from alirezarezvani/claude-skills.
nexu-io/open-design
Generate images and videos using fal.ai AI models. An agent skill from nexu-io/open-design.
bytedance/deer-flow
Generates short videos from a structured JSON prompt, optionally guided by a reference image used as the first or last frame.
onyx-dot-app/onyx
Generate or edit raster images (photos, illustrations, textures, sprites, mockups, logos, infographics) using the workspace's configured image-generation provider via onyx-cli image.
nexu-io/open-design
Restore and fix image quality — deblur, denoise, fix faces, and restore old documents using fal.ai's hosted restoration models.
bytedance/deer-flow
Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.
gustavscirulis/snapgrid
Design and implement microinteractions, motion design, transitions, and user feedback patterns.
gustavscirulis/snapgrid
Generates an Apple-compliant account deletion flow with multi-step confirmation UI, optional data export, configurable grace period, Keychain cleanup, and server-side deletion request.
gustavscirulis/snapgrid
AlarmKit integration for scheduling alarms and timers with custom UI, Live Activities, and snooze support.
gustavscirulis/snapgrid
Interpret app metrics and make data-driven decisions. An agent skill from gustavscirulis/snapgrid.
gustavscirulis/snapgrid
Generates protocol-based analytics infrastructure with swappable providers (TelemetryDeck, Firebase, Mixpanel).
gustavscirulis/snapgrid
Generates an in-app announcement banner system with remote configuration, scheduling, deep link actions, and dismiss tracking.
Generates state preservation and restoration infrastructure for navigation paths, tab selection, scroll positions, and form data across app launches and background termination. State Restoration is an agent skill from gustavscirulis/snapgrid. Generates state preservation and restoration infrastructure for navigation paths, tab selection, scroll positions, and form data across app launches and background termination.
State Restoration fits situations like: user wants to save/restore app state; remember where the user left off; persist UI state.
Run `npx skills add gustavscirulis/snapgrid --skill state-restoration -a claude-code`. Or copy the skill folder (.claude/skills/skills/generators/state-restoration in gustavscirulis/snapgrid) into .claude/skills/state-restoration in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gustavscirulis/snapgrid --skill state-restoration -a codex`. Or copy the skill folder (.claude/skills/skills/generators/state-restoration in gustavscirulis/snapgrid) into .agents/skills/state-restoration in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gustavscirulis/snapgrid --skill state-restoration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/state-restoration, .gemini/skills/state-restoration, .github/skills/state-restoration and .opencode/skills/state-restoration in your project.
SKILL.md names no scripts, command-line tools or credentials: State Restoration is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
State Restoration has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with State Restoration: Generate (alirezarezvani/claude-skills, 28k stars), Fal Generate (nexu-io/open-design, 100k stars), Video Generation (bytedance/deer-flow, 84k stars) and Image Generation (onyx-dot-app/onyx, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gustavscirulis (a GitHub user) maintains it in gustavscirulis/snapgrid, which has 116 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on April 30, 2026.
Source: gustavscirulis/snapgrid on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.