sentry-miniapp: Skill for Claude Code

.agents/skills/sentry-miniapp-sdk/SKILL.md

sentry-miniapp-sdk is a skill for Claude Code from lizhiyao/sentry-miniapp. It costs 59 tokens per session (4,380 once invoked), scanned A, original, MIT.

Setup guidance for using sentry-miniapp, a community Sentry SDK that monitors errors and performance in mini programs. Mini programs are apps running inside platforms such as WeChat, Alipay, or ByteDance, and the SDK also covers frameworks such as Taro and uni-app.

In plain words
What is it for?
Use it when adding error monitoring, performance tracing, offline caching, or source-map support to native or cross-platform mini-program projects.
Why use it?
It helps add monitoring without overlooking platform differences, offline data, source maps, or existing Sentry configuration. The instructions also require checking the current SDK documentation before implementation.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is lizhiyao/sentry-miniapp's own configuration. It tells Claude Code how to work on sentry-miniapp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sentry-miniapp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lizhiyao/sentry-miniapp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lizhiyao/sentry-miniapp/master/.agents/skills/sentry-miniapp-sdk/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lizhiyao/sentry-miniapp

Made for: Claude Code.

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-miniapp-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/lizhiyao/sentry-miniapp/sentry-miniapp-sdk/github.svg)](https://agentmods.dev/skills/lizhiyao/sentry-miniapp/sentry-miniapp-sdk)
Your own site
<a href="https://agentmods.dev/skills/lizhiyao/sentry-miniapp/sentry-miniapp-sdk"><img src="https://agentmods.dev/badge/skills/lizhiyao/sentry-miniapp/sentry-miniapp-sdk/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-miniapp-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/lizhiyao/sentry-miniapp/sentry-miniapp-sdk"><img src="https://agentmods.dev/badge/skills/lizhiyao/sentry-miniapp/sentry-miniapp-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,380 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00059 $0.04380
Opus 5 $0.00030 $0.02190
Sonnet 5 $0.00012 $0.00876
Haiku 4.5 $0.00006 $0.00438

Measured 6d ago against content hash 584fc2903784, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sentry-miniapp-sdk 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 6d ago.

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.

.agents/skills/sentry-miniapp-sdk/SKILL.md · 365 lines

How it starts

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

Sentry Mini Program SDK Setup

Set up Sentry error monitoring, performance tracing, and offline caching in mini program projects using sentry-miniapp — a community SDK built on @sentry/core v10.

Invoke This Skill When

  • User mentions mini program, miniapp, 小程序, WeChat, Alipay, ByteDance, Taro, uni-app alongside Sentry
  • User wants to add error monitoring or performance tracking to a mini program
  • User asks about Sentry support for WeChat/Alipay/ByteDance mini programs
  • User imports or references sentry-miniapp in their project

Note: SDK versions and APIs reflect the current sentry-miniapp docs. Always verify against the sentry-miniapp README before implementing.


Phase 1: Detect

Run these commands to understand the project:

# Detect mini program platform
ls app.json project.config.json mini.project.json project.tt.json project.swan.json project.qq.json 2>/dev/null
cat app.json 2>/dev/null | head -20

# Detect framework (Taro / uni-app / native)
cat package.json 2>/dev/null | grep -E '"@tarojs/|"@dcloudio/uni-|"sentry-miniapp"'

# Check for existing Sentry SDK
grep -r "sentry" package.json 2>/dev/null
grep -r "Sentry.init" app.js app.ts src/app.js src/app.ts 2>/dev/null

# Detect entry point
ls app.js app.ts src/app.js src/app.ts 2>/dev/null

# Detect package manager
ls yarn.lock pnpm-lock.yaml package-lock.json 2>/dev/null

What to determine:

Question Impact
Which mini program platform? Determines whether miniappPlatform is needed and which host APIs are used
Native or cross-platform framework (Taro/uni-app)? Determines init pattern and build config
Is sentry-miniapp already installed? Skip install if present, check version
Where is the app entry point? Determines where to place Sentry.init()
Is there a build tool config (webpack/vite)? Needed for Source Map setup

Read the full file on GitHub · 365 lines

Files

What ships with it

5 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. 6d ago Changed 584fc2903784
  2. 12d ago First seen · 365 lines · 59 tokens per session scan A d1fccf367dcc

Subscribe to this mod's changes

sentry-miniapp-sdk is a skill published in the GitHub repository lizhiyao/sentry-miniapp (684 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 4,380 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

error-monitoring

Error monitoring and observability: tool comparison (Sentry, LogRocket, DataDog, New Relic), Sentry setup, structured logging, React error boundaries, alerting, and source maps. Use when setting up error tracking, observability, or debugging production issues.

zebbern/termstack · 59 tokens

temps-plugin

Build external plugins for the Temps deployment platform. Use when the user wants to create, modify, or debug a Temps plugin binary — a standalone Rust process that communicates with Temps over a Unix domain socket. Also use when the user mentions "temps plugin", "external plugin", "plugin binary", "plugin for temps"…

gotempsh/temps · 120 tokens

sentry-android-sdk

Full Sentry SDK setup for Android. Use when asked to "add Sentry to Android", "install sentry-android", "setup Sentry in Android", or configure error monitoring, tracing, profiling, session replay, or logging for Android applications. Supports Kotlin and Java codebases.

getsentry/sentry-for-ai · 64 tokens

sentry-nestjs-sdk

Full Sentry SDK setup for NestJS. Use when asked to "add Sentry to NestJS", "install @sentry/nestjs", "setup Sentry in NestJS", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for NestJS applications. Supports Express and Fastify adapters, GraphQL, microservices…

getsentry/sentry-for-ai · 89 tokens

sentry-node-sdk

Full Sentry SDK setup for Node.js, Bun, and Deno. Use when asked to "add Sentry to Node.js", "add Sentry to Bun", "add Sentry to Deno", "install @sentry/node", "@sentry/bun", or "@sentry/deno", or configure error monitoring, tracing, logging, profiling, metrics, crons, or AI monitoring for server-side…

getsentry/sentry-for-ai · 98 tokens

sentry-dotnet-sdk

Full Sentry SDK setup for .NET. Use when asked to "add Sentry to .NET", "install Sentry for C#", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.

getsentry/sentry-for-ai · 75 tokens