linkerd-patterns

linkerd-patterns is a skill for Claude Code, Codex from rmyndharis/antigravity-skills. It costs 41 tokens per session (2,366 once invoked), scanned A, a copy of linkerd-patterns, MIT.

A collection of patterns for Linkerd, a service mesh that manages communication between services running in Kubernetes. It covers traffic rules, encryption between services, and route-level measurements.

In plain words
What is it for?
Use it to configure Linkerd, automatic mutual TLS, traffic splitting for canary releases, service profiles, retries, timeouts, and multi-cluster setups.
Why use it?
It helps address common problems in distributed systems, such as unsafe service traffic, failed requests, and unclear routing behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure Linkerd, automatic mutual TLS, traffic splitting for canary releases, service profiles, retries, timeouts, and multi-cluster setups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rmyndharis/antigravity-skills/linkerd-patterns
About the project

Antigravity Skill Vault is a collection of reusable Agent Skills for Google Antigravity, covering software development, operations, security, and business work. It is for people who want Antigravity agents to follow specialized expertise, personas, and structured workflows. The catalogue skills are entries from this collection.

rmyndharis/antigravity-skills · 2,147 stars · on GitHub

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 rmyndharis/antigravity-skills --skill linkerd-patterns
Clone the repo
git clone --depth 1 https://github.com/rmyndharis/antigravity-skills

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 linkerd-patterns

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rmyndharis/antigravity-skills/linkerd-patterns"><img src="https://agentmods.dev/badge/skills/rmyndharis/antigravity-skills/linkerd-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.00041 $0.02366
Opus 5.5 $0.00016 $0.00946
Sonnet 5.5 $0.00008 $0.00473
Haiku 4.5 $0.00004 $0.00237

Measured 22d ago against content hash 73c2c0e620ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

linkerd-patterns scanned grade A with 2 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 22d 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 rootlowPrivilege escalation

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

&& sudo install -m 0755 "${LINKERD_ASSET}" /usr/local/bin/linkerd

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --proto '=https' --tlsv1.2 -sSfLO \
Origin

This is a copy

86% identical to linkerd-patterns — 133 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/linkerd-patterns/SKILL.md · 359 lines

How it starts

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

Linkerd Patterns

Production patterns for Linkerd service mesh - the lightweight, security-first service mesh for Kubernetes.

Do not use this skill when

  • The task is unrelated to linkerd patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Use this skill when

  • Setting up a lightweight service mesh
  • Implementing automatic mTLS
  • Configuring traffic splits for canary deployments
  • Setting up service profiles for per-route metrics
  • Implementing retries and timeouts
  • Multi-cluster service mesh

Core Concepts

1. Linkerd Architecture

┌─────────────────────────────────────────────┐
│                Control Plane                 │
│  ┌─────────┐ ┌──────────┐ ┌──────────────┐ │
│  │ destiny │ │ identity │ │ proxy-inject │ │
│  └─────────┘ └──────────┘ └──────────────┘ │
└─────────────────────────────────────────────┘
                      │
┌─────────────────────────────────────────────┐
│                 Data Plane                   │
│  ┌─────┐    ┌─────┐    ┌─────┐             │
│  │proxy│────│proxy│────│proxy│             │
│  └─────┘    └─────┘    └─────┘             │
│     │           │           │               │
│  ┌──┴──┐    ┌──┴──┐    ┌──┴──┐            │
│  │ app │    │ app │    │ app │            │
│  └─────┘    └─────┘    └─────┘            │
└─────────────────────────────────────────────┘

2. Key Resources

Resource Purpose
ServiceProfile Per-route metrics, retries, timeouts
HTTPRoute Canary deployments, A/B testing, request routing
Server Define server-side policies
AuthorizationPolicy Access control, with MeshTLSAuthentication or NetworkAuthentication

Templates

Template 1: Mesh Installation

# Install CLI: pin a release and install it only if its SHA-256 matches the digest
# shown for that asset on https://github.com/linkerd/linkerd2/releases
# (or use a package manager: brew install linkerd)
LINKERD_VERSION=edge-26.11.1
LINKERD_ASSET="linkerd2-cli-${LINKERD_VERSION}-linux-amd64"  # or -darwin-arm64, -linux-arm64
LINKERD_SHA256=f69701bec37964905d1cb06097e201ddf71e136824c3817f9a94a405fcbb6a07
curl --proto '=https' --tlsv1.2 -sSfLO \
  "https://github.com/linkerd/linkerd2/releases/download/${LINKERD_VERSION}/${LINKERD_ASSET}"
echo "${LINKERD_SHA256}  ${LINKERD_ASSET}" | sha256sum --strict -c - \
  && sudo install -m 0755 "${LINKERD_ASSET}" /usr/local/bin/linkerd

# Validate cluster
linkerd check --pre

# Install CRDs
linkerd install --crds | kubectl apply -f -

# Install control plane
linkerd install | kubectl apply -f -

# Verify installation
linkerd check

# Install viz extension (optional)
linkerd viz install | kubectl apply -f -

Read the full file on GitHub · 359 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. 22d ago Changed · +38 lines scan B → A 73c2c0e620ae
  2. 2mo ago First seen · 321 lines · 41 tokens per session scan B 50c6e8046a17

Subscribe to this mod's changes

linkerd-patterns is a skill published in the GitHub repository rmyndharis/antigravity-skills (2,147 stars, last pushed 23d ago), licensed MIT. It adds 41 tokens to every session and 2,366 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 2 findings (asks for root, makes network calls). It is 86% identical to linkerd-patterns, differing in 133 lines, and is treated as a copy.

Related

linkerd-patterns compared with skills from other repositories

linkerd-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
linkerd-patternsrmyndharis/antigravity-skillsSkill2.1k23d agoMITA41Claude Code, Codex
analyzing-cloud-storage-access-patternsmarysatasselshaped667/skills-collection-1Skill11mo agoMITA79Claude Code, Codex
data-pipelineAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA23Claude Code, Codex
auto-scalerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA24Claude Code, Codex
aws-architectAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA22Claude Code, Codex
azure-developerAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA22Claude Code, Codex
backup-strategyAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA23Claude Code, Codex