Portable Agent Skills for Kubernetes and Google Cloud operations. Inspect resources, investigate symptoms and return evidence with next steps. Use explicit profiles and existing CLI/API access; profiles and credentials stay outside the repository. The skills do not perform remediation. For Prometheus HTTP queries, a supplied endpoint URL is sufficient; no profile is required.
New to this repo? Start with the Codex local-lab walkthrough. It takes you from prerequisites to a live diagnosis and cleanup without cloud credentials. Use the installation below when you already have a target environment.
Install all nine skills as the ops-triage plugin from our GitHub marketplace.
Use Git and a CLI version with native plugin support. CI checks Codex CLI
0.160.1 and Claude Code 2.1.178; older versions have not been tested.
# Codex CLI
codex plugin marketplace add vprashar2929/ops-skills --ref release
codex plugin add ops-triage@ops-skills
# Claude Code CLI
claude plugin marketplace add 'vprashar2929/ops-skills#release'
claude plugin install ops-triage@ops-skillsThese commands require a published release containing the plugin metadata.
For a local trial before publication, build a bundle as described below and
replace the marketplace source with its absolute directory path.
Plugin installation uses the same complete skills for both agents.
For individual skills, the existing installer remains available. It requires Git
and Node.js 22.20+. Install the validated distribution from release:
# Choose skills and agents interactively
npx skills@1.7.0 add https://github.com/vprashar2929/ops-skills/tree/release
# Browse available skills
npx skills@1.7.0 add https://github.com/vprashar2929/ops-skills/tree/release --list
# Install one skill for Codex and Claude Code
npx skills@1.7.0 add https://github.com/vprashar2929/ops-skills/tree/release \
--skill workload-triage --agent codex claude-codeInstallation defaults to the current project; add --global for personal use.
Choose either agent or both, and use --skill '*' to select all nine skills.
The skills CLI supports additional agents;
our installation checks cover Codex and Claude Code. Each published skill includes
its pinned upstream references. No build or submodule checkout is needed to
install or use the distribution. main contains build inputs: do not install its
skill directories directly, because upstream references are assembled during packaging.
Live inspection needs the skill's listed tools, authentication, permissions and network access. Supplied offline artifacts can be analyzed without cloud access.
Create a private YAML profile using the profile example and contract.
Use profile_version: 1. The profile identity field names a set of target
mappings; profiles can be organized per user, cluster, environment, or a combination.
For complete copyable GKE and managed-GCP examples and a first lookup, see the
profile starter guide.
Replace the example project, location, cluster and context with your own mappings.
For managed GCP services, see the cloud targeting contract.
Open your agent, select the skill and supply your task:
| Agent | Invoke the installed skill |
|---|---|
| Codex CLI / IDE | Type $workload-triage, or select it using /skills |
| Claude Code | Type /workload-triage |
For plugin installations, use $ops-triage:workload-triage in Codex or
/ops-triage:workload-triage in Claude Code; the table uses standalone skill names.
For example, with the individual-skill installation in Codex (replace the first
line with /workload-triage in Claude Code):
$workload-triage
Profile: /path/to/private/profile.yaml
Environment: staging
Cluster: apps
Namespace: shop
Workload: deployment/orders-api
Show images, requests/limits, readiness and rollout state. Read-only.
If the skill does not appear, restart the agent. Other Agent Skills-compatible
agents have their own discovery paths and invocation syntax; /skills is not a
universal command. Keep the complete skill directory, including its references and scripts.
Skill instructions do not enforce permissions or redact tool output; use
appropriately scoped access. Billing queries may incur charges.
Use one installation route per agent. When migrating, back up standalone skill directories before removing their copies or links. Retain shared copies still used by another agent, then install the plugin and confirm its nine skills appear.
To receive a new plugin version:
codex plugin marketplace upgrade ops-skills
codex plugin add ops-triage@ops-skills
claude plugin marketplace update ops-skills
claude plugin update ops-triage@ops-skillsStart a new session after updating. To uninstall, run
codex plugin remove ops-triage@ops-skills or
claude plugin uninstall ops-triage@ops-skills.
Before updating, retain the previously tested bundle or its distribution commit.
The tested Codex version removes the previous cached plugin on upgrade.
To roll back, uninstall, remove the marketplace registration, and add a retained
bundle or pin a previous distribution commit with Codex's --ref <sha> or Claude's
#<sha> source before reinstalling.
Local development, manual installation and fixed revisions
Building local changes requires Python 3.9+ and initialized submodules:
git clone --recurse-submodules https://github.com/vprashar2929/ops-skills.git
cd ops-skills
python3 scripts/package_skill.py --all dist/bundle
npx skills@1.7.0 add ./dist/bundle --skill workload-triage --agent codex claude-codeWithout Node.js, copy the assembled dist/bundle/skills/workload-triage/ into a new
$HOME/.agents/skills/workload-triage directory (Codex), or
$HOME/.claude/skills/workload-triage (Claude Code). Back up an existing installation
before replacing it. For a fixed version or rollback, use
https://github.com/vprashar2929/ops-skills/tree/<release-commit-sha> as the install
source. Choose a commit from the release branch, not a source commit from main.
CI checks installer version 1.7.0.
Build destinations must be new; the packager refuses overwrites.
| Skill | Purpose |
|---|---|
| workload-triage | Namespaces, workload status, logs and configuration references |
| service-connectivity-triage | Service endpoints, network policies and Istio routing |
| gke-cluster-triage | Nodes, scheduling capacity, autoscaling and storage |
| observability-triage | Prometheus alert/metric queries, signal discovery, scrape failures and missing logs |
| delivery-triage | Pipeline failures, Helm releases and Argo CD reconciliation |
| cloud-sql-triage | Managed database availability, connections and resource pressure |
| redis-triage | Redis connections, memory, evictions and replication |
| kafka-triage | Brokers, consumer lag and Connect/MirrorMaker failures |
| cloud-cost-review | Billing export totals, changes and supported cost allocation |
Packages include only selected content, preserving its license and pinned commit
in UPSTREAM.json. Upstream setup or mutation examples do not override the local
skill's operational boundaries.
| Repository | Included guidance | License |
|---|---|---|
| google/skills | GKE, Monitoring, Logging and cost | Apache-2.0 |
| redis/agent-skills | Connections, observability and clustering | MIT |
| wshobson/agents | Istio traffic, mesh observability, Prometheus and Grafana metric patterns | MIT |
| planetscale/database-skills | Selected MySQL diagnostics | MIT |
The submodule gitlinks pin the upstream revisions. Selections live in
the packager; delivery and Kafka use locally authored
procedures. Generated upstream references are not maintained in the source tree.
The packager copies selected content into each distribution's references/
directory. After reviewing an upstream content/license change and staging its
new gitlink, build and inspect the resulting skills:
git submodule update --init --recursive
python3 scripts/package_skill.py --all dist/upstream-reviewThe packager refuses dirty or unrecorded upstream revisions and preserves licenses,
file contents and provenance. It includes only the explicit selections and rejects
generated copies placed back in source. Required links must resolve inside each
assembled skill. Source SKILL.md links to shared and upstream resources resolve
after building.
Hosted Renovate schedules submodule and GitHub Actions updates weekly without automerge. A submodule update needs no reference-refresh commit or post-upgrade script: CI builds from its proposed pin. Review the upstream content and license diffs and the CI bundle before merging; passing format checks does not approve new instructions. Upstream moves or incompatible content can still require changes to the selections or local procedures. Running the bot requires separate repository setup.
For a local end-user trial without GCP, use the kind example. It includes a synthetic profile and small Kubernetes failure scenarios.
Use synthetic examples and keep private operational data, credentials and development reports out of changes. Include the affected skill, agent/tool versions, a sanitized reproduction and expected versus observed behavior in issues or pull requests. Follow AGENTS.md for format validation and upstream update checks.
git submodule update --init --recursive
python3 -m unittest discover -s tests -vThe suite requires Python 3.9+, Git and the initialized pinned submodules. It covers packaging, publication against a local bare Git remote, and workload helpers; command tests also require bash and jq. Behavior cases and Markdown fixtures are separate agent-driven scenarios, not automatically executed unit tests.
The synthetic PromQL query fixture
is executable with promtool (tested with 3.5.0), without a running server:
promtool test rules tests/fixtures/prometheus-queries.test.ymlThis optional check covers query results and edge cases; it does not test HTTP access or agent behavior and is not part of the Python suite or current CI job.
The project is experimental. Broad incident coverage and cross-agent behavioral parity are not established. Format and installation checks do not prove diagnostic accuracy, production readiness or time savings.
The source and distribution layouts have separate responsibilities:
Location on main |
Maintained content |
|---|---|
skills/<name>/ |
Authored skill instructions, scripts and local references; build inputs |
shared/ |
Authored references maintained once and copied into selected skills |
packaging/plugin.json |
Shared plugin identity and version; host manifests/catalogs are generated |
upstream/ |
Git submodules pinned to exact upstream revisions |
scripts/package_skill.py |
Selection rules and assembly; creates complete skill directories |
scripts/publish_distribution.py |
Publishes the already validated bundle; does not assemble it |
tests/ |
Unit, packaging, publication and installer checks, plus manual behavior scenarios |
.github/workflows/distribution.yml |
Coordinates validation and publication |
dist/ |
Ignored local build output; never maintained by hand |
On release, skills/<name>/ contains each complete skill, including its operational
scripts, shared guidance and selected upstream references. Repository build scripts,
tests and submodules are excluded. SOURCE.json identifies the source commit;
each upstream reference has UPSTREAM.json recording its origin and selection.
Edit sources on main; release is generated. The bare owner/repo installer
shorthand selects main, so use the explicit /tree/release URL.
The distribution root also contains portable plugin.json, a generated Claude
manifest, and native marketplace catalogs under .agents/plugins/ and
.claude-plugin/. Both catalogs point at the distribution root. There is one
copy of each skill; native plugins and individual-skill installations share it.
This follows OpenAI's portable plugin guide
and Claude's marketplace format.
Plugin packaging is separate from the Agent Skills format.
Edit the shared operational contract once; the packager includes it in each selected skill. Installed skills remain self-contained. This publishing layout is our choice: the Agent Skills specification defines the skill format, without requiring a release branch or a particular installer.
Skill distribution builds from the pinned
sources on every PR and push to main. Its validation job has read-only repository
permissions. It runs offline tests, validates source and assembled formats with
official skills-ref, checks packaged links, and tests real CLI installations of
the bundle for Codex and Claude Code in copy and symlink modes. The archive retains
script permissions, upstream licenses and provenance. PR artifacts are available
for review; they are never published as releases.
It also checks native Git marketplace installation and one cached update in both
CLIs, including skill discovery, installed bytes/permissions, packaged links and
official installed-skill validation. Claude metadata is validated strictly.
These checks use a local Git remote and do not establish model behavior.
Keep the plugin name stable. Versions in packaging/plugin.json use numeric
MAJOR.MINOR.PATCH. PRs and main builds validate and package; source and upstream
changes can accumulate without modifying the published plugin.
Release Please prepares a release PR with the plugin version, manifest, and changelog updates. It keeps that PR current even when CI-only changes reach main. Review compatibility (including upstream instructions and licenses), then merge the release PR.
Merging the release PR lets Release Please create the version tag and GitHub
release. GitHub's release: published event
runs the same validation on the tagged commit, then publishes that exact artifact
to release. The publisher verifies the tag, plugin version and trusted-main
ancestry, so later main changes cannot replace the approved snapshot.
The GitHub release is visible before distribution finishes; if publication fails,
rerun the failed release workflow. Retrying the same release leaves its published
bytes and SOURCE.json untouched. Changed contents require a new, increasing
version, including shared rollbacks. The required PR check remains named validate.
Use Conventional Commits: fix: for patches, feat: for minor releases, and ! or
BREAKING CHANGE: for major releases, including before 1.0. Renovate uses fix(deps)
only for upstream gitlinks; CI dependency chores alone do not request a release.
The bootstrap manifest records published 0.1.4 and its source commit. Release Please's
supported go release type
maintains the changelog; its JSON extra-file updater changes the plugin version.
One-time prerequisite: an administrator must store RELEASE_PLEASE_TOKEN as a
repository Actions secret before the bot can run. Use a fine-grained PAT limited to
this repository with Contents, Pull requests, and Issues: read and write.
Also grant Workflows: write so Release Please can release an approved commit
after main's workflow files have changed, as required by
GitHub's release API.
The PAT lets bot-created PRs and releases trigger Actions, as documented in the
action README.
PR validation retains read-only permissions. Only the main Release Please job uses
the PAT. Distribution publication uses GITHUB_TOKEN with contents: write;
repository policy must allow that token to push to release.
The main Release Please job also needs Python and the authenticated GitHub CLI
(gh), provided by its GitHub-hosted runner and setup step. Release Please's PAT
commits are unsigned. After each generated PR update,
sign_release_pr.py recreates its single release
commit using GitHub's signing API.
The helper requires a verified signature and identical file tree, commit message
and parent before replacing the release branch with an atomic expected-head check.
It handles only this repository's release branch and its three generated files;
unexpected changes fail for review. Temporary signing branches are removed, and
the signed update triggers fresh PR validation using the same PAT. No signing key
secret or exception to the verified-signature requirement is needed.
If signing fails, rerun the main release job after resolving the reported error.
For a one-time repair with the same repository permissions and gh authentication:
python3 scripts/sign_release_pr.py --repository vprashar2929/ops-skills --pr <number>The publisher verifies clean source provenance and staged Git file contents and pushes
without force. Git ignore rules cannot drop validated files; Git attribute
transformations cause publication to fail rather than alter them.
Previous distribution commits remain available for fixed installs and rollback.
Failed validation prevents publication; a rejected push leaves the previous release
intact. The workflow's manual trigger on main runs Release Please; publication
retries use the original release workflow. Inspect release's SOURCE.json for
the last published source. Local development uses the same packager and installs
from dist/bundle; moving a checkout is not an update.
Vendor directory listings require separate submissions through OpenAI and Anthropic; publishing this Git marketplace does not submit to either directory.
Copyright 2026 Vibhu Prashar. Repository-authored code, skill instructions, documentation and examples are licensed under Apache-2.0. Each installable skill includes a copy of the license.
Third-party content in upstream/ and the published reference directories retains
its original license and copyright notices. See the upstream references
table and each reference directory's LICENSE and UPSTREAM.json for details.