kyma-project/cli/kyma-cli
Claude Code and agent skill by kyma-project/cli
- community
Checking that the SKILL.md file is still in the repository.
Use the open-source Kyma CLI (v3) to manage Kyma modules, deploy applications, provision clusters, and run diagnostics on a Kubernetes cluster. Use when the user wants to install Kyma, enable or disable a module, push an app, open the Kyma dashboard, or troubleshoot a Kyma cluster. Trigger keywords - kyma cli, kyma module, kyma app push, kyma deploy, enable kyma module, kyma dashboard, kyma diagnose, kyma troubleshoot.
Install
npx vskill@latest install kyma-project/cli/kyma-cliSKILL.md
Skill: kyma-cli
Use the open-source Kyma CLI (v3) to interact with a Kyma-enabled Kubernetes cluster: manage modules, deploy applications, authorize subjects with RBAC, generate cluster access, open the dashboard, and run diagnostics.
Kyma CLI v3 is a Go-based, Apache-2.0 tool from the open-source Kyma project (github.com/kyma-project/cli). It is a full rewrite of v2 — the v2 top-level provision, deploy, and import commands no longer exist. Do not assume v2 syntax.
Scope and guardrails
This skill covers only the open-source Kyma project. When using it:
- ✅ Use open-source Kyma (
kyma-project/*), open-source modules, the Kyma CLI,
and standard kubectl.
- ❌ Do not encode SAP-managed (SKR) specifics, BTP cockpit flows, internal
endpoints or URLs, SKR configuration, or any SAP-internal knowledge.
- ⚠️
kyma alpha provisionandkyma alpha hana mapinteract with SAP BTP. You
may mention that they exist, but never hardcode credentials, subaccount details, or internal provisioning parameters.
Prerequisites
- The
kymaCLI installed and onPATH(v3). kubectlinstalled and its current context pointing at the target cluster.
Install
Confirm the version:
Instructions
1. Orient before acting
The installed CLI version is the source of truth. Before running a command whose exact flags you are unsure of, inspect help output rather than guessing:
2. Manage modules
Modules live under the non-alpha kyma module group (7 subcommands: catalog, list, add, delete, manage, unmanage, pull).
⚠️ Important:kyma alpha moduleonly exposescatalogandpull. Theadd,delete,list,manage, andunmanagesubcommands exist onlyunder the non-alphakyma modulegroup — never prefix them withalpha.
ℹ️ Cluster prerequisite (Kyma Lifecycle Manager):add,list,delete,manage, andunmanagerequire a cluster managed by Kyma Lifecycle Manager(KLM). On a plain cluster they fail with a "not managed by KLM" error. Onlycatalogandpullwork without KLM (usekyma module pull --forcetoapprove dependency installation on a non-KLM cluster) —pullis the CLI'sown suggested recovery path whenadd/list/deletefail with that error.
ℹ️ Catalog is cluster-dependent: available module names and channels dependon the catalog the target cluster exposes. Runkyma module catalogto confirmwhat is available beforekyma module add <module> -c <channel>— a given name(e.g.istio) may not appear on every cluster.
To inspect the underlying ModuleTemplate custom resource directly with kubectl (not a kyma command):
3. Deploy an application
kyma app push is the only subcommand under kyma app. Image import into the in-cluster registry happens automatically during push — there is no separate import-image command.
kyma app push uses Kubernetes Server-Side Apply — running it again with the same --name updates the existing Deployment, Service, and APIRule in-place. There is no --replace flag. The new spec fully replaces the previous one, so env vars, mounts, and image from the previous run are replaced, not merged.
4. Authorize RBAC subjects
kyma alpha authorize creates RoleBindings and ClusterRoleBindings for users, groups, service accounts, and GitHub Actions workflows. Use this when a developer or pipeline hits a 403 Forbidden error and needs access to a namespace or the whole cluster.
Key flags:
--role/--clusterrole— exactly one required;--rolecreates a
RoleBinding, --clusterrole creates a RoleBinding referencing a ClusterRole (or a ClusterRoleBinding when combined with --cluster-wide).
--cluster-wide— creates a ClusterRoleBinding; requires--clusterrole.--namespace— required with--role; the namespace for the RoleBinding.--force— overwrites an existing binding of the same name without prompting.--dry-run -o yaml|json— prints the manifest without applying it.--binding-name— custom name for the generated binding; auto-generated from
role and subject name if omitted.
⚠️kyma alpha authorizeis under thealphagroup — its API may changebetween releases. Checkkyma alpha authorize --helpon the installed version.
5. Access the cluster and open the dashboard
6. Troubleshoot
The kyma alpha diagnose group is the diagnostic workhorse:
Combine with kyma module list (to see module state) and standard kubectl inspection of the relevant namespaces.
Safety: destructive operations
Module deletion and unmanaging are destructive. Follow these rules:
- Always confirm before deleting. Run
kyma module listfirst, show the user
the exact module(s) that would be affected, and get explicit confirmation.
- There is no bulk "delete all modules" command — deletion is per-module. If
a user says "delete everything, don't ask," do not loop delete blindly: list the modules and confirm the specific set to remove, one by one.
- `--auto-approve` bypasses the CLI's built-in approval prompt (and the
community-module SLA prompt). Use it only non-interactively (e.g. CI) after the user has explicitly authorized the exact operation.
- `kyma module unmanage` stops reconciliation but leaves resources running;
make sure the user understands the module will no longer be reconciled.
Notes
- Commands under
kyma alphause unstable APIs and may change between releases. - Flag signatures here reflect Kyma CLI v3. If a flag is rejected, check
kyma <command> --help on the installed version — a tagged release can lag the latest development build.
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
- SKILL.md in the repositoryCheckingskills/kyma-cli/SKILL.md
Popularity
- Repository stars
- 125
- Repository forks
- 126
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/kyma-project/cli/kyma-cli)