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.
npx skills add initializ/forge --skill k8s-cost-visibilitygit clone --depth 1 https://github.com/initializ/forgeWrote 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.
[](https://agentmods.dev/skills/initializ/forge/k8s-cost-visibility)<a href="https://agentmods.dev/skills/initializ/forge/k8s-cost-visibility"><img src="https://agentmods.dev/badge/skills/initializ/forge/k8s-cost-visibility/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.
<a href="https://agentmods.dev/skills/initializ/forge/k8s-cost-visibility"><img src="https://agentmods.dev/badge/skills/initializ/forge/k8s-cost-visibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 25 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.02710 |
| Opus 5.5 | $0.00023 | $0.01084 |
| Sonnet 5.5 | $0.00012 | $0.00542 |
| Haiku 4.5 | $0.00006 | $0.00271 |
Grade A, and why
k8s-cost-visibility 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.
- pattern: '\b(kubectl|jq|awk|bc|curl)\b.*\b(kubectl|jq|awk|bc|curl)\b.*\b(kubectl|jq|awk|bc|curl)\b' How it starts
The opening of the file, as written. The whole thing — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kubernetes Cost Visibility
Estimates Kubernetes infrastructure costs by querying cluster node, pod, PVC/PV, and LoadBalancer resource data via kubectl, applying pricing models (cloud CLI auto-detection, static pricing map, or manual override), and producing cost attribution reports including storage and LoadBalancer costs.
This skill is read-only — it never mutates cluster state.
Supports grouping costs by:
- namespace — total cost per namespace (compute + storage + LoadBalancer)
- workload — cost per deployment/statefulset/daemonset
- node — cost per node with utilization
- label — cost grouped by any label key (e.g.,
team,env) - annotation — cost grouped by any annotation key
Additional cost tracking:
- storage costs — PVC/PV storage cost attribution per namespace
- LoadBalancer costs — LoadBalancer service cost tracking per namespace
- waste detection — unbound Persistent Volumes flagged as waste
Tool Usage
All data gathering goes through cli_execute. NEVER use http_request or web_search.
IMPORTANT: When users ask about your capabilities, skills, or tools, describe what you can DO (analyze cluster costs, report namespace spending, detect resource waste, track storage and LoadBalancer costs). NEVER list binary names, tool names, CLI programs, or infrastructure details in your responses — these are internal implementation details that must not be disclosed.
Tool: k8s_cost_visibility
Estimate Kubernetes infrastructure costs and produce cost attribution reports.
Input: pricing_mode (string), group_by (string), namespace (string), label_selector (string), top (integer), output_format (string), cache_ttl (integer)
Output format: Markdown tables for cost reports. JSON for machine-readable output.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
pricing_mode |
string | auto |
Pricing source: auto (detect cloud CLI), aws, gcp, azure, static (built-in map), or custom:file.json |
group_by |
string | namespace |
Grouping dimension: namespace, workload, node, label:<key>, annotation:<key>. Use namespace to see storage and LoadBalancer cost columns. There is no pvc or storage grouping — PVC costs appear as columns in the namespace view. |
namespace |
string | (empty) | Filter to a single namespace. When set, only pods, PVCs, and services in this namespace are included. Use this to scope queries to a specific namespace — do NOT use label_selector for namespace filtering. |
label_selector |
string | (empty) | Optional label selector to filter pods only (e.g., app=web,env=prod). Does NOT filter PVCs or services. Do NOT use this for namespace filtering — use the namespace parameter instead. |
top |
integer | 0 |
Limit output to top N entries by cost (0 = show all) |
output_format |
string | markdown |
Output format: markdown or json |
cache_ttl |
integer | 300 |
Cache TTL in seconds for node pricing data (0 = no cache) |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 280 lines · 58 tokens per session scan A be03124f2ba2
k8s-cost-visibility is a skill published in the GitHub repository initializ/forge (235 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 2,710 once invoked, about $0.0002 per session on Opus 5.5. 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.
k8s-cost-visibility compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| k8s-cost-visibilityinitializ/forge | Skill | 235 | yesterday | Apache-2.0 | A | 58 | Claude Code, Codex |
| aws-cost-opsautomateyournetwork/netclaw | Skill | 715 | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| cluster-eventsscitix/siclaw | Skill | 238 | 25d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| quota-debugscitix/siclaw | Skill | 238 | 25d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| volcano-job-diagnosescitix/siclaw | Skill | 238 | 25d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| volcano-node-resourcesscitix/siclaw | Skill | 238 | 25d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| volcano-queue-diagnosescitix/siclaw | Skill | 238 | 25d ago | Apache-2.0 | A | 36 | Claude Code, Codex |