Agent skill

KubeSphere Core Router

by kubesphere in kubesphere/kubesphere

Explains KubeSphere 4.x architecture and API paths, ships an API helper script, and routes requests to the cluster, tenant and extension skills.

Custom licenceAuto-check passedDevOps & Cloud

Install KubeSphere Core Router

skills CLI
$ npx skills add kubesphere/kubesphere --skill kubesphere-core -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kubesphere/kubesphere kubesphere-core --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kubesphere/kubesphere.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kubesphere-core .claude/skills/kubesphere-core && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kubesphere-core
GitHub stars
17k
Token cost
~1.3k tokens
SKILL.md length
235 words
Files
2 (incl. scripts)
Skills in repo
32
Repo updated
First seen
Licence
Custom licence

At a glance

Explains KubeSphere 4.x architecture and API paths, ships an API helper script, and routes requests to the cluster, tenant and extension skills.

  • Asking how KubeSphere's apiserver, controller manager and console fit together
  • SKILL.md covers Overview, Core Architecture, Core Components and API, plus 2 more sections
  • Runs Python scripts from its folder; calls python and pip
  • Calling the KubeSphere API on a specific member cluster

What it does

This is the entry skill for KubeSphere, a Kubernetes-based platform whose 4.x releases use a microkernel plus extensions design. It describes the three core components: ks-apiserver, which aggregates APIs and handles authentication, authorization and multi-cluster routing; ks-controller-manager, which reconciles resources such as workspaces, projects and users; and ks-console, the React web interface.

For API work it explains the two path prefixes, `/apis/` for the target cluster's kube-apiserver and `/kapis/` for KubeSphere's own API server, and the `/clusters/{cluster-name}/` prefix that forwards a call to a member cluster. The bundled `scripts/ks_api.py` logs in and makes calls, using `requests` and a `KUBESPHERE_HOST` variable. Requests about multi-cluster, multi-tenant or extension management are passed to the kubesphere-cluster-management, kubesphere-multi-tenant-management and kubesphere-extension-management skills.

When your agent uses it

  • Asking how KubeSphere's apiserver, controller manager and console fit together
  • Calling the KubeSphere API on a specific member cluster
  • Deciding which KubeSphere skill handles a cluster, tenant or extension request

Example prompts

  • “List the namespaces in the demo workspace on the member-1 cluster through the KubeSphere API.”
  • “Which KubeSphere component handles workspace and project lifecycle?”
  • “Log in to our KubeSphere host with the helper script and show the token info.”

Requirements

  • Python with the `requests` package
  • A reachable KubeSphere host set in `KUBESPHERE_HOST`
  • KubeSphere login credentials

What it can do on your machine

Read from SKILL.md and the folder at commit 04a29b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • dev-guide.kubesphere.io
    • kubesphere.io
    • docs.kubesphere.co

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

KubeSphere Core Router loads about 1.3k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 235 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 235 words (~1,326 tokens).

“KubeSphere is a distributed operating system for cloud-native application management built on Kubernetes. Version 4.x adopts a microkernel + extension architecture (codename LuBan) where the core provides essential functions and independent functional modules are delivered as extensions.”

— opening of SKILL.md by kubesphere, Custom licence
name
kubesphere-core

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in skills/kubesphere-core of kubesphere/kubesphere.

  • SKILL.md
  • scripts/ks_api.py

Open the folder on GitHubat commit 04a29b5

Compare with similar skills

KubeSphere Core Router next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

KubeSphere Core Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
KubeSphere Core Router this skillkubesphere/kubesphere17k—~1.3kAutomated safety check: PassCustom licence
Vetatilladeniz/Kubeli3872 repos~1.6kAutomated safety check: PassMIT
Dstack Presetsdstackai/dstack2.3k—~403Automated safety check: PassMPL-2.0
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills148—~2.6kAutomated safety check: NotesApache-2.0
Toolsastronomer/astronomer491—~1.1kAutomated safety check: PassCustom licence
Dstackdstackai/dstack2.3k—~6.2kAutomated safety check: WarnMPL-2.0

