mtls-configuration

mtls-configuration is a skill for Claude Code from wshobson/agents. It costs 38 tokens per session (582 once invoked), scanned A, original, MIT.

A guide to mutual TLS, a form of encrypted connection where both communicating services prove their identity with certificates. It focuses on securing internal service-to-service communication in zero-trust networks and service meshes.

In plain words
What is it for?
Use it to configure mutual TLS, manage certificates, secure services across clusters, investigate connection failures, and support security requirements such as PCI-DSS or HIPAA.
Why use it?
It helps prevent unauthorised services from communicating and protects internal traffic from being read or altered. It also explains certificate rotation and diagnosing failed TLS handshakes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cloud-infrastructure plugin — 8 skills, 3 agents shipped together

not rated 43krepo +162 2d ago A scan Socket: passSnyk: passSkillSpector: warn 38 tokens original MIT

Good fit Use it to configure mutual TLS, manage certificates, secure services across clusters, investigate connection failures, and support security requirements such as PCI-DSS or HIPAA.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wshobson/agents/mtls-configuration
About the project

Agentic Plugin Marketplace is a collection of reusable plugins, agents, skills, commands, and rules for coding-agent tools including Claude Code, Codex CLI, Cursor, OpenCode, Antigravity CLI, and GitHub Copilot. It is for developers assembling agentic workflows across multiple harnesses from shared Markdown sources, and the catalogue entries are examples or subsets of those workflow components.

wshobson/agents · 43,225 stars · on GitHub · sethhobson.com

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.

Any agent
npx skills add wshobson/agents --skill mtls-configuration
Clone the repo
git clone --depth 1 https://github.com/wshobson/agents

Made for: Claude Code.

Or install cloud-infrastructure, the plugin that ships this one along with the rest of its 8 skills, 3 agents.

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 mtls-configuration

README.md
[![agentmods](https://agentmods.dev/badge/skills/wshobson/agents/mtls-configuration/github.svg)](https://agentmods.dev/skills/wshobson/agents/mtls-configuration)
Your own site
<a href="https://agentmods.dev/skills/wshobson/agents/mtls-configuration"><img src="https://agentmods.dev/badge/skills/wshobson/agents/mtls-configuration/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 mtls-configuration

Your own site · 80×15
<a href="https://agentmods.dev/skills/wshobson/agents/mtls-configuration"><img src="https://agentmods.dev/badge/skills/wshobson/agents/mtls-configuration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

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 →

  • medium Excessive Agency · line 73
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00038 $0.00582
Opus 5.5 $0.00015 $0.00233
Sonnet 5.5 $0.00008 $0.00116
Haiku 4.5 $0.00004 $0.00058

Measured 3mo ago against content hash 1527e7f31e5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mtls-configuration scanned grade A with 0 findings 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 3mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cloud-infrastructure/skills/mtls-configuration/SKILL.md · 74 lines

How it starts

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

mTLS Configuration

Comprehensive guide to implementing mutual TLS for zero-trust service mesh communication.

When to Use This Skill

  • Implementing zero-trust networking
  • Securing service-to-service communication
  • Certificate rotation and management
  • Debugging TLS handshake issues
  • Compliance requirements (PCI-DSS, HIPAA)
  • Multi-cluster secure communication

Core Concepts

1. mTLS Flow

┌─────────┐                              ┌─────────┐
│ Service │                              │ Service │
│    A    │                              │    B    │
└────┬────┘                              └────┬────┘
     │                                        │
┌────┴────┐      TLS Handshake          ┌────┴────┐
│  Proxy  │◄───────────────────────────►│  Proxy  │
│(Sidecar)│  1. ClientHello             │(Sidecar)│
│         │  2. ServerHello + Cert      │         │
│         │  3. Client Cert             │         │
│         │  4. Verify Both Certs       │         │
│         │  5. Encrypted Channel       │         │
└─────────┘                              └─────────┘

2. Certificate Hierarchy

Root CA (Self-signed, long-lived)
    │
    ├── Intermediate CA (Cluster-level)
    │       │
    │       ├── Workload Cert (Service A)
    │       └── Workload Cert (Service B)
    │
    └── Intermediate CA (Multi-cluster)
            │
            └── Cross-cluster certs

Templates and detailed worked examples

Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.

Best Practices

Do's

  • Start with PERMISSIVE - Migrate gradually to STRICT
  • Monitor certificate expiry - Set up alerts
  • Use short-lived certs - 24h or less for workloads
  • Rotate CA periodically - Plan for CA rotation
  • Log TLS errors - For debugging and audit

Don'ts

  • Don't disable mTLS - For convenience in production
  • Don't ignore cert expiry - Automate rotation
  • Don't use self-signed certs - Use proper CA hierarchy
  • Don't skip verification - Verify the full chain

Read the full file on GitHub · 74 lines

Files

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.

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. 3mo ago First seen · 74 lines · 38 tokens per session scan A 1527e7f31e5e

Subscribe to this mod's changes

mtls-configuration is a skill published in the GitHub repository wshobson/agents (43,225 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 582 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

mtls-configuration compared with skills from other repositories

mtls-configuration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mtls-configurationwshobson/agentsSkill43k2d agoMITA38Claude Code
9router-sttdecolua/9routerSkill33k12d agoMITA63Claude Code, Codex
9router-web-fetchdecolua/9routerSkill33k12d agoMITA67Claude Code, Codex
9router-embeddingsdecolua/9routerSkill33k12d agoMITA66Claude Code, Codex
provider-model-refreshcalesthio/OpenMontageSkill84k19d agoAGPL-3.0A26Claude Code, Codex
visualizecode-yeongyu/oh-my-openagentSkill71ktodaynoneA50Claude Code, Codex
dex-obsidian-setupdavekilleen/DexSkill5244d agoMITA68Claude Code, Codex