/observe-lens:observe-lens-pipelinesfrom observe-lens
Read CI pipelines read-only to explain what a build, test run or workflow did and why: Jenkins jobs and builds, GitHub Actions workflows, runs, jobs and steps, their logs, parameters, artifacts and JUnit or Allure test reports, compared run to run. Use this whenever the user pastes a Jenkins or GitHub Actions URL or a run or build number, asks why a pipeline, build, test, sanity or regression run failed or is flaky, which commit or image a run produced, whether a merge or fix passed CI, or what changed between two runs, even if they do not say Jenkins, GitHub Actions or CI. Read-only: it never triggers, reruns, cancels or approves anything; it tells the user how. Not for writing or editing pipeline files, and for what is deployed where use observe-lens-cd.
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.
Read builds, logs and test reports from CI servers to explain what a pipeline did and why, with run numbers, timestamps and evidence the user can act on.
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.
scripts/pipelines.py accepts:
FOLDER/JOB, job/FOLDER/job/JOB or a full build URL (view prefixes are dropped).ci.yml), workflow id or all, plus a run id; or a full run URL. The repository comes from --repo owner/name or the instance default.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/pipelines.py subcommand except config init and config add (whoami, runs, run, log, params, artifacts, artifact, get, config list|check|path|knowledge), scripts/log_summary.py, scripts/test_report.py, and reading, searching, unzipping or deleting the files this skill downloaded under its temp folder (printed by the scripts).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, installing anything, deleting files outside this skill's temp folder. One yes covers that one action only. Triggering, rerunning, cancelling or approving a run stays off even when asked: hand the user the URL (see "Actions for the user").python3 scripts/pipelines.py config check, then python3 scripts/pipelines.py --instance <name> whoami (add --prod for a production instance, only after the user agreed). On an error, give the user the fix from references/setup.md instead of retrying. If several instances exist, pick the one whose URL matches what the user pasted.python3 scripts/pipelines.py config knowledge lists the user's Markdown notes (job map, how jobs chain, typical durations, known flaky tests). Read them before interpreting a job.pipelines.py run <job> <run> prints result, start/end (UTC), duration, trigger, commit, branch, parameters and, for GitHub Actions, each job with its failed steps. pipelines.py runs <job> --limit 10 lists recent runs, for when the number is unknown or you need the runs before and after a change.pipelines.py log <job> <run> saves the ANSI-stripped log in the temp folder and prints its path and line count (for GitHub Actions, --job <name or id> narrows to one job; default is all failed jobs). Logs run to thousands of lines, so summarise or search the file instead of printing it: python3 scripts/log_summary.py <file> extracts the first errors, failed tests, build-tool failure markers, exit codes and stack-trace heads, with line numbers.pipelines.py artifacts <job> <run> lists artifacts; pipelines.py artifact <job> <run> <name> [--dest <file name>] downloads one into the temp folder (the script refuses destinations outside it). python3 scripts/test_report.py <file, folder or zip> summarises JUnit XML, Allure results or Allure report data: totals, failed and broken tests with their message and the first frame.observe-lens-cd whether a rollout overlapped the run; a run that started before the new version was healthy can fail on restarting services, and the honest advice is a rerun, not a code fix.**Verdict:** <one line: what happened and whether it is the change, the environment, flakiness or a known failure>
| Run | Result | Time (UTC) | Notes |
| --- | --- | --- | --- |
| <instance>: <job> #<run> | SUCCESS/FAILURE | start → end | <commit, artifact or image, tests passed/failed> |
- **Failures:** <test or step → error → evidence line>
- **Compared with:** <previous/next run and what changed>
- **Next step:** <rerun / fix / who to ask>, with the URL if it needs a CI action
This skill only reads. When a rerun, cancel or approval is the right step, give the exact place and say what it affects (a deploy job changes a shared environment; some test jobs update gates other people rely on):
<build URL>/rebuild (Rebuild plugin) or "Replay" for pipelines; run a job from <job URL>/build or "Build with Parameters" (list them with pipelines.py params <job>); abort with the red X on the build page.workflow_dispatch, "Cancel workflow" on a running run; or gh run rerun <id> --failed, gh workflow run <file>, gh run cancel <id> if the user has the GitHub CLI.get accepts only read paths (Jenkins api/json, consoleText, artifact/...; GitHub REST reads), because some CI servers accept a GET with a token as a build trigger. Never call trigger, rerun, cancel, approve or delete endpoints yourself, even if asked to "just rerun it".references/setup.md).[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/pipelines.py: read-only CI client for providers jenkins and github. --instance <name>, --json for raw output. Subcommands: whoami, runs, run, log, params, artifacts, artifact, get <path>, config list|check|path|knowledge|init|add.scripts/log_summary.py: summarise a saved log file. --context N lines around each hit, --grep <regex> for extra patterns.scripts/test_report.py: summarise JUnit XML or Allure results/report from a file, folder or zip.references/jenkins.md: read before interpreting Jenkins jobs: job paths, API fields, pipeline stages, common failure patterns.references/github-actions.md: read before interpreting GitHub Actions: runs vs jobs vs steps, conclusions, re-run attempts, log and artifact quirks.references/setup.md: read when access fails or a new instance is added: config fields per provider, token scopes, troubleshooting.references/adding-a-provider.md: read when the user wants GitLab CI, Azure Pipelines, CircleCI or another CI system.assets/knowledge-template.md: template for the user's pipeline 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/adding-a-provider.md (opens in a new tab)references/github-actions.md (opens in a new tab)references/jenkins.md (opens in a new tab)references/setup.md (opens in a new tab)scripts/_ol_common.py (opens in a new tab)scripts/log_summary.py (opens in a new tab)scripts/pipelines.py (opens in a new tab)scripts/test_report.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-cdRead 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.Other plugins' skills for the same job
npx claudepluginhub evrentan/observe-lens --plugin observe-lens