/arn-infra-monitor
This skill should be used when the user says "set up monitoring", "arn infra monitor", "infra monitor", "configure monitoring", "set up observability", "add logging", "configure alerting", "set up alerts", "infrastructure monitoring", "add metrics", "set up cloudwatch",
$ npx -y skills add AppsVortex/arness --skill arn-infra-monitor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/arn-infra-monitor
Context preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user says "set up monitoring", "arn infra monitor", "infra monitor", "configure monitoring", "set up observability", "add logging", "configure alerting", "set up alerts", "infrastructure monitoring", "add metrics", "set up cloudwatch",
SKILL.md
arn-infra-monitor.SKILL.mdname: arn-infra-monitor
description: >-
This skill should be used when the user says "set up monitoring", "arn infra monitor",
"infra monitor", "configure monitoring", "set up observability", "add logging",
"configure alerting", "set up alerts", "infrastructure monitoring", "add metrics",
"set up cloudwatch", "configure grafana", "observability setup", "logging setup",
"alerting setup", "health checks", "monitor infrastructure", "arn-infra-monitor",
"set up cloud monitoring", "configure notifications", "prometheus", "datadog",
"new relic", "sentry", or wants to set up logging, metrics collection, and
alerting for their deployed infrastructure.
version: 1.0.0
Arness Infra Monitor
Set up observability for deployed infrastructure: structured logging, metrics collection, and alerting. This skill recommends an observability stack based on the configured cloud provider, generates IaC for monitoring resources, and configures basic health-check-based alerts.
This skill focuses on initial monitoring setup and critical alerts. It does NOT create full monitoring dashboards (out of scope per spec). For ongoing monitoring and alerting customization, refer users to their provider's monitoring console.
Prerequisites
Read `## Arness` from the project's CLAUDE.md. If no `## Arness` section exists or Arness Infra fields are missing, inform the user: "Arness Infra is not configured for this project yet. Run `/arn-infra-wizard` to get started — it will set everything up automatically." Do not proceed without it.
Check the **Deferred** field. If `Deferred: yes`, inform the user: "Infrastructure is in deferred mode. Monitoring setup is not available until infrastructure is fully configured. Run `/arn-infra-assess` to un-defer." Stop.
Extract:
- **Experience level** -- derived from user profile. Read `~/.arness/user-profile.yaml` (or `.claude/arness-profile.local.md` if it exists — project override takes precedence). Apply the experience derivation mapping from `${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-ensure-config/references/experience-derivation.md`. If no profile exists, check for legacy `Experience level` in `## Arness` as fallback.
- **Providers** -- cloud providers in use
- **Providers config** -- path to `providers.md` for per-provider details
- **Default IaC tool** -- for generating monitoring IaC
- **Environments** -- environment list for per-environment monitoring config
- **Environments config** -- path to `environments.md`
- **Tooling manifest** -- path to `tooling-manifest.json`
- **Resource manifest** -- path to `active-resources.json` for checking deployed resource state (if available from prior deployments)
- **Cost threshold** -- for monitoring cost considerations
---
Workflow
Step 1: Assess Current Monitoring State
Scan for existing monitoring configurations:
Glob **/cloudwatch*.tf
Glob **/monitoring*.tf
Glob **/alerting*.tf
Glob **/datadog*.tf
Glob **/grafana*.tf
Glob **/prometheus*.yml
Glob **/alertmanager*.yml
Glob docker-compose*.yml
Check deployed resources (if available):
Read <resource-manifest-path>
**If existing monitoring is detected:** Present: "I found existing monitoring configuration: [list]. I can extend this with additional alerts and logging."
**If no monitoring is detected:** Continue to Step 2 for fresh monitoring setup.
---
Step 2: Recommend Observability Stack
> Read the local override or plugin default for `observability-stack-guide.md`.
Based on the configured provider(s) and experience level, recommend a monitoring approach:
**Expert:** Present all options: "Here are the observability options for your [provider] setup:
**Native monitoring:**
- [Provider-native option] -- tightest integration, included in cloud costs
**Third-party options:**
- [Datadog / Grafana Cloud / New Relic] -- richer features, cross-cloud visibility, additional cost
Which approach do you prefer?"
**Intermediate:** Present the recommended stack: "For [provider], I recommend:
- **Logging:** [provider-native logging service] -- captures application and infrastructure logs
- **Metrics:** [provider-native metrics] -- tracks resource utilization and application performance
- **Alerting:** [provider-native alerting] -- notifies you when things go wrong
This uses your cloud provider's built-in tools, so there are no additional services to manage. Would you like to proceed, or would you prefer a third-party solution?"
**Beginner:** Make the recommendation directly: "I'll set up monitoring using [provider's native tools]. This gives you logging, metrics, and alerts without any extra services or costs beyond your cloud provider."
**Stack selection per provider:**
- AWS --> CloudWatch (Logs, Metrics, Alarms) + SNS (notifications)
- GCP --> Cloud Logging + Cloud Monitoring + Cloud Alerting
- Azure --> Azure Monitor (Log Analytics + Metrics + Alerts)
- Kubernetes --> Prometheus + Grafana (or provider-native)
- PaaS (Fly.io, Railway, etc.) --> Platform-native logging + external alerting (PagerDuty, OpsGenie, or email)
- Multi-cloud --> Grafana Cloud or Datadog (unified view)
---
Step 3: Configure Logging
Guide the setup of structured logging for the deployment:
**Application logging:**
- Structured log format (JSON) for machine parsing
- Log levels: ERROR, WARN, INFO, DEBUG
- Correlation IDs for request tracing
- Sensitive data redaction (no PII, no secrets in logs)
**Infrastructure logging:**
- CloudTrail / Cloud Audit Logs / Azure Activity Log (API call auditing)
- VPC Flow Logs (AWS) / VPC Flow Logs (GCP) / NSG Flow Logs (Azure) (network monitoring)
- Access logs for load balancers, CDNs, API gateways
**Log retention per environment:** | Environment | Retention | Rationale | |-------------|-----------|-----------| | Dev | 7 days | Cost optimization | | Staging | 30 days | Debugging window | | Production | 90 days | Compliance (SOC 2 minimum) |
---
Step 4: Configure Metrics Collection
Set up metrics collection f
Read more
name: arn-infra-monitor description: >- This skill should be used when the user says "set up monitoring", "arn infra monitor", "infra monitor", "configure monitoring", "set up observability", "add logging", "configure alerting", "set up alerts", "infrastructure monitoring", "add metrics", "set up cloudwatch", "configure grafana", "observability setup", "logging setup", "alerting setup", "health checks", "monitor infrastructure", "arn-infra-monitor", "set up cloud monitoring", "configure notifications", "prometheus", "datadog", "new relic", "sentry", or wants to set up logging, metrics collection, and alerting for their deployed infrastructure. version: 1.0.0
Arness Infra Monitor
Set up observability for deployed infrastructure: structured logging, metrics collection, and alerting. This skill recommends an observability stack based on the configured cloud provider, generates IaC for monitoring resources, and configures basic health-check-based alerts.
This skill focuses on initial monitoring setup and critical alerts. It does NOT create full monitoring dashboards (out of scope per spec). For ongoing monitoring and alerting customization, refer users to their provider's monitoring console.
Prerequisites
Read `## Arness` from the project's CLAUDE.md. If no `## Arness` section exists or Arness Infra fields are missing, inform the user: "Arness Infra is not configured for this project yet. Run `/arn-infra-wizard` to get started — it will set everything up automatically." Do not proceed without it.
Check the **Deferred** field. If `Deferred: yes`, inform the user: "Infrastructure is in deferred mode. Monitoring setup is not available until infrastructure is fully configured. Run `/arn-infra-assess` to un-defer." Stop.
Extract:
- **Experience level** -- derived from user profile. Read `~/.arness/user-profile.yaml` (or `.claude/arness-profile.local.md` if it exists — project override takes precedence). Apply the experience derivation mapping from `${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-ensure-config/references/experience-derivation.md`. If no profile exists, check for legacy `Experience level` in `## Arness` as fallback.
- **Providers** -- cloud providers in use
- **Providers config** -- path to `providers.md` for per-provider details
- **Default IaC tool** -- for generating monitoring IaC
- **Environments** -- environment list for per-environment monitoring config
- **Environments config** -- path to `environments.md`
- **Tooling manifest** -- path to `tooling-manifest.json`
- **Resource manifest** -- path to `active-resources.json` for checking deployed resource state (if available from prior deployments)
- **Cost threshold** -- for monitoring cost considerations
---
Workflow
Step 1: Assess Current Monitoring State
Scan for existing monitoring configurations:
Glob **/cloudwatch*.tf Glob **/monitoring*.tf Glob **/alerting*.tf Glob **/datadog*.tf Glob **/grafana*.tf Glob **/prometheus*.yml Glob **/alertmanager*.yml Glob docker-compose*.yml
Check deployed resources (if available):
Read <resource-manifest-path>
**If existing monitoring is detected:** Present: "I found existing monitoring configuration: [list]. I can extend this with additional alerts and logging."
**If no monitoring is detected:** Continue to Step 2 for fresh monitoring setup.
---
Step 2: Recommend Observability Stack
> Read the local override or plugin default for `observability-stack-guide.md`.
Based on the configured provider(s) and experience level, recommend a monitoring approach:
**Expert:** Present all options: "Here are the observability options for your [provider] setup:
**Native monitoring:**
- [Provider-native option] -- tightest integration, included in cloud costs
**Third-party options:**
- [Datadog / Grafana Cloud / New Relic] -- richer features, cross-cloud visibility, additional cost
Which approach do you prefer?"
**Intermediate:** Present the recommended stack: "For [provider], I recommend:
- **Logging:** [provider-native logging service] -- captures application and infrastructure logs
- **Metrics:** [provider-native metrics] -- tracks resource utilization and application performance
- **Alerting:** [provider-native alerting] -- notifies you when things go wrong
This uses your cloud provider's built-in tools, so there are no additional services to manage. Would you like to proceed, or would you prefer a third-party solution?"
**Beginner:** Make the recommendation directly: "I'll set up monitoring using [provider's native tools]. This gives you logging, metrics, and alerts without any extra services or costs beyond your cloud provider."
**Stack selection per provider:**
- AWS --> CloudWatch (Logs, Metrics, Alarms) + SNS (notifications)
- GCP --> Cloud Logging + Cloud Monitoring + Cloud Alerting
- Azure --> Azure Monitor (Log Analytics + Metrics + Alerts)
- Kubernetes --> Prometheus + Grafana (or provider-native)
- PaaS (Fly.io, Railway, etc.) --> Platform-native logging + external alerting (PagerDuty, OpsGenie, or email)
- Multi-cloud --> Grafana Cloud or Datadog (unified view)
---
Step 3: Configure Logging
Guide the setup of structured logging for the deployment:
**Application logging:**
- Structured log format (JSON) for machine parsing
- Log levels: ERROR, WARN, INFO, DEBUG
- Correlation IDs for request tracing
- Sensitive data redaction (no PII, no secrets in logs)
**Infrastructure logging:**
- CloudTrail / Cloud Audit Logs / Azure Activity Log (API call auditing)
- VPC Flow Logs (AWS) / VPC Flow Logs (GCP) / NSG Flow Logs (Azure) (network monitoring)
- Access logs for load balancers, CDNs, API gateways
**Log retention per environment:** | Environment | Retention | Rationale | |-------------|-----------|-----------| | Dev | 7 days | Cost optimization | | Staging | 30 days | Debugging window | | Production | 90 days | Compliance (SOC 2 minimum) |
---
Step 4: Configure Metrics Collection
Set up metrics collection f
Showing the first part of this file.
Arness — H not required. Structured AI workflows for Claude Code. From first idea to production deploy. Seven entry commands. That's all you need to remember.
Repo: AppsVortex/arness
Other skills on arness.
- /arn-assessing
This skill should be used when the user says "assessing", "arness assessing", "assess", "assess codebase", "technical review", "codebase assessment", "find improvements", "what should I improve", "tech debt review", "pattern compliance check", "codebase health check",
Open skill - /arn-code-assess
This skill should be used when the user says "arness code assess", "arn-code-assess", "assess codebase", "technical review", "codebase assessment", "find improvements", "what should I improve", "tech debt review", "tech debt audit", "pattern compliance check", "codebase health
Open skill - /arn-code-batch-cve-fix
This skill should be used when the user says "fix CVEs", "patch vulnerabilities", "apply security patches", "resolve security advisories", "batch CVE fix", "patch dependencies", "fix security findings", "remediate CVEs", "apply CVE fixes", "batch fix vulnerabilities", "resolve
Open skill - /arn-code-batch-cve-scan
This skill should be used when the user says "scan for CVEs", "CVE scan", "check for vulnerabilities", "find vulnerabilities", "check security advisories", "dependabot triage", "dependabot scan", "scan dependencies for security issues", "audit dependencies", "vulnerability
Open skill - /arn-code-batch-implement
This skill should be used when the user says "batch implement", "implement all", "batch execution", "implement all features", "parallel implement", "implement in parallel", "arness batch implement", "arn-code-batch-implement", "run batch implementation", "implement everything",
Open skill - /arn-code-batch-merge
This skill should be used when the user says "batch merge", "merge batch", "arness batch merge", "arn-code-batch-merge", "merge all PRs", "merge batch PRs", "merge the batch", "merge implemented features", "batch merge PRs", "merge open PRs", "merge all feature PRs", "combine
Open skill

