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 G1Joshi/Agent-Skills --skill consulgit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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/g1joshi/agent-skills/consul)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/consul"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/consul/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/g1joshi/agent-skills/consul"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/consul.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00037 | $0.01152 |
| Opus 5.5 | $0.00015 | $0.00461 |
| Sonnet 5.5 | $0.00007 | $0.00230 |
| Haiku 4.5 | $0.00004 | $0.00115 |
Grade A, and why
consul 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://127.0.0.1:8500/v1/health/service/payment-api?passing=true | jq . How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Consul
HashiCorp Consul is a service networking solution providing service discovery, secure service mesh with mutual TLS, dynamic traffic routing, and distributed key-value storage.
When to Use
- Service Discovery & Health Checking: Dynamic registration and lookup of microservices across hybrid cloud networks.
- Service Mesh & Mutual TLS (mTLS): Enforcing zero-trust encryption and authorization between microservices via Envoy sidecars.
- Distributed Key-Value Store: Centralized runtime configuration and dynamic feature flags.
- Multi-Datacenter Federation: Connecting and discovering services seamlessly across multiple cloud providers and regions.
Quick Start
# Service registration definition: /etc/consul.d/web.hcl
service {
name = "web-api"
port = 8080
tags = ["v1", "production"]
check {
id = "api-health"
name = "HTTP Health Check"
http = "http://localhost:8080/health"
interval = "10s"
timeout = "2s"
}
}
Reload Consul agent:
consul reload
Core Concepts
Declarative Service Registration with Health Checks
Registering a service with Consul agent:
# /etc/consul.d/web-service.hcl
service {
name = "payment-api"
id = "payment-api-01"
port = 8080
tags = ["v2", "production", "traefik.enable=true"]
meta = {
version = "2.1.0"
owner = "fintech-team"
}
check {
id = "payment-api-health"
name = "HTTP Health Check on Port 8080"
http = "http://127.0.0.1:8080/healthz"
method = "GET"
interval = "10s"
timeout = "2s"
# Automatically deregister dead instances after 5 minutes
deregister_critical_service_after = "5m"
}
connect {
sidecar_service {}
}
}
Service Discovery via DNS & HTTP API
Querying healthy service instances dynamically:
# Query healthy nodes via Consul DNS interface (port 8600)
dig @127.0.0.1 -p 8600 payment-api.service.consul SRV
# Query healthy instances via HTTP REST API
curl -s http://127.0.0.1:8500/v1/health/service/payment-api?passing=true | jq .
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 Changed · +5 lines d62329228d66
- 2mo ago Changed · +106 lines · +19 tokens per session f74cdd072380
- 3mo ago First seen · 46 lines · 18 tokens per session scan A b038b8d38072
consul is a skill published in the GitHub repository G1Joshi/Agent-Skills (16 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,152 once invoked, about $0.0001 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-09-03.
consul compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| consulG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 37 | Claude Code, Codex |
| api-and-interface-designaddyosmani/agent-skills | Skill | 122k | 9d ago | MIT | A | 49 | Claude Code |
| api-designDevelopersGlobal/ai-agent-skills | Skill | 221 | 8d ago | MIT | A | 34 | Claude Code, Codex |
| awesome-performance-auditkhasky/awesome-agent-skills | Skill | 46 | 5d ago | MIT | A | 52 | Claude Code |
| awesome-error-standardskhasky/awesome-agent-skills | Skill | 46 | 5d ago | MIT | A | 46 | Claude Code |
| awesome-api-designkhasky/awesome-agent-skills | Skill | 46 | 5d ago | MIT | A | 40 | Claude Code |
| api-and-interface-designvinvcn/addyosmani-agent-skills-zh | Skill | 60 | 1mo ago | MIT | A | 51 | Claude Code |