sentry-snapshots-cocoa

sentry-snapshots-cocoa is a skill for Cursor from getsentry/plugin-cursor. It costs 60 tokens per session (1,328 once invoked), scanned A, a copy of sentry-snapshots-cocoa, MIT.

A setup guide for collecting snapshot images from Apple apps and sending them to Sentry Snapshots, a Sentry service for reviewing visual test results. It supports Apple projects using Cocoa or Swift.

In plain words
What is it for?
Use it to set up SnapshotPreviews, Apple snapshot testing, snapshot uploads to Sentry, GitHub Actions for snapshots, or selective snapshot testing.
Why use it?
It helps configure snapshot testing and its automated checks without losing an existing snapshot-image generator. It also identifies when a Swift package needs a host app or test target.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the sentry plugin — 8 skills shipped together

Good fit Use it to set up SnapshotPreviews, Apple snapshot testing, snapshot uploads to Sentry, GitHub Actions for snapshots, or selective snapshot testing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getsentry/plugin-cursor/sentry-snapshots-cocoa
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add getsentry/plugin-cursor --skill sentry-snapshots-cocoa
Clone the repo
git clone --depth 1 https://github.com/getsentry/plugin-cursor

Made for: Cursor.

Or install sentry, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sentry-snapshots-cocoa

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/plugin-cursor/sentry-snapshots-cocoa/github.svg)](https://agentmods.dev/skills/getsentry/plugin-cursor/sentry-snapshots-cocoa)
Your own site
<a href="https://agentmods.dev/skills/getsentry/plugin-cursor/sentry-snapshots-cocoa"><img src="https://agentmods.dev/badge/skills/getsentry/plugin-cursor/sentry-snapshots-cocoa/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sentry-snapshots-cocoa

Your own site · 80×15
<a href="https://agentmods.dev/skills/getsentry/plugin-cursor/sentry-snapshots-cocoa"><img src="https://agentmods.dev/badge/skills/getsentry/plugin-cursor/sentry-snapshots-cocoa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01328
Opus 5.5 $0.00024 $0.00531
Sonnet 5.5 $0.00012 $0.00266
Haiku 4.5 $0.00006 $0.00133

Measured yesterday against content hash 5409028f9c41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sentry-snapshots-cocoa scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to sentry-snapshots-cocoa — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/sentry-snapshots-cocoa/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sentry Snapshots for Apple/Cocoa

Scope

  • Goal: generate Apple snapshot images and upload them to Sentry Snapshots.
  • Detect existing snapshot generation first, including Point-Free swift-snapshot-testing; preserve it when it already emits or can emit PNGs or JPEGs.
  • Use the Sentry Wizard appleSnapshots flow only when setting up Sentry’s first-party SnapshotPreviews solution.
  • Use manual setup only if the wizard is unavailable, cannot resolve targets non-interactively after disambiguation, or fails after explicit disambiguation.
  • Package-only SwiftPM: stop and ask for the host app/test target; standalone swift test rendering is not supported.

Snapshot uploads send generated images and metadata to Sentry. Confirm the target organization/project and export directory, and check whether the images contain customer data or other sensitive content before uploading. Upload only the selected snapshot output within the user’s requested scope.

Detect

Do only enough detection to route before calling the wizard:

# SnapshotPreviews (Sentry first-party) -> prefer wizard / SnapshotPreviews routing
find . \( -name Package.swift -o -name Package.resolved -o -path '*/project.pbxproj' \) -print0 2>/dev/null | xargs -0 grep -lE "SnapshotPreviews" 2>/dev/null

# Point-Free swift-snapshot-testing -> preserve generator, swift-snapshot-testing CI path
find . \( -name Package.swift -o -name Package.resolved -o -path '*/project.pbxproj' \) -print0 2>/dev/null | xargs -0 grep -lE "swift-snapshot-testing|SnapshotTesting|assertSnapshot|__Snapshots__|TEST_RUNNER_SNAPSHOT_TESTING_RECORD" 2>/dev/null

# Required wizard input
find . -name '*.xcodeproj' -print 2>/dev/null | head -20

# Workflow shape
ls fastlane/Fastfile Gemfile 2>/dev/null

# Sentry auth presence only -> never print secret values
[ -n "$SENTRY_AUTH_TOKEN" ] && echo "SENTRY_AUTH_TOKEN=set" || echo "SENTRY_AUTH_TOKEN=unset"
[ -n "$SENTRY_ORG" ] && echo "SENTRY_ORG=set" || echo "SENTRY_ORG=unset"
[ -n "$SENTRY_PROJECT" ] && echo "SENTRY_PROJECT=set" || echo "SENTRY_PROJECT=unset"

Read the full file on GitHub · 107 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +5 lines 5409028f9c41
  2. 1mo ago First seen · 102 lines · 60 tokens per session scan A 1a3e9a08aac9

Subscribe to this mod's changes

sentry-snapshots-cocoa is a skill published in the GitHub repository getsentry/plugin-cursor (3 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 1,328 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to sentry-snapshots-cocoa, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

sentry-snapshots-cocoa

Full Sentry Snapshots setup for Apple/Cocoa projects. Use when asked to "setup SnapshotPreviews", "setup Apple snapshot testing", "upload Apple snapshots to Sentry", "setup Apple snapshot GitHub Actions", or "setup Apple selective snapshot testing".

getsentry/sentry-for-ai · 60 tokens

dotagents-qa

QA dotagents changes and published releases in Docker, including CLI lifecycles, user/global scope, real plugins, and Claude, Copilot, Codex, OpenCode, or Pi projections. Use when behavior, packaging, scopes, or harness integration needs runtime proof.

getsentry/dotagents · 59 tokens

sentry-snapshots-cocoa

Full Sentry Snapshots setup for Apple/Cocoa projects. Use when asked to "setup SnapshotPreviews", "setup Apple snapshot testing", "upload Apple snapshots to Sentry", "setup Apple snapshot GitHub Actions", or "setup Apple selective snapshot testing".

getsentry/plugin-claude · 60 tokens

sentry-debug-issue

Debug and fix a Sentry issue — find it (by link, ID, or search), pull full context (stack trace, breadcrumbs, trace, logs), optionally run Seer root-cause / autofix, apply the code fix, and resolve it via a Fixes PROJECT-NAME-12A commit/PR. Use when working a known error or hunting one down to fix.

getsentry/plugin-claude · 86 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

eval-dataset-design

A guide to creating reliable test sets for AI agents. Each evaluation task includes the request, the simulated user's behaviour, a reset starting state, and a success check that can be independently verified.

bojieli/ai-agent-book · 138 tokens