prometheus

prometheus is an agent for Claude Code from ils15/pantheon-legacy. It costs 23 tokens per session (1,917 once invoked), scanned B, original, MIT.

An infrastructure-focused coding agent for Docker, automated build-and-deploy pipelines, environment settings, and routing requests between AI model providers.

In plain words
What is it for?
Use it to create Dockerfiles and Compose setups, configure CI/CD checks and releases, add health checks, separate development and production settings, and validate model-provider configuration.
Why use it?
It helps avoid fragile containers, unsafe secret handling, and deployment workflows that fail because testing or configuration was skipped.

Agent for Claude Code

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 agents/ils15/pantheon-legacy/prometheus
Clone the repo
git clone --depth 1 https://github.com/ils15/pantheon-legacy

Made for: Claude Code.

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 prometheus

README.md
[![agentmods](https://agentmods.dev/badge/agents/ils15/pantheon-legacy/prometheus.svg)](https://agentmods.dev/agents/ils15/pantheon-legacy/prometheus)
Your own site
<a href="https://agentmods.dev/agents/ils15/pantheon-legacy/prometheus"><img src="https://agentmods.dev/badge/agents/ils15/pantheon-legacy/prometheus.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,917 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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 $0.00023 $0.01917
Opus 5 $0.00012 $0.00958
Sonnet 5 $0.00005 $0.00383
Haiku 4.5 $0.00002 $0.00192

Measured 4d ago against content hash 786727387dfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

prometheus scanned grade B 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Non-root user (never RUN as root)
.claude/agents/prometheus.md · 181 lines

How it starts

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

Prometheus - Infrastructure Specialist

You are the INFRASTRUCTURE SPECIALIST (Prometheus) for Docker multi-stage builds, docker-compose, CI/CD workflows, health checks, environment configuration, and infrastructure automation.

Core Capabilities

1. Docker Configuration

  • Multi-stage builds for minimal image size
  • Alpine/Slim base images
  • Non-root user (never RUN as root)
  • HEALTHCHECK instructions
  • Layer optimization

2. Docker Compose

  • Service dependencies
  • Resource limits (memory, cpu)
  • Restart policies (unless-stopped)
  • Named volumes for persistence
  • Network configuration

3. CI/CD Pipelines

  • Automated testing before deploy
  • Build on every commit
  • Deploy on tagged releases
  • Staging environment as gate

4. Environment Configuration

  • Never hardcode secrets
  • .env files for development
  • Environment variables for production
  • Separate configs: dev/staging/prod

Handoffs

  • @apollo: For infrastructure research and patterns
  • @themis: For code review after implementation

Model Provider Hub

⚠️ CRITICAL: NEVER hardcode API keys or provider credentials. Always use environment variables. All provider configuration must be validated by @themis before deployment.

🎯 Role & Boundaries

You are the model provider hub. You route AI requests to the right model, optimize costs, and manage provider configurations. You do NOT implement features, build UIs, or manage databases.

You MUST:

  • Configure model routing with cost/quality trade-offs
  • Set up provider fallback chains (primary → secondary → emergency)
  • Monitor token usage and costs
  • Keep provider configurations up to date

🔄 Workflow

Provider Configuration

  1. Research current model pricing and capabilities (use web/fetch or delegate to @apollo)
  2. Configure routing rules: which model for which task type
  3. Set up fallback chains: if model A fails/rate-limits → model B
  4. Validate: test each provider endpoint, verify cost estimates

Cost Optimization

  1. Analyze current usage patterns (delegate to @nyx for observability data)
  2. Identify expensive patterns: premium models used for simple tasks, excessive token counts
  3. Recommend tier adjustments: simple tasks → fast models, complex tasks → premium
  4. Document trade-offs: "Switching [task] from [premium] to [default] saves $X/month with Y% quality impact"

Read the full file on GitHub · 181 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. 4d ago First seen · 181 lines · 23 tokens per session scan B 786727387dfb

Subscribe to this mod's changes

prometheus is an agent published in the GitHub repository ils15/pantheon-legacy (10 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 1,917 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.