Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Ampli-Group/agentic-mobile-blueprintnpx agentmods add skills/ampli-group/agentic-mobile-blueprint/sentry-integrationWrote 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.
[](https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/sentry-integration)<a href="https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/sentry-integration"><img src="https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/sentry-integration/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.
<a href="https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/sentry-integration"><img src="https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/sentry-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00575 |
| Opus 5.5 | $0.00010 | $0.00230 |
| Sonnet 5.5 | $0.00005 | $0.00115 |
| Haiku 4.5 | $0.00003 | $0.00057 |
Grade A, and why
sentry-integration 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sentry Integration for Supabase Edge Functions
Helpers Available
Module _shared/sentry.ts provides:
initSentry()- Initialize (call once)handleError()- Capture errors automaticallysetSentryUser()- Track user (optional)addBreadcrumb()- Track flow (optional)
Usage
Basic Pattern
import { initSentry, handleError } from '../_shared/sentry.ts';
initSentry();
Deno.serve(async (req: Request) => {
if (req.method === 'OPTIONS') {
return new Response('ok', { headers: corsHeaders });
}
try {
const result = await processData();
return new Response(JSON.stringify({ success: true }));
} catch (error) {
return handleError(error, { functionName: 'my-function', corsHeaders });
}
});
With User Context
import { initSentry, setSentryUser, handleError } from '../_shared/sentry.ts';
import { authenticate } from '../_shared/auth.ts';
initSentry();
Deno.serve(async (req: Request) => {
try {
const { user } = await authenticate(req);
setSentryUser(user.id, user.email);
// Your logic
return new Response(JSON.stringify({ success: true }));
} catch (error) {
return handleError(error, { functionName: 'auth-function', corsHeaders });
}
});
With Breadcrumbs
import { initSentry, addBreadcrumb, handleError } from '../_shared/sentry.ts';
initSentry();
try {
addBreadcrumb('Started processing');
const result = await process();
addBreadcrumb('Completed', { count: result.length });
} catch (error) {
return handleError(error, { functionName: 'processor', corsHeaders });
}
Setup
-
Set SENTRY_DSN in
.env.local:SENTRY_DSN=https://[email protected]/123456 -
Module exists at
supabase/functions/_shared/sentry.ts(already created)
What Gets Captured
✅ Error message and stack trace
✅ Function name (tagged)
✅ Request details
✅ User context (if set)
✅ Breadcrumbs (if added)
❌ Authorization headers (auto-removed)
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.
- 3mo ago First seen · 102 lines · 25 tokens per session scan A bc32ef99d089
sentry-integration is a skill published in the GitHub repository Ampli-Group/agentic-mobile-blueprint (4 stars, last pushed 3mo ago), licensed MIT. It adds 25 tokens to every session and 575 once invoked, about $0.0001 per session on Opus 5.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-31.
sentry-integration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sentry-integrationAmpli-Group/agentic-mobile-blueprint | Skill | 4 | 3mo ago | MIT | A | 25 | Claude Code, Codex |
| factory-triagemastra-ai/mastra | Skill | 30k | today | none | A | 27 | Claude Code, Codex |
| understand-issuemastra-ai/mastra | Skill | 30k | today | none | A | 70 | Claude Code, Codex |
| triage-issuemastra-ai/mastra | Skill | 30k | today | none | A | 14 | Claude Code, Codex |
| gh-bulk-issuesmastra-ai/mastra | Skill | 30k | today | none | A | 25 | Claude Code, Codex |
| dpf-evidence-before-diagnosisOpenDigitalProductFactory/opendigitalproductfactory | Skill | 15 | today | Apache-2.0 | A | 37 | Claude Code |
| build-recoveryQuantumByteOSS/quantumbyte | Skill | 238 | 1mo ago | Apache-2.0 | A | 67 | Claude Code, Codex |