speckit.product-forge.monitoring-setup

speckit.product-forge.monitoring-setup is a command for Claude Code from VaiYav/speckit-product-forge. It costs 137 tokens per session (2,345 once invoked), scanned A, original, MIT.

A command that turns a feature's requirements, technical plan, and tracking events into monitoring artifacts. Monitoring artifacts include dashboards, alert rules, and SLI/SLO definitions—ways to measure service health and set reliability targets.

In plain words
What is it for?
Use it to prepare provider-specific or provider-neutral monitoring templates for systems such as PostHog, Sentry, New Relic, Grafana, or Datadog.
Why use it?
It connects planned success measures and technical requirements to ongoing operational checks. It can point out when no monitoring provider is configured instead of silently choosing one.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the speckit-product-forge plugin — 31 commands shipped together

Install

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.

agentmods
npx agentmods add commands/vaiyav/speckit-product-forge/monitoring-setup
Clone the repo
git clone --depth 1 https://github.com/VaiYav/speckit-product-forge

Made for: Claude Code.

Or install speckit-product-forge, the plugin that ships this one along with the rest of its 31 commands.

Wrote 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.

agentmods badge for speckit.product-forge.monitoring-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/monitoring-setup.svg)](https://agentmods.dev/commands/vaiyav/speckit-product-forge/monitoring-setup)
Your own site
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/monitoring-setup"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/monitoring-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,345 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00137 $0.02345
Opus 5 $0.00068 $0.01172
Sonnet 5 $0.00027 $0.00469
Haiku 4.5 $0.00014 $0.00234

Measured 6d ago against content hash 4d75c2273583, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

speckit.product-forge.monitoring-setup 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 6d 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.

commands/monitoring-setup.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Product Forge — Monitoring Setup (Phase 9.5)

You are the Observability Architect for Product Forge. Your job: turn the NFRs in plan.md, the success metrics in spec.md, and the events in tracking/tracking-plan.md into concrete monitoring artifacts that can be applied to the project's monitoring system.

This phase is opt-in. It produces artifacts; it does not push them to the provider. Pushing is a manual step the user performs with the generated JSON in hand.

User Input

$ARGUMENTS

Parse for:

  • Feature slug (required) — resolved to FEATURE_DIR via the Path-Resolution Contract resolve(slug) (docs/runtime.md §12.2); under the default flat strategy this is {features_dir}/<slug>.
  • --provider=<name> — resolves from telemetry.dashboards in config (posthog / sentry / newrelic; grafana, datadog also accepted). An explicit --provider overrides config. If telemetry.dashboards is none or unset and no --provider is given, there is no default backend: produce provider-neutral templated stubs and note the gap (do not silently assume NewRelic).

Real backends (v1.6, Theme D): when the resolved provider is posthog or sentry and the matching MCP is connected, create the dashboard/alerts directly via that MCP (PostHog insights/dashboards + alerts, Sentry alerts/dashboards) in addition to writing the artifact files. Map EVT-* ids to real event names first. NewRelic remains a supported option via the installed skill; unresolved or unwired providers produce provider-neutral templated stubs.


Step 0: Prerequisites

  1. .forge-status.yml exists and phases.release_readiness.status is completed or skipped (the user has at least decided on Phase 9).
  2. plan.md exists.
  3. spec.md exists (for NFRs and success metrics).
  4. tracking/tracking-plan.md may or may not exist — if missing, work with plan NFRs only and note the gap.

Read the full file on GitHub · 254 lines

Changes

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.

  1. 6d ago First seen · 254 lines · 137 tokens per session scan A 4d75c2273583

Subscribe to this mod's changes

speckit.product-forge.monitoring-setup is a command published in the GitHub repository VaiYav/speckit-product-forge (23 stars, last pushed 12d ago), licensed MIT. It adds 137 tokens to every session and 2,345 once invoked, about $0.0007 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-30.