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 agentmods add skills/fold-run/fold/observabilitynpx skills add fold-run/fold --skill observabilitygit clone --depth 1 https://github.com/fold-run/foldWhat 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 | $0.00076 | $0.01388 |
| Opus 5 | $0.00038 | $0.00694 |
| Sonnet 5 | $0.00015 | $0.00278 |
| Haiku 4.5 | $0.00008 | $0.00139 |
Grade A, and why
observability 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 yesterday.
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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Changing what fold reports about itself
Three surfaces, one rule each, and only one of them has a test.
| Surface | Declared in | Held in lockstep by |
|---|---|---|
| Prometheus metrics | gateway/metrics.go |
gateway/observability_pack_test.go, both directions |
| Trace attributes | gateway/otel.go |
nothing — docs/operations.md "Tracing" is the record |
| Audit event fields | audit/audit.go |
nothing — docs/operations.md "Audit events" is the record |
Metrics: the pack is checked both ways
observability_pack_test.go compares the names in metrics.go against the
three files that query them:
deploy/helm/fold/dashboards/fold-overview.jsondeploy/helm/fold/templates/prometheusrule.yaml(prometheus-operator)deploy/observability/alerts.yml(plain Prometheus, the compose stack)
Forward: every fold_* the pack references must be declared. A query
naming a metric that does not exist draws an empty panel and arms an alert
that can never fire — the two failure modes that look exactly like health.
Backward: every declared metric must appear somewhere in the pack, so a
new one forces the question "does this belong on the dashboard" instead of
shipping unobserved. metricNamesUnexercised is the escape hatch and is
currently empty; adding to it should cost a reason in the diff.
And TestBothRuleFilesCarryTheSameAlerts — the two rule files are the same
alerts for two deployment shapes. Change one, change the other.
Two traps in how the check reads the code
- It extracts quoted string literals matching
"fold_[a-z_]+"frommetrics.goonly. A name built by concatenation, or declared in another file, is invisible to the test — it will pass while shipping a metric nothing watches. - Histogram series are matched after stripping
_bucket/_sum/_count, so queryfold_request_duration_seconds_bucketfreely; the base name is what must be declared.
It reads the source rather than scraping a live registry on purpose: a
CounterVec with no observations exposes nothing, so a scrape would
under-report exactly the metrics that have never fired.
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.
- yesterday First seen · 117 lines · 76 tokens per session scan A f3cb97686807
observability is a skill published in the GitHub repository fold-run/fold (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,388 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
migrate-goldmark-extension-v1-to-v2
Migrate goldmark extension from goldmark v1 to v2.
use-modern-go
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.
jwx-companion-bulk
Apply bulk operations across all jwx companion modules. Args.
sq-actions-dependabot
Reviews and merges Dependabot pull requests for GitHub Actions (the github-actions ecosystem) that bump uses: pins in .github/workflows/. Use for Dependabot githubactions PRs (branches like dependabot/githubactions/...), not go.mod or site/ Bun PRs.
readme-generate
從原始碼分析自動生成雙語 README。當使用者請求為專案建立 README、需要從程式碼庫生成 README.md(英文)和 README.zh.md(中文)、或希望為其函式庫/套件建立一致的多語言文件時使用。.
release-discord-post
Create a Discord-ready Neva release announcement from a GitHub release payload. Use for official Neva Discord release posts.