/observe-lens:observe-lens-cdfrom observe-lens
Read continuous-delivery state read-only to explain what is deployed where and whether it is healthy: Argo CD applications (sync and health status, deployed revision, sync history, failing resources, events, conditions), Flux kustomizations and Helm releases, Helm release history, and Kubernetes rollouts, pods, restarts and events through guarded read-only kubectl, helm and flux commands. Use this whenever the user asks whether a commit, image tag or fix is deployed to an environment, when a deploy happened or finished, why an app is OutOfSync, Degraded, Progressing or crash-looping, what changed in the last release, or whether a rollback happened, even if they do not say Argo CD, Flux, Helm or Kubernetes. Read-only: it never syncs, rolls back, restarts, scales or edits anything; it tells the user how. For build and test results use observe-lens-pipelines; for logs and metrics use observe-lens-telemetry.
Ships in observe-lens. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Find out which revision is running in which environment, since when, and whether it is healthy, so a "is my fix live?" or "why is prod degraded?" question gets a precise answer.
Run scripts with python3; on Windows use python or py -3 if python3 is not found. Paths below are relative to this skill's folder.
The first time this skill is used in a session, before running any command, ask the user once (with the multiple-choice question tool if there is one):
observe-lens, observe-lens-pipelines, observe-lens-cd, observe-lens-db and observe-lens-telemetry for the rest of the session.Skip the question if the user already picked option 3 in another observe-lens skill this session, or option 2 for this skill. Keep the choice for the session; the user can change it at any time ("ask me again", "stop auto-running").
scripts/cd.py subcommand except config init and config add (whoami, apps, app, history, resources, events, get, config list|check|path|knowledge) and every scripts/kube_ro.py command it accepts (it refuses anything that is not a read).ls/dir/Get-ChildItem, cat/type/Get-Content, grep/findstr/Select-String). If a command could change anything, treat it as state-changing. Reading credential files is never covered (see Rules).config list marks confirm=yes (environment prod, production, prd or live unless the instance sets "confirm": false, or any instance with "confirm": true), name the instance and ask once. The scripts refuse a production instance unless the command includes --prod: add it only after the user says yes, then keep adding it to that instance's commands, which follow the choice above for the rest of the session. --prod never relaxes the read-only guards and never allows writes. Production systems are shared and hold real customer data, so a deliberate first look is worth one question.config init, editing files under the observe-lens config folder or kubeconfig, switching the current kube context, installing anything. One yes covers that one action only. Syncing, refreshing with hard refresh, rolling back, restarting, scaling, deleting pods or editing resources stays off even when asked: tell the user what to run (see "Actions for the user").python3 scripts/cd.py config check, then python3 scripts/cd.py --instance <name> whoami for Argo CD, or python3 scripts/kube_ro.py kubectl version for a cluster. On an error, give the user the fix from references/setup.md. Add --prod to commands against a production instance, only after the user agreed.python3 scripts/cd.py config knowledge lists notes on app names, environments, clusters, namespaces and how a commit becomes an image tag. Read them before guessing names.cd.py apps [--project P] [--selector k=v] [--filter text] lists apps with sync, health and revision; cd.py app <name> gives sync and health status, target and deployed revision, images, operation state, conditions and resources that are not Healthy/Synced.kube_ro.py flux get kustomizations -A and kube_ro.py flux get helmreleases -A, or the same through kubectl get kustomizations.kustomize.toolkit.fluxcd.io -A.kube_ro.py helm list -A, kube_ro.py helm history <release> -n <ns>.cd.py history <name> lists deployments with revision and deployedAt. The time a new version is really serving is when health turned Healthy after that sync, not when the sync started; cd.py app <name> shows the operation's start and finish.cd.py resources <name> --unhealthy and cd.py events <name> for Argo CD; kube_ro.py kubectl get pods -n <ns> -l <selector>, kube_ro.py kubectl describe pod <pod> -n <ns>, kube_ro.py kubectl get events -n <ns> --sort-by=.lastTimestamp, kube_ro.py kubectl rollout status deploy/<name> -n <ns> --timeout=5s. Restarts, ImagePullBackOff, CrashLoopBackOff, failed probes and OOMKilled usually explain Degraded; for what the container logged, hand over to observe-lens-telemetry or kube_ro.py kubectl logs <pod> -n <ns> --tail=200.**Status:** <one line: what is running where, healthy or not, and whether the user's change is in it>
| Time (UTC) | Instance / cluster | App | Revision / image | Sync | Health |
| --- | --- | --- | --- | --- | --- |
| 2026-01-15 09:46:02 | argocd-prod | api | 3f2a9c1 / api:1.42.0 | Synced | Healthy |
- **Why:** <conditions, failing resources, events, restarts>
- **Next step:** <wait, rerun the pipeline, roll back, who to ask>, with the exact UI action or command for anything that changes state
This skill only reads. When a change is the right next step, give the exact action and what it affects (a sync or rollback changes a shared environment for everyone):
<argocd URL>/applications/<namespace>/<app>), or argocd app sync <app>, argocd app rollback <app> <id>.flux reconcile kustomization <name> -n <ns>, flux suspend|resume ....helm rollback <release> <revision> -n <ns>.kubectl rollout restart deploy/<name> -n <ns>, kubectl rollout undo deploy/<name> -n <ns>.scripts/cd.py only sends GET requests and refuses Argo CD's refresh parameter (a GET with refresh=hard regenerates manifests). scripts/kube_ro.py refuses any verb that changes state, and flags that point the CLI at another API server, pass a token or impersonate another user (--server, --token, --as, --insecure-skip-tls-verify, high -v levels that log request headers), because those can send the user's cluster credentials elsewhere or widen their access. Do not call the CLIs directly to get around that.kube_ro.py refuses secret/secrets resources, helm get values|manifest|all and kubectl config view --raw. If the user needs to know whether a secret exists, kubectl get secret is refused too; tell them to check it themselves. Never print tokens or kubeconfig credentials.--context; say which cluster and namespace every result came from.--context per command instead, because switching it affects every other terminal the user has open.[REDACTED:<kind>]; if a value still looks like a credential, do not repeat it. Say where it appears and recommend rotating it.scripts/_ol_common.py: shared helpers (config, secrets, HTTP, guards) imported by the scripts; not run directly.scripts/cd.py: read-only Argo CD client. --instance <name>, --json for raw output. Subcommands: whoami, apps, app, history, resources, events, get <path>, config list|check|path|knowledge|init|add.scripts/kube_ro.py: guarded passthrough for kubectl, helm and flux; runs only read verbs (get, describe, logs, events, top, rollout status/history, version, api-resources, helm list/status/history, flux get/tree/stats) and refuses everything else. Uses the instance's context when --instance is given.references/argocd.md: read before interpreting Argo CD: sync vs health, revision semantics, operation state, history, multi-source apps, app-of-apps.references/kubernetes-flux-helm.md: read for Flux, Helm and plain Kubernetes: what each status means and the read commands that explain it.references/setup.md: read when access fails or a new instance is added: Argo CD token, kube contexts, troubleshooting.assets/knowledge-template.md: template for the user's CD notes (config init copies it).assets/config.example.json, assets/secrets.example.json: placeholder config and secret shapes (config init copies the config; secrets are added with config add).assets/config.example.json (opens in a new tab)assets/knowledge-template.md (opens in a new tab)assets/secrets.example.json (opens in a new tab)references/argocd.md (opens in a new tab)references/kubernetes-flux-helm.md (opens in a new tab)references/setup.md (opens in a new tab)scripts/_ol_common.py (opens in a new tab)scripts/cd.py (opens in a new tab)scripts/kube_ro.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/observe-lensRead-only investigation across CI pipelines, CD deployments, databases and telemetry (logs, traces, metrics, alerts) to explain what happened to a build, a deploy, a request, an order, a test run or a feature, and why. Routes to observe-lens-pipelines (Jenkins, GitHub Actions), observe-lens-cd (Argo CD, Flux, Helm, Kubernetes rollouts), observe-lens-db (PostgreSQL, MySQL, MongoDB) and observe-lens-telemetry (Grafana, Loki, Tempo, Prometheus), and correlates their evidence on one timeline. Use this whenever a developer, tester, analyst or product owner asks why something failed, broke, is slow or behaves differently, whether a change is deployed or verified, what a service logged, what state a record is in, or wants a status or root-cause summary across systems, even if they only paste an id, a URL, an error message or a time window and do not name a tool. Also use it to set up or check observe-lens configuration. Never changes the systems it reads./observe-lens-dbQuery databases read-only to see what state data is in while debugging, testing or answering a question: PostgreSQL, MySQL or MariaDB and MongoDB (including AWS RDS, Aurora and DocumentDB), directly or through an SSH tunnel, with a guard that only lets SELECT-style SQL and read-only Mongo expressions through. Discovers tables, columns and collections before querying. Use this whenever the user gives an order, customer, account, request or record id and wants to know what was stored, which status or error a record has, whether a migration or job changed data, or why the data does not match what the UI or an API shows, even if they do not say database, SQL, psql or Mongo. Read-only: for writing migrations, changesets, DDL or data fixes use a development skill instead.npx claudepluginhub evrentan/observe-lens --plugin observe-lensOther plugins' skills for the same job