KubeSphere central controller Skill. Routes to specific Skills based on user requests: multi-cluster management (kubesphere-cluster-management), multi-tenant management (kubesphere-multi-tenant-management), extension management (kubesphere-extension-management). Also provides core architecture, API routing, and API utilities.
Capabilities
API Path Prefixes
Multi-Cluster API Routing
API Script Usage
Use the ks_api.py script to make API calls
Skill Routing
Getting started
Full instructionsExample command
API Script Usage
pip install requestsInstructions: SKILL.mdv1.0.1
KubeSphere Core
Overview
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.
Core Architecture
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ KubeSphere Console │
│ (React-based Web UI + Extension Framework) │
└────────────────────────────────────────────────────────────┬────────────────────────────────────────────────────┘
│
┌────────────────────────────────────────────────────────────▼────────────────────────────────────────────────────┐
│ KubeSphere Core (LuBan) │
│ ┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐ │
│ │ Multi-Cluster │ │ Multi-Tenant │ │ K8s Resource │ │ Extension │ │ Application │ │
│ │ Management │ │ Management │ │ Management │ │ Management │ │ Management │ │
│ └───────────────────┘ └───────────────────┘ └───────────────────┘ └───────────────────┘ └───────────────────┘ │
└────────────────────────────────────────────────────────────┬────────────────────────────────────────────────────┘
│
┌────────────────────────────────────────────────────────────▼────────────────────────────────────────────────────┐
│ Underlying Kubernetes Clusters │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Core Components
| Component | Description |
|---|---|
| ks-apiserver | API aggregation layer. Acts as the central API entry point for KubeSphere, aggregating APIs from core services and extensions. Handles authentication, authorization, and multi-cluster API routing. |
| ks-controller-manager | Resource controllers. Manages the lifecycle of KubeSphere custom resources (workspaces, projects, users, etc.). Reconciles desired state and handles event-driven operations. |
| ks-console | Web UI. React-based console providing visual management interface for all KubeSphere capabilities. Supports extension framework for custom UI components. |
API
API Path Prefixes
KubeSphere provides two main API path prefixes with different routing behaviors:
| Path Prefix | Routed To | Use Case |
|---|---|---|
/apis/ |
kube-apiserver on target cluster | Direct Kubernetes CRUD operations |
/kapis/ |
KubeSphere API server | KubeSphere-specific APIs, workspace-scoped operations |
Multi-Cluster API Routing
Use the /clusters/{cluster-name}/ prefix to forward requests to specific member clusters:
# Access member-1 cluster
/clusters/member-1/kapis/tenant.kubesphere.io/v1beta1/workspaces/demo/namespaces
API Script Usage
Use the ks_api.py script to make API calls. The script handles authentication automatically.
Prerequisites:
pip install requests
export KUBESPHERE_HOST="http://<kubesphere-host>"
python scripts/ks_api.py --login --username admin --password <password>
Usage:
# Get token info
python scripts/ks_api.py
# List resources (GET)
python scripts/ks_api.py GET /kapis/tenant.kubesphere.io/v1beta1/workspacetemplates
# Query specific cluster
python scripts/ks_api.py GET /clusters/member-1/kapis/tenant.kubesphere.io/v1beta1/namespaces
# Clear cached token
python scripts/ks_api.py --clear-cache
Skill Routing
kubesphere-core routes to specific Skills based on user requests.
| Skill | Capabilities | Restrictions |
|---|---|---|
kubesphere-core |
Architecture, API routing, API utilities | No management operations |
kubesphere-cluster-management |
Multi-cluster management | Cluster operations |
kubesphere-multi-tenant-management |
Create user/workspace/project, assign roles | No delete, No custom roles |
kubesphere-extension-management |
Extension install/upgrade/uninstall | Extension-related only |
References
- KubeSphere
- KubeSphere Documentation
- Extension Development Guide
- API Documentation
Explore more skills
Browse all- Kubesphere ServicemeshKubeSphere ServiceMesh extension management Skill (Istio + Kiali + Jaeger). Use this skill for the ServiceMesh…
- Frontend Forge Fi OperationsOperate FrontendIntegration resources and the frontend-forge extension. Use when Codex needs to create a…
- Kubesphere OpenkruiseKubeSphere OpenKruise management Skill. Use when user asks to install or enable OpenKruise, check OpenKruise status,…
- Kubesphere Devops PipelineUse when creating, running, or managing CI/CD pipelines in KubeSphere DevOps, including pipeline API operations and run…
- Kubesphere VolcanoKubeSphere Volcano job management Skill. Use when user asks to create, list, update, delete Jobs (Volcano Jobs), manage…
- Whizard LoggingUse when working with WizTelemetry Logging extension for KubeSphere, including installation, configuration, and log…
Security
Reviews (0)
More from KubeSphere
View source →Frequently asked questions about kubesphere-core
What does the kubesphere-core skill do?
KubeSphere central controller Skill. Routes to specific Skills based on user requests: multi-cluster management (kubesphere-cluster-management), multi-tenant management (kubesphere-multi-tenant-management), extension management (kubesphere-extension-management). Also provides core architecture, API routing, and API utilities. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the kubesphere-core skill?
Run `npx @skills-hub-ai/cli install kubesphere-core` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/kubesphere-core/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does kubesphere-core work with?
kubesphere-core runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the kubesphere-core skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use kubesphere-core after installing it?
In Claude Code, type `/kubesphere-core` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the kubesphere-core skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/kubesphere-core)<a href="https://skills-hub.ai/skills/kubesphere-core"><img src="https://skills-hub.ai/api/badges/skill/kubesphere-core" alt="Install on Skills Hub"></a>More options in the badge docs.