dragonfly

dragonfly is a skill for Claude Code, Codex from Aidas-dev/k8s-agent-skills. It costs 39 tokens per session (1,968 once invoked), scanned A, original, MIT.

A Kubernetes operator for running DragonflyDB, an in-memory data store compatible with Redis. A Kubernetes operator manages application resources from configuration files.

In plain words
What is it for?
Create or troubleshoot DragonflyDB resources, configure replication, snapshots, TLS, authentication, and pod placement in Kubernetes.
Why use it?
It removes the need to manually create and maintain DragonflyDB instances in Kubernetes. It also provides configuration for replicas, storage snapshots, security, and where workloads run.

Skill for Claude CodeCodex

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

Good fit Create or troubleshoot DragonflyDB resources, configure replication, snapshots, TLS, authentication, and pod placement in Kubernetes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aidas-dev/k8s-agent-skills/dragonfly
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 Aidas-dev/k8s-agent-skills --skill dragonfly
Clone the repo
git clone --depth 1 https://github.com/Aidas-dev/k8s-agent-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 dragonfly

README.md
[![agentmods](https://agentmods.dev/badge/skills/aidas-dev/k8s-agent-skills/dragonfly.svg)](https://agentmods.dev/skills/aidas-dev/k8s-agent-skills/dragonfly)
Your own site
<a href="https://agentmods.dev/skills/aidas-dev/k8s-agent-skills/dragonfly"><img src="https://agentmods.dev/badge/skills/aidas-dev/k8s-agent-skills/dragonfly.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,968 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.
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.00039 $0.01968
Opus 5 $0.00019 $0.00984
Sonnet 5 $0.00008 $0.00394
Haiku 4.5 $0.00004 $0.00197

Measured 7d ago against content hash a511a27f32d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

dragonfly 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 7d 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.

skills/dragonfly/SKILL.md · 195 lines

How it starts

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

DragonflyDB Operator

Overview

Dragonfly operator manages Dragonfly (Redis-compatible) in-memory data store instances on Kubernetes. API: dragonflydb.io/v1alpha1. Single CRD: Dragonfly (plural: dragonflies). Deployed via Helm chart oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator. Latest operator: v1.5.0 (Mar 2026). Deployed chart: v1.5.0.

CRD Fields

Field Type Since Description
replicas int Total instances (1 = standalone primary, 2 = 1 primary + 1 replica)
image string Dragonfly image (default: docker.dragonflydb.io/dragonflydb/dragonfly:v1.21.2)
args []string Dragonfly server args (e.g. --maxmemory=2gb)
resources ResourceRequirements Container CPU/memory
affinity Affinity Pod affinity (nodeAffinity, podAntiAffinity, etc.)
nodeSelector map v1.1.1 Node selector for pod scheduling
tolerations []Toleration Pod tolerations
topologySpreadConstraints []TopologySpreadConstraint v1.1.1 Spread pods across topology domains
annotations object Annotations on Dragonfly pods
labels object Labels on Dragonfly pods
env []EnvVar Environment variables
authentication.passwordFromSecret SecretKeySelector Password from Secret key
authentication.clientCaCertSecret SecretReference Client CA certificate Secret
tlsSecretRef SecretReference TLS cert Secret for server TLS
snapshot.cron string Cron schedule for snapshots (e.g. "\*/5 * * * *")
snapshot.persistentVolumeClaimSpec PVC Spec PVC for snapshot storage
aclFromSecret SecretKeySelector v1.1.1 ACL file from Secret
serviceAccountName string Pod service account
serviceSpec.type string Service type (ClusterIP, LoadBalancer, etc.)
serviceSpec.name string v1.1.3 Custom service name
serviceSpec.annotations object Service annotations
priorityClassName string v1.1.1 Pod priority class
skipFSGroup bool v1.1.2 Skip FSGroup assignment (OpenShift)
memcachedPort int v1.1.2 Memcached port (alternative to --memcached_port arg)
additionalContainers []Container Sidecar containers
additionalVolumes []Volume Extra volumes

Read the full file on GitHub · 195 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. 7d ago First seen · 195 lines · 39 tokens per session scan A a511a27f32d6

Subscribe to this mod's changes

dragonfly is a skill published in the GitHub repository Aidas-dev/k8s-agent-skills (2 stars, last pushed 24d ago), licensed MIT. It adds 39 tokens to every session and 1,968 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

docker-patterns

Docker and Docker Compose patterns for local development, hardened CLI installer harnesses, container security, networking, volumes, and multi-service orchestration. Use when creating or reviewing Dockerfiles and Compose services, testing installers across Linux distributions, or planning accurate native macOS and…

gongyijie85/dsh-ecc · 59 tokens

litellm-valkey

Run LiteLLM proxy multi-pod with Redis/Valkey (standalone, Sentinel, or Cluster) so rate limits, budgets, and router state are actually shared across pods. Centerpiece: LiteLLM's dominant failure mode is SILENT fallback from Redis to per-pod in-memory enforcement (≥6 independent code paths, log-level warning, no…

air-gapped/skills · 195 tokens

open-webui-valkey-websocket

Deploy Open WebUI multi-pod with WebSockets and Valkey/Redis Sentinel at 1000+ user scale on Kubernetes. Centerpiece is the structural Socket.IO+Redis frame-amplification bug (#23733) that cripples multi-pod streaming, and the maintainer-endorsed mitigation (CHATRESPONSESTREAMDELTACHUNKSIZE). Covers all multi-pod env…

air-gapped/skills · 150 tokens

redis-to-valkey

Migrate Redis deployments (especially Bitnami Redis Helm charts in Sentinel HA mode) to Valkey on Kubernetes, including fully air-gapped clusters. Core knowledge: the RDB-version wall (Valkey replicates/loads only from Redis ≤ 7.2.x; Redis 7.4+ writes RDB v12 which Valkey rejects; Valkey 9 writes its own v80 — a…

air-gapped/skills · 224 tokens

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

redis-js

Work with the Upstash Redis JavaScript/TypeScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating with @upstash/redis search extension), and all Redis data structures. Supports automatic serialization/deserialization…

upstash/redis-js · 93 tokens