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.5 $0.00000 $0.00383
Sonnet 5.5 $0.00000 $0.00191
Haiku 4.5 $0.00000 $0.00096

Measured 2mo ago against content hash a2a4b7d5d5ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (58 stars, last pushed 7d ago), 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

claude-code-sample-2 compared with skills from other repositories

claude-code-sample-2 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-code-sample-2andersonamaral2/Claude-Code-to-Deep-Agents-Skills-ConverterSkill587d agoMITA0Claude Code, Codex
gke-compute-classesgoogle/skillsSkill22kyesterdayApache-2.0A83Claude Code, Codex
gke-workload-securitygoogle/skillsSkill22kyesterdayApache-2.0A171Claude Code, Codex
gke-reliabilitygoogle/skillsSkill22kyesterdayApache-2.0A85Claude Code, Codex
cloud-architectJeffallan/claude-skillsSkill12k7d agoMITA71Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code