Similar skills

  • Vet

    atilladeniz/Kubeli

    Run vet immediately after ANY logical unit of code changes. An agent skill from atilladeniz/Kubeli.

    387 GitHub starsUsed in 2 repos~1.6k tokens
    DevOps & CloudAuto-check passed
  • Dstack Presets

    dstackai/dstack

    Create and manage dstack presets: a toolkit that streamlines model inference optimization with agents, and a portable preset format.

    2.3k GitHub stars~403 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub stars~2.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • Tools

    astronomer/astronomer

    A skill your agent uses when writing, editing, or reviewing command-line tools and helper scripts in this repo (things in bin/).

    491 GitHub stars~1.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Dstack

    dstackai/dstack

    dstack is an open-source control plane for GPU provisioning and orchestration across GPU clouds, Kubernetes, and on-prem clusters.

    2.3k GitHub stars~6.2k tokensUpdated today
    DevOps & CloudAuto-check: warnings
  • Asdf

    jjmartres/opencode

    A skill your agent uses whenever the user wants to install, configure, or use asdf (asdf-vm), the universal version manager.

    133 GitHub stars~2.1k tokensUpdated 5 mo ago
    DevOps & CloudAuto-check: notes

More from kubesphere/kubesphere

All 32 skills in this repo
  • Creates and queries KubeSphere users, workspaces and projects and assigns built-in roles, defaulting to least privilege and never deleting anything.

    17k GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed
  • KubeSphere ServiceMesh Manager

    kubesphere/kubesphere

    Installs, checks and troubleshoots the KubeSphere ServiceMesh extension (Istio, Kiali, Jaeger), including grayscale release, sidecar injection, topology and tracing issues.

    17k GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • KubeEye Cluster Inspection

    kubesphere/kubesphere

    Deploys KubeEye on KubeSphere and writes InspectRule and InspectPlan resources to inspect cluster health, then retrieves the inspection reports.

    17k GitHub stars~3.6k tokensUpdated 2 mo ago
    Auto-check passed
  • KubeSphere NodeGroup Operations

    kubesphere/kubesphere

    Queries, creates, updates, binds and troubleshoots NodeGroup resources in the edgewize nodegroup project through a bundled authenticated API script.

    17k GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • WizTelemetry Platform Service

    kubesphere/kubesphere

    Installs and configures the WizTelemetry Platform Service extension for KubeSphere, the shared API server behind its observability extensions.

    17k GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Runs the lifecycle of FrontendExtension resources in a Kubernetes cluster: create, rebuild, package, publish, unpublish, delete and debug stuck states.

    17k GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about KubeSphere Core Router

What does KubeSphere Core Router do?

Explains KubeSphere 4.x architecture and API paths, ships an API helper script, and routes requests to the cluster, tenant and extension skills. x releases use a microkernel plus extensions design. It describes the three core components: ks-apiserver, which aggregates APIs and handles authentication, authorization and multi-cluster routing; ks-controller-manager, which reconciles resources such as workspaces, projects and users; and ks-console, the React web interface.

When should I use KubeSphere Core Router?

KubeSphere Core Router fits situations like: asking how KubeSphere's apiserver, controller manager and console fit together; calling the KubeSphere API on a specific member cluster; deciding which KubeSphere skill handles a cluster, tenant or extension request.

How do I install KubeSphere Core Router in Claude Code?

Run `npx skills add kubesphere/kubesphere --skill kubesphere-core -a claude-code`. Or copy the skill folder (skills/kubesphere-core in kubesphere/kubesphere) into .claude/skills/kubesphere-core in your project. Claude Code loads it when a task matches its description.

How do I install KubeSphere Core Router in Codex?

Run `npx skills add kubesphere/kubesphere --skill kubesphere-core -a codex`. Or copy the skill folder (skills/kubesphere-core in kubesphere/kubesphere) into .agents/skills/kubesphere-core in your project. Codex loads it when a task matches its description.

Can I use KubeSphere Core Router in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kubesphere/kubesphere --skill kubesphere-core -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kubesphere-core, .gemini/skills/kubesphere-core, .github/skills/kubesphere-core and .opencode/skills/kubesphere-core in your project.

What does KubeSphere Core Router need to run?

Going by SKILL.md and its folder, KubeSphere Core Router needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python with the `requests` package; A reachable KubeSphere host set in `KUBESPHERE_HOST`; KubeSphere login credentials.

Does KubeSphere Core Router access the network?

SKILL.md names 3 domains. As links in the text: dev-guide.kubesphere.io, kubesphere.io and docs.kubesphere.co. This is read from the text; nothing was executed.

Is KubeSphere Core Router safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does KubeSphere Core Router use?

KubeSphere Core Router has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does KubeSphere Core Router use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to KubeSphere Core Router?

Skills that share tags, products or a category with KubeSphere Core Router: Vet (atilladeniz/Kubeli, 387 stars), Dstack Presets (dstackai/dstack, 2.3k stars), Alibabacloud Ecs Sec Userspace (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars) and Tools (astronomer/astronomer, 491 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains KubeSphere Core Router?

kubesphere (a GitHub organization) maintains it in kubesphere/kubesphere, which has 17,059 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on July 15, 2026.

Source: kubesphere/kubesphere on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.