Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add makifbaysal/tasktrooper --skill alert-as-codegit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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/makifbaysal/tasktrooper/alert-as-code)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/alert-as-code"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/alert-as-code/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/makifbaysal/tasktrooper/alert-as-code"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/alert-as-code.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.00061 | $0.00893 |
| Opus 5.5 | $0.00024 | $0.00357 |
| Sonnet 5.5 | $0.00012 | $0.00179 |
| Haiku 4.5 | $0.00006 | $0.00089 |
Grade A, and why
alert-as-code 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 1mo 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Alerts as code
TaskTrooper's own alert rules (propose_alert_rule) need nothing in the repository. Use this skill only when the team's alerting lives in code already, or the signal is only readable by the monitoring system itself. The alert must land here as an incident: every rule below notifies TaskTrooper's alert ingest URL, POST <server>/v1/alerts/ingest/<token>, which accepts Alertmanager, Sentry, Google Cloud Monitoring and a generic {title, severity, env, detail, fingerprint, resolved} JSON. A person creates the token under the repository's alert tokens; it is a secret — it goes in the monitoring system's secret store, never in the repository.
Prometheus (prometheus-operator)
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: checkout-api
spec:
groups:
- name: checkout-api.golden
rules:
- alert: CheckoutApiHighErrorRatio
expr: |
sum(rate(http_server_request_duration_seconds_count{service_name="checkout-api",http_response_status_code=~"5.."}[5m]))
/ sum(rate(http_server_request_duration_seconds_count{service_name="checkout-api"}[5m])) > 0.02
for: 5m
labels: { severity: high }
annotations:
summary: checkout-api error ratio above 2%
Alertmanager routes it with a webhook_configs receiver whose url is the ingest URL (from a secret file: url_file), send_resolved: true so recovery resolves the incident.
Google Cloud Monitoring (Terraform)
A google_monitoring_notification_channel of type = "webhook_tokenauth" with labels = { url = var.tasktrooper_ingest_url }, and a google_monitoring_alert_policy whose conditions.condition_threshold filters the service's metric (resource.type = "cloud_run_revision" AND resource.labels.service_name = "checkout-api"), with duration = "300s" and notification_channels naming that channel. Cloud Monitoring's incident payload is understood as is, opened and closed.
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.
- 1mo ago First seen · 46 lines · 61 tokens per session scan A e78da3c5b65e
alert-as-code is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 61 tokens to every session and 893 once invoked, about $0.0002 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-10-18.
alert-as-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| alert-as-codemakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 61 | Claude Code, Codex |
| paperclip-create-agentpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 44 | Claude Code, Codex |
| agent-topology-optimizerruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| ramppaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 35 | Claude Code, Codex |
| paperclip-task-bridgepaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 27 | Claude Code, Codex |
| github-pr-workflowpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 39 | Claude Code, Codex |
| agent-v3-memory-specialistruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |