delete

delete is a command for Claude Code from kubestellar/kubestellar-mcp. It costs 0 tokens per session (318 once invoked), scanned A, original, Apache-2.0.

A command for deleting Kubernetes resources from one or more clusters. Kubernetes is software for running and managing containerized applications, and resources are objects such as deployments, services, secrets, or pods.

In plain words
What is it for?
Deleting workloads, networking objects, configuration, access-control objects, storage claims, or namespaces, with an option to preview the action first.
Why use it?
It removes specified resources and reports whether deletion succeeded, failed, or the resource was not found across the selected clusters.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Deleting workloads, networking objects, configuration, access-control objects, storage claims, or namespaces, with…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kubestellar/kubestellar-mcp/delete
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/kubestellar/kubestellar-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for delete

README.md
[![agentmods](https://agentmods.dev/badge/commands/kubestellar/kubestellar-mcp/delete.svg)](https://agentmods.dev/commands/kubestellar/kubestellar-mcp/delete)
Your own site
<a href="https://agentmods.dev/commands/kubestellar/kubestellar-mcp/delete"><img src="https://agentmods.dev/badge/commands/kubestellar/kubestellar-mcp/delete.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00318
Opus 5 $0.00000 $0.00159
Sonnet 5 $0.00000 $0.00064
Haiku 4.5 $0.00000 $0.00032

Measured 6d ago against content hash dd99395005a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

delete scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/delete.md · 57 lines

What it actually says

Delete

Delete Kubernetes resources from clusters.

Usage

Delete a resource by kind and name from one or more clusters.

Examples

  • "Delete deployment nginx from default namespace"
  • "Remove the my-config configmap from all clusters"
  • "Delete service my-app from production cluster"
  • "Delete the old-job job from batch namespace"

What it does

  1. Targets specified clusters (or all available)
  2. Deletes the resource from each cluster
  3. Reports success/failure/not-found per cluster

MCP Tools Used

  • delete_resource - Delete a Kubernetes resource

Supported Resource Types

  • Deployments, StatefulSets, DaemonSets
  • Services, Ingresses
  • ConfigMaps, Secrets
  • Pods, Jobs, CronJobs
  • PersistentVolumeClaims
  • Namespaces
  • ServiceAccounts
  • Roles, RoleBindings, ClusterRoles, ClusterRoleBindings

Implementation

Use the delete_resource tool with:

  • kind: Resource kind (required) - e.g., Deployment, Service, ConfigMap
  • name: Resource name (required)
  • namespace: Namespace (default: default, ignored for cluster-scoped)
  • dry_run: Preview without applying
  • clusters: Target clusters (all if not specified)

Examples of Tool Calls

{
  "kind": "Deployment",
  "name": "my-app",
  "namespace": "production",
  "dry_run": false,
  "clusters": ["cluster-1", "cluster-2"]
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 57 lines · 0 tokens per session scan A dd99395005a8

Subscribe to this mod's changes

delete is a command published in the GitHub repository kubestellar/kubestellar-mcp (2 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 318 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.