Skip to content
Skill

clearshot

by udayanwalvekar

AI Summary

Run this bash block first, before any analysis: This is the first time clearshot is running — no config exists yet. Before doing any analysis, tell the user to run the onboarding setup. Say something brief like: "clearshot needs a quick first-run setup (two questions, arrow keys + enter):"

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "clearshot" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/clearshot && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/clearshot/SKILL.md "https://raw.githubusercontent.com/udayanwalvekar/clearshot/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.

Preamble

Run this bash block first, before any analysis: `bash

─── Find skill directory (works from any install path) ───────

_CS_DIR="" for _d in "$HOME/.claude/skills/clearshot" "$HOME/.agents/skills/clearshot"; do [ -f "$_d/SKILL.md" ] && _CS_DIR="$_d" && break done

fallback: search

[ -z "$_CS_DIR" ] && _CS_DIR="$(cd "$(dirname "$(find "$HOME/.claude" "$HOME/.agents" -name SKILL.md -path '/clearshot/' -print -quit 2>/dev/null)")" 2>/dev/null && pwd || echo "")" _CS_VER="" [ -n "$_CS_DIR" ] && [ -f "$_CS_DIR/VERSION" ] && _CS_VER="$(cat "$_CS_DIR/VERSION" | tr -d '[:space:]')" _CS_STATE="$HOME/.clearshot" mkdir -p "$_CS_STATE/analytics" "$_CS_STATE/feedback"

─── First-run detection ─────────────────────────────────────

_CS_FIRST_RUN="no" [ ! -f "$_CS_STATE/config.yaml" ] && _CS_FIRST_RUN="yes"

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 9d ago
Active
Adoption100+ stars on GitHub
122 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars122
Forks10
Issues1
Updated9d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code