Sentry Issue Fix Loop
tixl3d/tixl
Walks through open Sentry issues for the tooll3 project, latest first, proposing a fix for each and committing them one at a time with your review between.
Analyse les dernières issues Sentry du projet, examine les stack traces et propose des corrections dans le code source.
$ npx skills add SocialGouv/code-du-travail-numerique --skill sentry-issues -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SocialGouv/code-du-travail-numerique sentry-issues --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/SocialGouv/code-du-travail-numerique.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sentry-issues .claude/skills/sentry-issues && 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-issues" agent skill from https://github.com/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issues into .claude/skills/sentry-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-issues", 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/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issuesType 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 SocialGouv/code-du-travail-numerique --skill sentry-issues -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SocialGouv/code-du-travail-numerique sentry-issues --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SocialGouv/code-du-travail-numerique.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/sentry-issues .agents/skills/sentry-issues && 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-issues" agent skill from https://github.com/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issues into .agents/skills/sentry-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-issues", 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 SocialGouv/code-du-travail-numerique --skill sentry-issues -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SocialGouv/code-du-travail-numerique sentry-issues --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SocialGouv/code-du-travail-numerique.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/sentry-issues .cursor/skills/sentry-issues && 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-issues" agent skill from https://github.com/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issues into .cursor/skills/sentry-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-issues", 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/SocialGouv/code-du-travail-numerique.git --path .claude/skills/sentry-issues--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 SocialGouv/code-du-travail-numerique --skill sentry-issues -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SocialGouv/code-du-travail-numerique sentry-issues --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SocialGouv/code-du-travail-numerique.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/sentry-issues .gemini/skills/sentry-issues && 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-issues" agent skill from https://github.com/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issues into .gemini/skills/sentry-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-issues", 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 SocialGouv/code-du-travail-numerique sentry-issuesInstalls 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 SocialGouv/code-du-travail-numerique --skill sentry-issues -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SocialGouv/code-du-travail-numerique.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/sentry-issues .github/skills/sentry-issues && 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-issues" agent skill from https://github.com/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issues into .github/skills/sentry-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-issues", 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 SocialGouv/code-du-travail-numerique --skill sentry-issues -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SocialGouv/code-du-travail-numerique sentry-issues --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SocialGouv/code-du-travail-numerique.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/sentry-issues .opencode/skills/sentry-issues && 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-issues" agent skill from https://github.com/SocialGouv/code-du-travail-numerique/tree/dev/.claude/skills/sentry-issues into .opencode/skills/sentry-issues/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-issues", 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-issuesAnalyse les dernières issues Sentry du projet, examine les stack traces et propose des corrections dans le code source.
Sentry Issues is an agent skill from SocialGouv/code-du-travail-numerique. Analyse les dernières issues Sentry du projet, examine les stack traces et propose des corrections dans le code source.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Debugging. It works with Sentry. The repository describes itself as: Code du Travail Numérique. The licence is Apache-2.0.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1454fab. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadEditGrepGlobAgentFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
sentry2.fabrique.social.gouv.frFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
SENTRY_AUTH_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sentry Issues loads about 1.3k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 528 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Edit, Grep, Glob, AgentAutomated 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 SocialGouv/code-du-travail-numerique at commit 1454fab, republished under its Apache-2.0 licence (© SocialGouv). 528 words, ~1,250 tokens.
.claude/skills/sentry-issues/SKILL.md (or your agent's skills folder).Tu es un agent spécialisé dans l'analyse des erreurs Sentry pour le projet Code du travail numérique.
https://sentry2.fabrique.social.gouv.frincubateurfabnum-code-du-travail-numeriqueSENTRY_AUTH_TOKEN. Si elle n'est pas définie, demande le token à l'utilisateur avant de continuer. Ne jamais le lire depuis un fichier de config.packages/code-du-travail-frontend/$ARGUMENTS peut contenir :--assign : assigner les issues à l'utilisateur courant après analyse--comment <PR_URL> : ajouter un commentaire sur chaque issue avec le lien vers la PR--fix : proposer et appliquer des corrections dans le code sourceVérifie si la variable d'environnement SENTRY_AUTH_TOKEN est définie :
echo "${SENTRY_AUTH_TOKEN:-NOT_SET}"NOT_SET), demande à l'utilisateur de fournir son token Sentry (Auth Token commençant par sntryu_). Attends sa réponse avant de continuer. Ne tente PAS de le lire depuis un fichier.Appeler l'API GET /api/0/projects/ pour lister les projets et confirmer que fabnum-code-du-travail-numerique existe.
GET /api/0/projects/incubateur/fabnum-code-du-travail-numerique/issues/?query=is:unresolved&sort=date&limit={N}Pour chaque issue, afficher : ID, titre, culprit (route), niveau, nombre d'occurrences, première/dernière apparition.
Pour chaque issue pertinente (ignorer les titres minifiés sauf si on peut récupérer le message original) :
GET /api/0/issues/{issue_id}/events/latest/Extraire :
inApp: true)Classer chaque issue dans une catégorie :
Math.random(), generateUUID(), Date.now(), typeof window, usePathname() sans garde dans le code sourceSentry.captureMessage ou captureException appelés pour des pages non trouvées--fix)Pour chaque issue identifiée comme corrigeable :
Grep et GlobEditCorrections types :
Math.random() / uuid() dans le rendu SSR par des IDs déterministescaptureMessage/captureException pour les 404ChunkLoadError dans le error boundarycaptureException (ajouter extra)--comment <PR_URL>)Pour chaque issue, ajouter un commentaire via :
POST /api/0/issues/{issue_id}/notes/
{"text": "Fix en cours dans la PR <PR_URL>\n\nCause : <explication>\nFix : <description du fix>\n\n-> A passer en fixed après merge et release."}--assign)Récupérer l'ID utilisateur courant via les notes existantes sur une issue :
GET /api/0/issues/{issue_id}/notes/Puis assigner :
PUT /api/0/issues/{issue_id}/
{"assignedTo": "user:{user_id}"}Afficher un tableau récapitulatif :
| # | Issue | Occurrences | Catégorie | Action | Statut |
|---|
SENTRY_AUTH_TOKEN n'est pas défini, toujours demander le token à l'utilisateurjq pour parser le JSON (plus concis et lisible). Si jq n'est pas disponible, utiliser python3 en fallbackExplore pour la performance© SocialGouv, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/sentry-issues of SocialGouv/code-du-travail-numerique.
Open the folder on GitHubat commit 1454fab
Sentry Issues 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 Issues this skillSocialGouv/code-du-travail-numerique | 122 | — | ~1.3k | Automated safety check: Notes | Apache-2.0 | |
| Sentry Issue Fix Looptixl3d/tixl | 5.1k | — | ~2.1k | Automated safety check: Notes | MIT | |
| Sentrymitsuhiko/agent-stuff | 3.2k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Sentry Auditqianyumeng0228/ShizukuX | 115 | — | ~490 | Automated safety check: Pass | Apache-2.0 | |
| Production Error Huntdifferent-ai/openwork | 24k | — | ~803 | Automated safety check: Pass | Custom licence | |
| Debug With Sentrysuperset-sh/superset | 15k | — | ~828 | Automated safety check: Pass | Custom licence |
tixl3d/tixl
Walks through open Sentry issues for the tooll3 project, latest first, proposing a fix for each and committing them one at a time with your review between.
mitsuhiko/agent-stuff
Fetch and analyze Sentry issues, events, transactions, and logs.
qianyumeng0228/ShizukuX
Fetches unresolved Sentry issues and maps stack traces to local codebase for ShizukuPlus.
different-ai/openwork
Traces an opaque production error in an OpenWork build to its cause using local server logs and Sentry, names the regressing PR and files a report.
superset-sh/superset
Root-cause a production error with Sentry's evidence before touching code — pull the issue, read the stack trace and breadcrumbs, and separate the crash from its trigger.
getsentry/sentry-for-ai
Find and fix issues from Sentry using MCP. An agent skill from getsentry/sentry-for-ai.
SocialGouv/code-du-travail-numerique
Rédige/actualise le plan de tracking Matomo métier (events/TRACKINGPLAN.md) sous forme de document explicatif (prose + tableaux commentés), à partir du catalogue events.extracted.json et du code…
Works with
Categories
Analyse les dernières issues Sentry du projet, examine les stack traces et propose des corrections dans le code source. Sentry Issues is an agent skill from SocialGouv/code-du-travail-numerique. Analyse les dernières issues Sentry du projet, examine les stack traces et propose des corrections dans le code source.
Sentry Issues fits situations like: tasks that involve Debugging.
Run `npx skills add SocialGouv/code-du-travail-numerique --skill sentry-issues -a claude-code`. Or copy the skill folder (.claude/skills/sentry-issues in SocialGouv/code-du-travail-numerique) into .claude/skills/sentry-issues in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SocialGouv/code-du-travail-numerique --skill sentry-issues -a codex`. Or copy the skill folder (.claude/skills/sentry-issues in SocialGouv/code-du-travail-numerique) into .agents/skills/sentry-issues 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 SocialGouv/code-du-travail-numerique --skill sentry-issues -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-issues, .gemini/skills/sentry-issues, .github/skills/sentry-issues and .opencode/skills/sentry-issues in your project.
Going by SKILL.md and its folder, Sentry Issues needs credentials named SENTRY_AUTH_TOKEN. Our summary lists: A credential in SENTRY_AUTH_TOKEN. Its frontmatter pre-approves these tools: Bash, Read, Edit, Grep, Glob, Agent.
SKILL.md names 1 domain. In commands or code: sentry2.fabrique.social.gouv.fr; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Sentry Issues is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sentry Issues: Sentry Issue Fix Loop (tixl3d/tixl, 5.1k stars), Sentry (mitsuhiko/agent-stuff, 3.2k stars), Sentry Audit (qianyumeng0228/ShizukuX, 115 stars) and Production Error Hunt (different-ai/openwork, 24k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SocialGouv (a GitHub organization) maintains it in SocialGouv/code-du-travail-numerique, which has 122 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 6, 2026.
Source: SocialGouv/code-du-travail-numerique on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.