claude-code-sample-2

claude-code-sample-2 is a skill for Claude Code, Codex from andersonamaral2/Claude-Code-to-Deep-Agents-Skills-Converter. It costs 0 tokens per session (957 once invoked), scanned A, original, MIT.

A Docker Compose setup for monitoring infrastructure with Prometheus, Grafana, and Node Exporter. Prometheus collects metrics, Grafana displays dashboards, and Node Exporter reports information about a machine.

In plain words
What is it for?
Use it to deploy a local or server-based monitoring stack through Docker Compose. It creates Prometheus configuration, Grafana dashboards and provisioning folders, and Node Exporter service setup.
Why use it?
It gives a project a ready structure for collecting and viewing infrastructure measurements. Retention settings and the Grafana administrator password can be configured with environment variables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml.

Good fit Use it to deploy a local or server-based monitoring stack through Docker Compose. It creates Prometheus configuration, Grafana dashboards and provisioning folders, and Node Exporter service setup.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/andersonamaral2/Claude-Code-to-Deep-Agents-Skills-Converter
agentmods
npx agentmods add skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2

Made for: Claude Code, Codex.

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 claude-code-sample-2

README.md
[![agentmods](https://agentmods.dev/badge/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2/github.svg)](https://agentmods.dev/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2)
Your own site
<a href="https://agentmods.dev/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2"><img src="https://agentmods.dev/badge/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2/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.

agentmods 80×15 button for claude-code-sample-2

Your own site · 80×15
<a href="https://agentmods.dev/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2"><img src="https://agentmods.dev/badge/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/claude-code-sample-2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00957
Opus 5 $0.00000 $0.00478
Sonnet 5 $0.00000 $0.00191
Haiku 4.5 $0.00000 $0.00096

Measured 11d ago against content hash a2a4b7d5d5ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

claude-code-sample-2 scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:9090/-/healthy
examples/claude-code-sample-2/SKILL.md · 148 lines

How it starts

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

Skill: Docker Compose Monitoring Stack

Deploys a complete monitoring stack with Prometheus, Grafana, and Node Exporter using Docker Compose.


When to use

When the user asks to set up monitoring, observability, metrics collection, or a Grafana dashboard for their infrastructure.


Steps

Check if Docker and Docker Compose are installed. If not, install Docker following the official docs.

Set the following environment variables:

  • $GRAFANA_ADMIN_PASSWORD — admin password for Grafana
  • $PROMETHEUS_RETENTION — how long to keep metrics (default: 15d)

Create the project structure:

mkdir -p monitoring/{prometheus,grafana/provisioning/datasources,grafana/provisioning/dashboards,grafana/dashboards}

Create the file monitoring/docker-compose.yml:

version: "3.8"
services:
  prometheus:
    image: prom/prometheus:latest
    ports:
      - "9090:9090"
    volumes:
      - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
      - prometheus_data:/prometheus
    command:
      - '--config.file=/etc/prometheus/prometheus.yml'
      - '--storage.tsdb.retention.time=${PROMETHEUS_RETENTION:-15d}'

  grafana:
    image: grafana/grafana:latest
    ports:
      - "3000:3000"
    environment:
      - GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD}
    volumes:
      - ./grafana/provisioning:/etc/grafana/provisioning
      - ./grafana/dashboards:/var/lib/grafana/dashboards
      - grafana_data:/var/lib/grafana

  node-exporter:
    image: prom/node-exporter:latest
    ports:
      - "9100:9100"
    pid: host
    volumes:
      - /proc:/host/proc:ro
      - /sys:/host/sys:ro

volumes:
  prometheus_data:
  grafana_data:

Create monitoring/prometheus/prometheus.yml:

global:
  scrape_interval: 15s

scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:9090']

  - job_name: 'node-exporter'
    static_configs:
      - targets: ['node-exporter:9100']

Create the Grafana datasource provisioning file monitoring/grafana/provisioning/datasources/prometheus.yml:

Read the full file on GitHub · 148 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. 11d ago First seen · 148 lines · 0 tokens per session scan A a2a4b7d5d5ce

Subscribe to this mod's changes

claude-code-sample-2 is a skill published in the GitHub repository andersonamaral2/Claude-Code-to-Deep-Agents-Skills-Converter (57 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 957 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens