Skip to content
Back to skills

O11y Dev

ASecurity

Read the errors, logs and traces of the branch you are working on, from the dev side of observability (GlitchTip dev projects, environment=dev logs and traces), read-only. Runs on the workstation inside the project's git worktree over the tailnet, no ssh. Never files a GitHub issue, never resolves a GlitchTip issue. Use before opening a PR, after running the dev server or the tests, and for "check my branch's errors", "what did my branch log", "dev errors". For production questions use o11y-p...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 23, 2026
ai-agentspythongobashgit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 23, 2026

npx -y skills add chipi/agentic-ai-homelab --skill o11y-dev --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of O11y Dev?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for O11y Dev
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chipi-o11y-dev/badge)](https://www.skillsdirectory.com/skills/chipi-o11y-dev)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: o11y-dev
description: Read the errors, logs and traces of the branch you are working on, from the dev side of observability (GlitchTip dev projects, environment=dev logs and traces), read-only. Runs on the workstation inside the project's git worktree over the tailnet, no ssh. Never files a GitHub issue, never resolves a GlitchTip issue. Use before opening a PR, after running the dev server or the tests, and for "check my branch's errors", "what did my branch log", "dev errors". For production questions use o11y-prod.
---

# o11y-dev

The dev half of observability: what your branch's dev runs reported. Dev errors are for the agent
working on that branch. They never become GitHub issues (the triage fleet skips dev entirely) and
this skill never resolves or writes anything. Production is `o11y-prod`.

## Run

From inside the project's worktree:

```bash
python3 ~/.claude/skills/o11y-dev/scripts/o11y_dev.py
python3 ~/.claude/skills/o11y-dev/scripts/o11y_dev.py --branch tech-debt/0.9.9 --since 14d
```

- **Project** comes from `git remote get-url origin`, **branch** from `git rev-parse --abbrev-ref HEAD`;
  override with `--project` and `--branch`.
- **Window** starts at the branch's first commit off `origin/main`; `--since 90m|16h|14d|<ISO>` overrides;
  fallback 7 days.
- **Token:** `GLITCHTIP_DEV_TOKEN` in the environment, else `~/.config/glitchtip/dev-agents-read.env`
  (read-only: event:read, project:read, org:read). Never printed.

It ends with one line and exits 0, or 2 when a source could not be read:

```text
O11Y-DEV chipi/orrery tech-debt/0.9.9: errors=10 (branch-filtered), error-logs=0, failed-traces=0
```

`NOT CHECKED <source>: <reason>` means that source was not read: the numbers do not cover it, and zero
there is not "no errors".

## Read it

1. **"not branch-filtered" is every dev error in the window**, from every worktree of that project, not
   only yours. Compare the title and culprit with what you changed before claiming one is yours.
2. **Before a PR:** open each listed issue link, decide whether your change caused it. Fix yours; leave
   the rest. Do not resolve anything.
3. **Dev errors close themselves** 3 days after they were last seen (the daily resolve-stale job); a new
   event reopens the issue.

## Projects

The map is `PROJECTS` in `scripts/o11y_dev.py`, the one source of truth: per project, its GlitchTip dev
slugs, whether logs and traces carry the `worktree` label (so a branch can be filtered), and which trace
services it reads. Read it there rather than from a copy here. Finding out what dev observability fits is a project's
own job: it either meets the contract or declares why there is nothing to check, in `.o11y-dev.json` at
its repo root (`{"nothing_to_check": "<reason>"}`). With a declaration the script prints the reason and
exits 0 (`nothing to check (declared by the project)`); without one it exits 2. The declaration counts
only for a project the map lists as sending nothing. What every project must send is in
`docs/recipes/o11y-dev.md`.

## Not covered

- **Metrics.** Dev series are not read.
- **The last few tens of seconds.** A trace can reach VictoriaTraces 20 s or more after the run (orrery, 2026-11-17: 0 traces 20 s after a probe, 1 on the next run). Right after a probe, run it again before calling a source empty.
- **Production.** Use `o11y-prod`; after a deploy use `deploy-verify`.
- **Dev runs from before a project started sending the `worktree` label** carry no label, so a branch filter does not see them; the script's `PROJECTS` comments name the commit each project started at.
- **More than 100 issues per dev project** (one page is read) and the newest 1000 error/warn log lines.
- **Issue detail** (stack traces, breadcrumbs): open the printed link.
- **Errors that stopped more than 3 days ago.** Only unresolved issues are read, and dev issues are resolved 3 days after they were last seen (`infra/glitchtip/resolve-stale.py`). For an older branch, the count covers errors still recurring; the output says so.

Files in this skill

  • SKILL.md3.9 KB
  • scripts/o11y_dev.py15.4 KB
  • scripts/test_o11y_dev.py9.6 KB
  • triggers.json118 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.