ov-layers/skills/redis/SKILL.md
Redis in-memory data store on port 6379 with periodic persistence. Use when working with Redis, caching, or session storage in containers.
npx skillsauth add overthinkos/overthink-plugins redisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Dependencies | none |
| Ports | 6379 |
| Service | redis (supervisord, priority 20) |
| Install files | tasks: |
| Variable | Value |
|----------|-------|
| REDIS_URL | redis://127.0.0.1:6379 |
| Variable | Template Value | Resolved Example |
|----------|---------------|-----------------|
| REDIS_URL | redis://{{.ContainerName}}:6379 | redis://ov-redis:6379 |
Pod-aware: same-container consumers receive redis://localhost:6379, cross-container consumers receive redis://ov-redis:6379. When ov config runs, REDIS_URL is automatically injected into the global deploy.yml env for Redis service discovery.
See /ov:layer for env_provides field docs.
redis (dnf request) → installed as valkey-compat-redis on
Fedora 43. The old redis package was replaced; dnf resolves the
name via Provides:, but rpm -q redis returns "not installed".
Any package: test must query the real installed name. See
/ov:test Authoring Gotcha #8.# image.yml -- typically used as dependency of immich
my-image:
layers:
- redis
/ov-images:immich/ov-images:immich-mlThe layer ships 5 declarative checks embedded in the org.overthinkos.tests
OCI label (see /ov:test for the full schema — this layer is the
gold-standard pattern referenced there):
ov image test, via podman run --rm):
redis-binary — /usr/bin/redis-server existsredis-cli-binary — /usr/bin/redis-cli existsredis-package — valkey-compat-redis package installed (real
installed provider on Fedora 43; see Packages note above)ov test against a live service; uses
${HOST_PORT:6379} runtime substitution so the checks keep working
if deploy.yml remaps the host port — host-side tests always use
127.0.0.1:${HOST_PORT:N}, not ${CONTAINER_IP}):
redis-responds — redis-cli -h 127.0.0.1 -p ${HOST_PORT:6379} ping returns PONGredis-port-open — TCP dial 127.0.0.1:${HOST_PORT:6379} succeedsComposed-vs-standalone skip behavior: when redis is a sub-layer of
a larger image (e.g. immich-ml) that doesn't expose port 6379 on the
host, the deploy-scope tests correctly skip with
unresolved variables: HOST_PORT:6379. No authoring action needed.
/ov-layers:immich -- primary consumer (depends on redis)/ov-layers:postgresql -- often paired with redis in service stacks/ov:test -- declarative testing framework (this layer is the gold-standard pattern)/ov:layer -- layer authoring + env_provides field docs/ov-layers:valkey -- Remi-repo Valkey 9 package (separate layer; different version than Fedora's default valkey-compat-redis)Use when the user asks about:
REDIS_URL configurationtools
Use when authoring or modifying a charly PLUGIN — a candy with a `plugin:` block that contributes Providers (verbs/kinds/deploy-targets/steps/builders/commands), its own CUE schema, builtin (compiled-in) or external (out-of-tree git repo). Covers the unified Provider model, the per-plugin CUE-schema contract (single source → Go params for dev + schema-over-Describe RPC for runtime), the SDK, and the loader.
tools
The CUE data-validation / configuration CLI (cue), pinned to v0.16.1. Use when working with the cue candy, installing the cue binary into a box or onto a target:local dev host, or running the offline schema-vendoring pipeline that feeds charly's egress validation.
tools
CUE EGRESS validation — validating (and, where it adds value, generating) the config files charly WRITES to a system BEFORE the bytes hit disk. MUST be invoked before working on charly/egress.go, the vendored schemas under candy/plugin-egress/egress-schemas/vendor/, the ValidateEgress / registerVendoredEgressKind path, the offline `task cue:vendor` pipeline, or adding an egress schema for any written artifact (cloud-init, k8s manifests, traefik routes, runtime config, install ledger, systemd/quadlet units, ssh_config, libvirt XML).
tools
Kubernetes cluster-probe declarative check verb — the `kube:` check verb (nodes, pods, ingress, storage class, addon health, apply/delete, and arbitrary resource GETs) served out-of-process by the candy/plugin-kube plugin (vendored client-go; no external kubectl required).