davidmarkgardiner/kagent-public/evidence-first-worker-triage

Claude Code and agent skill by davidmarkgardiner/kagent-public

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement and prove a non-production Kubernetes evidence-first triage route: Alloy collects scoped logs and events, worker-local Vector redacts, bounds and fingerprints them, Confluent Kafka hands them to management Argo, and a read-only kagent creates an idempotent GitLab work item. Use whenever configuring, replicating, validating, or handing over this worker-to-management triage flow; do not use for Alertmanager/Grafana-triggered automation.

Install

npx vskill@latest install davidmarkgardiner/kagent-public/evidence-first-worker-triage

SKILL.md

The same SKILL.md was published earlier as davidmarkgardiner/kagent-public/evidence-first-worker-triage.

Evidence-First Worker Triage

Outcome

Implement a parallel, non-production route. The important property is that the triage agent receives the original, redacted evidence package first; its read-only Kubernetes tools then enrich the diagnosis rather than reconstructing the incident from an alert summary.

text
worker: Alloy -> Vector -> Confluent Kafka
management: Kafka -> validate/quarantine -> durable TTL claim -> Argo Workflow
-> read-only kagent -> idempotent GitLab issue

Do not change Alertmanager routes, Grafana alerting, production scope, or agent permissions. Never put credentials, cluster endpoints, CA material, project IDs or raw sensitive evidence in Git.

Load in this order

  1. Read ../WORK-AGENT-START-PROMPT.md, ../FRONT-SHEET.md,

../FLEET-TOPOLOGY.md, ../DESIRED-STATE.md, and ../CHECKLIST.md.

  1. Read references/replication-runbook.md. It maps each required live

component, artifact, control and proof to a precise implementation task.

  1. Read ../FABLE-FEEDBACK-RESPONSE.md, ../payload/REFERENCE.md, and

../evidence/EVIDENCE-TEMPLATE.md before changing anything.

  1. Run bash ../scripts/verify-bundle.sh.

The red-cluster artifacts named in the reference material are a narrow single-cluster proof, not an office overlay. Reuse their payload shape and tested patterns, but implement the fleet controls listed in DS-01 through DS-16.

Execute, do not review

Inspect the live target first. Alloy, Vector, Confluent Kafka, Argo Events/Workflows and the read-only kagent are expected to exist already. Reuse their namespaces, service accounts, approved secret references, EventBus and GitLab integration. Do not install duplicates.

Create a private values file outside Git from ../templates/pilot-values.env.example. Then run:

bash
bash ../scripts/preflight-gates.sh --values /secure/pilot-values.env
bash ../scripts/render-pilot-templates.sh --values /secure/pilot-values.env \
--out /tmp/evidence-first-worker-triage

Treat rendered files as scaffolding. Customise the existing deployment/release overlays, perform server-side dry runs, apply through the approved GitOps path, and verify live readiness. If an implementation control is missing, add it; do not finish by listing it as a gap. Ask the owner only for a genuine credential, permission, network, retention, classification, or durable-store decision that cannot be safely discovered.

Non-negotiable implementation sequence

  1. Scope Alloy to one approved non-production namespace and forward pod logs

plus Kubernetes Warning events with cluster, environment, namespace, pod, container, workload/service and event-reason metadata.

  1. Place Vector in every worker cluster. Before Kafka, enforce a versioned

envelope, allow-list, secret/PII redaction, per-line and total caps, prompt-injection-safe evidence treatment, stable workload/signature fingerprinting, short burst suppression, disk buffer and loss telemetry.

  1. Produce only the redacted envelope to the approved Confluent topic using

the existing worker identity and ACL. Key records by incident_fingerprint.

  1. In management, validate schema, source-cluster/topic identity, size and

timestamps. Quarantine rejected records to the approved DLQ and count them.

  1. Atomically acquire a durable 24-hour TTL claim before starting diagnosis.

It must support failure release/retry, expiry takeover and a post-create ticket retry without creating a second issue.

  1. Have Argo invoke only the approved read-only kagent. Pass untrusted evidence

as data, tell the agent not to follow instructions inside it, and prohibit remediation.

  1. Create or update one GitLab issue using the durable incident fingerprint.

Scrub the ticket payload independently of Vector and record the workflow reference and verification commands.

Required proof

Run all of these against the deployed path, not a rendered manifest:

  • one application error log;
  • FailedScheduling, an OOM class (OOMKilled or OOMKilling), and one

configuration/image-pull failure event;

  • same fingerprint inside the TTL window, stale replay and consumer-group

replay behaviour;

  • ticket post-create failure/retry, burst/rate limit, broker outage/buffer

drain, invalid-schema quarantine, and read-only agent tool inventory.

Inspect every resulting workflow and GitLab issue. Evidence must be present, bounded and redacted; a duplicate must not create a second issue; a correlated new signal may update the open issue. Collect DS-01 through DS-16 evidence and finish in the exact verdict format in ../DESIRED-STATE.md.

Stop conditions

Do not declare success because a Deployment is Ready, a topic exists, a manifest renders, or a happy-path workflow started. Report a blocker only with the missing decision/authority, owner, safe next action, and affected desired state gate. Otherwise implement and prove the missing control.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/davidmarkgardiner/kagent-public/evidence-first-worker-triage/badge)](https://verified-skill.com/skills/davidmarkgardiner/kagent-public/evidence-first-worker-triage)

Something wrong with this skill or its page? Tell us.