npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@oasissys/k8s-cli

v0.2.4

Published

oasis-k8s — AXI CLI for read-only Kubernetes access across the Oasis clusters (token-only, multi-cluster) with token-efficient TOON output

Readme

k8s-cli

oasis-k8s — an AXI-compliant CLI for read-only Kubernetes access across the Oasis clusters. List namespaces, nodes, pods, deployments, services, and events, read pod logs, and describe objects — with token-efficient TOON output built for autonomous agents.

Extracted from the oasis-core Claude Code plugin so it can be installed, versioned, and released on its own.

Quick Start

Install the k8s-cli skill in the Agent Skills format with npx skills:

npx skills add oasissys/k8s-cli --skill k8s-cli -g

That is the entire setup — the skill teaches your agent the CLI, and it runs without a global install as npx -y @oasissys/k8s-cli (Node 20+ required). Installing the skill itself needs GitHub access to this private repo.

-g installs the skill for all projects (~/.claude/skills/); drop it to install for the current project only.

Other ways to install

Zero setup

Any capable agent can run the CLI directly with nothing installed. Just tell your agent:

Execute `npx -y @oasissys/k8s-cli` to get Oasis Kubernetes tools.

Global install + session hook

Want the CLI on PATH and the saved clusters fed into every agent session?

npm install -g @oasissys/k8s-cli   # installs `oasis-k8s` (and the `k8s-cli` alias)
oasis-k8s setup

setup registers a SessionStart hook for Claude Code, Codex, and OpenCode that surfaces the saved clusters at session start — restart your agent session after running it. If you use the oasis-core Claude Code plugin, it already ships this hook; skip setup or remove one of the two.

From a clone (development)

pnpm install && pnpm run build && pnpm link --global

Register clusters

Clusters live in ~/.oasis.json (shared with the other oasis CLIs and the Oasis dashboard) and are verified against the apiserver's /version before being saved. The CLI talks straight to each kube-apiserver with a ServiceAccount bearer token — no kubeconfig, no certs.

oasis-k8s add jeddah --url https://<host>:6443 --token <token>
oasis-k8s clusters              # list saved clusters and the active one
oasis-k8s use jordan            # switch the active cluster
oasis-k8s rm jeddah             # remove a saved cluster

Use

oasis-k8s                                        # live view: saved clusters + active
oasis-k8s pods --namespace default               # pods in one namespace
oasis-k8s nodes                                  # nodes (status + kubelet version)
oasis-k8s logs my-pod --namespace default        # tail a pod's logs (200 lines)
oasis-k8s describe pod my-pod --namespace default # dump one object as JSON
oasis-k8s deployments --cluster jordan           # target a cluster without switching

Every command supports --help. Output is TOON on stdout, diagnostics on stderr, exit codes 0/1/2 (success/error/usage). Every read command is a GET — the CLI never mutates cluster state.

Development

pnpm run dev -- pods --namespace default   # run from source
pnpm test                                   # vitest
pnpm run lint                               # eslint
pnpm run build:skill                        # regenerate SKILL.md

Releases are cut by release-please from conventional commits on main. Do not hand-edit CHANGELOG.md, .release-please-manifest.json, or skills/k8s-cli/SKILL.md — they are generated.