Cx Observability Setup
coralogix/cx-cli
A skill your agent uses when the user asks to "set up monitoring", "configure observability", "onboard new service", "create saved view", "set up notifications", "configure webhook", "set up Slack…
Set up or troubleshoot Sentry error monitoring, tracing, offline cache and source maps in native mini programs, Taro or uni-app.
$ npx skills add lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lizhiyao/sentry-miniapp sentry-miniapp-sdk --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/lizhiyao/sentry-miniapp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sentry-miniapp-sdk .claude/skills/sentry-miniapp-sdk && 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 "sentry-miniapp-sdk" agent skill from https://github.com/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdk into .claude/skills/sentry-miniapp-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-miniapp-sdk", 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/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdkType 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 lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lizhiyao/sentry-miniapp sentry-miniapp-sdk --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lizhiyao/sentry-miniapp.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/sentry-miniapp-sdk .agents/skills/sentry-miniapp-sdk && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sentry-miniapp-sdk" agent skill from https://github.com/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdk into .agents/skills/sentry-miniapp-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-miniapp-sdk", 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 lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lizhiyao/sentry-miniapp sentry-miniapp-sdk --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lizhiyao/sentry-miniapp.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/sentry-miniapp-sdk .cursor/skills/sentry-miniapp-sdk && 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 "sentry-miniapp-sdk" agent skill from https://github.com/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdk into .cursor/skills/sentry-miniapp-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-miniapp-sdk", 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/lizhiyao/sentry-miniapp.git --path .agents/skills/sentry-miniapp-sdk--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 lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lizhiyao/sentry-miniapp sentry-miniapp-sdk --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lizhiyao/sentry-miniapp.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/sentry-miniapp-sdk .gemini/skills/sentry-miniapp-sdk && 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 "sentry-miniapp-sdk" agent skill from https://github.com/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdk into .gemini/skills/sentry-miniapp-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-miniapp-sdk", 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 lizhiyao/sentry-miniapp sentry-miniapp-sdkInstalls 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 lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lizhiyao/sentry-miniapp.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/sentry-miniapp-sdk .github/skills/sentry-miniapp-sdk && 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 "sentry-miniapp-sdk" agent skill from https://github.com/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdk into .github/skills/sentry-miniapp-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-miniapp-sdk", 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 lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lizhiyao/sentry-miniapp sentry-miniapp-sdk --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lizhiyao/sentry-miniapp.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/sentry-miniapp-sdk .opencode/skills/sentry-miniapp-sdk && 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 "sentry-miniapp-sdk" agent skill from https://github.com/lizhiyao/sentry-miniapp/tree/master/.agents/skills/sentry-miniapp-sdk into .opencode/skills/sentry-miniapp-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-miniapp-sdk", 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.
sentry-miniapp-sdkSet up or troubleshoot Sentry error monitoring, tracing, offline cache and source maps in native mini programs, Taro or uni-app.
Sentry Miniapp SDK is an agent skill from lizhiyao/sentry-miniapp. Set up or troubleshoot Sentry error monitoring, tracing, offline cache and source maps in native mini programs, Taro or uni-app. Supports WeChat, Alipay, ByteDance, Baidu, QQ, DingTalk, Kuaishou and WeChat/ByteDance minigames.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `.omk/samples.json`, `references/error-monitoring.md` and `references/offline-cache.md`).
It sits in DevOps & Cloud, covering Messaging and chat bots, Observability and Monitoring and alerting. It works with Sentry and WeChat. The repository describes itself as: Cross-platform Sentry SDK for Mini Programs & Mini Games — error monitoring, performance monitoring, Source Maps and end-to-end tracing | 跨端小程序 / 小游戏监控 SDK. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 90568a5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
rgnpmyarnFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
sentry-miniapp.pages.devFrom 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.
Sentry Miniapp SDK loads about 2.1k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 943 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 found no risky patterns in SKILL.md.
Automated 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.
The full file from lizhiyao/sentry-miniapp at commit 90568a5, republished under its MIT licence (© lizhiyao). 943 words, ~2,134 tokens.
.claude/skills/sentry-miniapp-sdk/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Use this skill when a user wants to integrate or troubleshoot sentry-miniapp in a consumer application. Discover the application's runtime, installed SDK and entry point before choosing code. This guide covers the stable 2.x contract.
Read project instructions and inspect the relevant application directory. Prefer rg; exclude generated bundles and dependencies when searching source.
rg --files -g 'package.json' -g '*lock*' -g '*project*.json' -g 'app.json' \
-g '*app.{js,ts,tsx,vue}' -g '*main.{js,ts}' \
-g '*config.{js,ts,mjs}' -g '!node_modules' -g '!dist'
rg -n 'sentry-miniapp|@tarojs/|@dcloudio/uni-' package.json
rg -n 'Sentry\.init|sentry-miniapp|errorHandler|componentDidCatch' \
src app.js app.ts -g '!node_modules' -g '!dist'Adjust search roots to files that exist; these commands illustrate discovery, not a required directory layout.
Determine:
project.config.json, Alipay's mini.project.json, ByteDance's project.tt.json and Baidu's project.swan.json are useful clues. Confirm QQ, DingTalk and Kuaishou from actual target configuration.app.js/app.ts; Taro uses src/app.tsx or its configured entry; Vue 3 uni-app usually initializes from src/main.js/main.ts.An unqualified install selects the current stable release; sentry-miniapp@2 selects the stable 2.x line. Use @next only when the user explicitly chooses a prerelease. Do not silently migrate an existing 1.x application. Use the version and migration guide, including its fixed 1.x documentation archive.
2.0 uses Core v11 and stream spans. Check the target Sentry deployment against the guide's support baseline; successful error ingestion alone does not prove support for spans, Logs, Metrics or Sessions.
Implement the requested coverage. Resolve routine setup choices from the project and user intent; ask only for missing information that affects the result.
| Coverage | When to add it | Reference |
|---|---|---|
| Error monitoring and framework handlers | Basic integration or missing errors | error-monitoring.md |
| HTTP and business tracing | Latency measurement or backend trace correlation | tracing.md |
| Offline cache and consent | Weak networks or a stated privacy requirement | offline-cache.md |
| Source Map upload | Readable stacks from deployed builds | sourcemap.md |
Load only the references needed for the work. Automatic capture depends on available host APIs; optional Performance observers and FPS are not universal platform capabilities.
Use the consumer's existing package manager. For a chosen 2.x release, pin the resolved version and retain the lockfile:
npm install --save-exact sentry-miniapp@2
# Or, in a Yarn project:
yarn add --exact sentry-miniapp@2For native WeChat projects, run Tools → Build npm in the developer tools after installation or updates. Check the package.json/miniprogramRoot layout against the native installation guide; framework projects use their own build pipeline.
Copy the complete DSN from the target Sentry project; do not construct its hostname. Configure the exact envelope request host as a legal request domain, or configure the chosen tunnel's host. Verify with device debugging and domain-check bypass disabled.
Initialize once, as early as practical, before native App() registration and business requests. In framework projects, put initialization in a dedicated module imported before the application module. Do not put init() inside a temporary scope or an unfinished async span.
// Native app.js
const Sentry = require('sentry-miniapp');
Sentry.init({
dsn: 'YOUR_DSN', // Copy the complete project DSN.
release: 'my-miniapp@1.0.0',
environment: 'production',
});
App({
// Existing application configuration.
});For Taro and uni-app, follow their actual entry and preserve existing framework error handling:
H5 needs the official browser/framework SDK through target-specific imports. sentry-miniapp does not provide browser DOM or fetch/XHR instrumentation.
Runtime APIs come from the detected host. Set miniappPlatform only to correct an ambiguous event label; it does not switch the host API. Values are wechat, alipay, bytedance, qq, swan, dingtalk and kuaishou. The event's top-level platform stays javascript.
WeChat/ByteDance minigames have no App/Page model. Automatic Session tracking requires both native show/hide listeners to register successfully; missing capabilities produce diagnostics. First frame measures SDK installation to the first rAF, not full cold start. FPS/jank defaults off; opt in with enableMinigameFrameRate: true only when needed. See the minigame guide.
Use the configuration reference for the complete option list. Apply these boundaries when choosing settings:
sampleRate; traces use tracesSampleRate or tracesSampler and are off until configured.tracePropagationTargets defaults to an empty list. Add anchored URL allowlists only for backends the application controls.dataCollection governs automatic fields. userInfo: false stops automatic error IP inference, but does not erase explicit setUser fields or arbitrary business logs.beforeSend, beforeSendLog and beforeSendMetric for their respective data. beforeSendSpan edits streamed spans; ignoreSpans filters them.requireConsent gates sending, not collection. See the offline/consent reference before changing that policy.SpanStreaming when enabling tracing; replacing the full default set requires installing it explicitly.Run the consumer's relevant checks and build the actual target. Verify progressively:
An event ID means capture was attempted. flush() returning true is not a backend receipt or proof of symbolication. Local tests do not establish survival across host freezing or process termination.
Report which version, build, runtime and backend were actually verified. Keep untested capabilities explicit, and include concise remaining steps only when they require user access or a real-device action.
© lizhiyao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in .agents/skills/sentry-miniapp-sdk of lizhiyao/sentry-miniapp.
Open the folder on GitHubat commit 90568a5
Sentry Miniapp SDK 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 |
|---|---|---|---|---|---|---|
| Sentry Miniapp SDK this skilllizhiyao/sentry-miniapp | 687 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Cx Observability Setupcoralogix/cx-cli | 121 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Sentry Observabilityjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~3.7k | Automated safety check: Pass | MIT | |
| Sentry Performance Tracingjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~4.1k | Automated safety check: Pass | MIT | |
| Axiom Dashboard Builderopenclaw/clawhub | 9.5k | — | ~4.9k | Automated safety check: Pass | MIT | |
| Happy Infra Metrics and Grafanaslopus/happy | 24k | — | ~2k | Automated safety check: Notes | MIT |
coralogix/cx-cli
A skill your agent uses when the user asks to "set up monitoring", "configure observability", "onboard new service", "create saved view", "set up notifications", "configure webhook", "set up Slack…
jeremylongshore/tons-of-skills-marketplace
Integrate Sentry with your observability stack — logging, metrics, APM, and dashboards.
jeremylongshore/tons-of-skills-marketplace
Set up performance monitoring and distributed tracing with Sentry.
openclaw/clawhub
Designs and deploys Axiom dashboards through the API, choosing chart types and writing APL or metrics queries, with templates and migration notes for Splunk and Grafana.
slopus/happy
Queries live Prometheus metrics and manages Grafana dashboards as code for Happy's infrastructure, using the grafanactl CLI and the Grafana datasource proxy API.
openclaw/clawhub
Finds unused data in Axiom by analyzing query patterns, then deploys a cost dashboard and ingest monitors to keep spend under the contract limit.
Categories
Set up or troubleshoot Sentry error monitoring, tracing, offline cache and source maps in native mini programs, Taro or uni-app. Sentry Miniapp SDK is an agent skill from lizhiyao/sentry-miniapp. Set up or troubleshoot Sentry error monitoring, tracing, offline cache and source maps in native mini programs, Taro or uni-app.
Sentry Miniapp SDK fits situations like: tasks that involve Messaging and chat bots; tasks that involve Observability; tasks that involve Monitoring and alerting.
Run `npx skills add lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a claude-code`. Or copy the skill folder (.agents/skills/sentry-miniapp-sdk in lizhiyao/sentry-miniapp) into .claude/skills/sentry-miniapp-sdk in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a codex`. Or copy the skill folder (.agents/skills/sentry-miniapp-sdk in lizhiyao/sentry-miniapp) into .agents/skills/sentry-miniapp-sdk 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 lizhiyao/sentry-miniapp --skill sentry-miniapp-sdk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sentry-miniapp-sdk, .gemini/skills/sentry-miniapp-sdk, .github/skills/sentry-miniapp-sdk and .opencode/skills/sentry-miniapp-sdk in your project.
Going by SKILL.md and its folder, Sentry Miniapp SDK needs the command-line tools its instructions call (rg, npm and yarn). Our summary lists: Node.js.
SKILL.md names 1 domain. As links in the text: sentry-miniapp.pages.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sentry Miniapp SDK is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Sentry Miniapp SDK: Cx Observability Setup (coralogix/cx-cli, 121 stars), Sentry Observability (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Sentry Performance Tracing (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Axiom Dashboard Builder (openclaw/clawhub, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lizhiyao (a GitHub user) maintains it in lizhiyao/sentry-miniapp, which has 687 GitHub stars. The repository was last updated on October 11, 2026.
Source: lizhiyao/sentry-miniapp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.