Create a bounded, redacted CAST AI diagnostic bundle that preserves component, policy, and Kubernetes evidence for escalation.

MITAuto-check passedDevOps & Cloud

Install Castai Debug Bundle

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill castai-debug-bundle -a claude-code

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace castai-debug-bundle --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/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/castai-debug-bundle .claude/skills/castai-debug-bundle && 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
castai-debug-bundle
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
429 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Create a bounded, redacted CAST AI diagnostic bundle that preserves component, policy, and Kubernetes evidence for escalation.

  • Works in 6 steps: Declare the bundle contract → Inventory component versions → Capture bounded health evidence → …
  • Triage must be handed to platform engineering
  • SKILL.md covers Overview, Prerequisites, Instructions and Tool Discipline, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Castai Debug Bundle is an agent skill from jeremylongshore/tons-of-skills-marketplace. Create a bounded, redacted CAST AI diagnostic bundle that preserves component, policy, and Kubernetes evidence for escalation. Use when triage must be handed to platform engineering, a cloud owner, or CAST AI support. Trigger with: "collect CAST AI diagnostics", "make a CAST AI support bundle", "capture CAST AI evidence".

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Requires read-only access to the selected cluster; collection must follow local data-handling and support-sharing policy

It sits in DevOps & Cloud, covering Container orchestration and Platform engineering. It works with Kubernetes and Bash. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Triage must be handed to platform engineering
  • CAST AI support
  • With: collect CAST AI diagnostics
  • Make a CAST AI support bundle

Example prompts

  • “collect CAST AI diagnostics”
  • “make a CAST AI support bundle”
  • “capture CAST AI evidence”
  • “/castai-debug-bundle”

Requirements

  • Compatibility (from SKILL.md): Requires read-only access to the selected cluster; collection must follow local data-handling and support-sharing policy
  • Pre-approved tools (allowed-tools): Read, Grep, Write, Bash(kubectl:*), Bash(helm:*), Bash(castctl:*)

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Declare the bundle contract
  2. Inventory component versions
  3. Capture bounded health evidence
  4. Capture declared policy context
  5. Redact and verify
  6. Seal the handoff

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Write
    • Bash(kubectl:*)
    • Bash(helm:*)
    • Bash(castctl:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    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):

    • docs.cast.ai

    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.

  • Compatibility

    Requires read-only access to the selected cluster; collection must follow local data-handling and support-sharing policy

    From compatibility in the SKILL.md frontmatter.

Context cost

Castai Debug Bundle loads about 1.2k tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 86 tokens; SKILL.md has 429 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.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 80f86df, republished under its MIT licence (© jeremylongshore). 429 words, ~1,153 tokens.

Download SKILL.mdSave it as .claude/skills/castai-debug-bundle/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
castai-debug-bundle
description
Create a bounded, redacted CAST AI diagnostic bundle that preserves component, policy, and Kubernetes evidence for escalation. Use when triage must be handed to platform engineering, a cloud owner, or CAST AI support. Trigger with: "collect CAST AI diagnostics", "make a CAST AI support bundle", "capture CAST AI evidence".
allowed-tools
Read, Grep, Write, Bash(kubectl:*), Bash(helm:*), Bash(castctl:*)
compatibility
Requires read-only access to the selected cluster; collection must follow local data-handling and support-sharing policy
version
2.0.0
argument-hint
[kube-context-and-time-window]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, kubernetes, cast-ai, diagnostics, support

CAST AI Redacted Diagnostic Bundle

Overview

Capture enough evidence to reproduce a CAST AI failure without exporting credentials, Secret payloads, broad cluster inventory, application data, or unbounded logs.

Prerequisites

  • Exact kube context, cluster identifier, CAST AI region, incident window, and symptom
  • Approved local destination with retention and audience
  • Redaction rules for names, labels, annotations, IPs, account data, and credentials

Instructions

Step 1: Declare the bundle contract

Use Write to record incident ID, collector, start and end time, selected namespaces, commands, excluded data classes, redaction method, checksum method, retention, and recipients.

Step 2: Inventory component versions

Use Bash(castctl:) for version information, Bash(helm:) for release metadata and redacted values, and Bash(kubectl:*) for component images and readiness. Do not collect Helm secrets, rendered Secret objects, service-account tokens, or kubeconfig contents.

Step 3: Capture bounded health evidence

Collect status, restart counts, recent warning events, selected resource descriptions, and logs constrained by component, time, and line count. Include metrics-server status when workload recommendations are involved and pending-pod reasons when node capacity is involved.

Step 4: Capture declared policy context

Use Read and Grep on repository-owned Terraform, Helm values, annotations, node templates, PDBs, and HPAs. Record source paths and commit identifiers. Prefer diffs and normalized summaries over raw state files.

Step 5: Redact and verify

Scan the bundle for API keys, authorization headers, tokens, Secret data, cloud account identifiers, email addresses, private endpoints, and application payloads. Replace values consistently so relationships remain debuggable.

Step 6: Seal the handoff

Write a manifest of included files, omitted evidence, timestamps, tool versions, hashes, and known gaps. Open the sanitized files before sharing and require a second-person review for external support transfer.

Show full SKILL.md (157 more words)Show less

Tool Discipline

Use Read and Grep for source and redaction review. Use Write only for sanitized bundle artifacts and the manifest. Use Bash(kubectl:), Bash(helm:), and Bash(castctl:*) for non-mutating, bounded inspection; never request Secret contents or stream logs indefinitely.

Output

  • Sanitized component and cluster-health evidence
  • Policy/source-of-truth references
  • Redaction report and file manifest
  • Checksums, retention, audience, and escalation question

Examples

A workload-autoscaler incident includes component versions, a 15-minute warning-event window, PDB status, policy name, and sanitized logs. It excludes Secret objects, all-namespace inventory, Terraform state, and unrelated application logs.

Error Handling

FailureResponse
Context or time window is unknownStop and resolve scope before collection
A command would reveal a SecretOmit it and document the evidence gap
Redaction cannot preserve safetyKeep the bundle local and share a summary
Bundle exceeds approved scopeDelete the excess from the exact bundle and regenerate its manifest

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/castai-debug-bundle of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Castai Debug Bundle 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.

Castai Debug Bundle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Castai Debug Bundle this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: PassMIT
Eks Best Practicesaws-samples/appmod-blueprints115—~5kAutomated safety check: PassMIT-0
Asdfjjmartres/opencode133—~2.1kAutomated safety check: NotesMIT
Carefulyonatangross/orchestkit290—~1.2kAutomated safety check: PassMIT
Platform Engineeringmagnus919/agent-skills116—~2.4kAutomated safety check: PassMIT
Devops EngineerYikai-Liao/symusic1891 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Eks Best Practices

    aws-samples/appmod-blueprints

    Official

    Advisory guidance for Amazon EKS architecture and configuration decisions — compute strategy, networking, security, reliability, cost, autoscaling, observability, multi-tenancy, and upgrade planning.

    115 GitHub stars~5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • 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
  • Careful

    yonatangross/orchestkit

    Blocks destructive shell commands once invoked: a PreToolUse Bash guard denies rm -rf outside temp dirs, force pushes and remote branch deletes, git reset --hard, DROP TABLE / DROP DATABASE /…

    290 GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Platform Engineering

    magnus919/agent-skills

    A skill your agent uses when building or operating internal developer platforms: infrastructure as code, CI/CD, container orchestration, service networking, secrets, and observability, or when…

    116 GitHub stars~2.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Devops Engineer

    Yikai-Liao/symusic

    Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates.

    189 GitHub starsUsed in 1 repo~1.5k tokens
    DevOps & CloudAuto-check passed
  • Qzcli

    AI4Scientist/nano-scientist

    Manage GPU compute jobs on the Qizhi (启智) platform using qzcli — a kubectl-style CLI tool.

    128 GitHub starsUsed in 2 repos~1.9k tokens
    AI & LLM EngineeringAuto-check: notes

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Castai Debug Bundle

What does Castai Debug Bundle do?

Create a bounded, redacted CAST AI diagnostic bundle that preserves component, policy, and Kubernetes evidence for escalation. Castai Debug Bundle is an agent skill from jeremylongshore/tons-of-skills-marketplace. Create a bounded, redacted CAST AI diagnostic bundle that preserves component, policy, and Kubernetes evidence for escalation.

When should I use Castai Debug Bundle?

Castai Debug Bundle fits situations like: triage must be handed to platform engineering; CAST AI support; with: collect CAST AI diagnostics; make a CAST AI support bundle.

How do I install Castai Debug Bundle in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill castai-debug-bundle -a claude-code`. Or copy the skill folder (skills/.curated/castai-debug-bundle in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/castai-debug-bundle in your project. Claude Code loads it when a task matches its description.

How do I install Castai Debug Bundle in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill castai-debug-bundle -a codex`. Or copy the skill folder (skills/.curated/castai-debug-bundle in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/castai-debug-bundle in your project. Codex loads it when a task matches its description.

Can I use Castai Debug Bundle 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 jeremylongshore/tons-of-skills-marketplace --skill castai-debug-bundle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/castai-debug-bundle, .gemini/skills/castai-debug-bundle, .github/skills/castai-debug-bundle and .opencode/skills/castai-debug-bundle in your project.

What does Castai Debug Bundle need to run?

SKILL.md names no scripts, command-line tools or credentials: Castai Debug Bundle is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Write, Bash(kubectl:*), Bash(helm:*), Bash(castctl:*). Compatibility (from SKILL.md): Requires read-only access to the selected cluster; collection must follow local data-handling and support-sharing policy.

Does Castai Debug Bundle access the network?

SKILL.md names 1 domain. As links in the text: docs.cast.ai. This is read from the text; nothing was executed.

Is Castai Debug Bundle 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. Review the folder before installing.

What licence does Castai Debug Bundle use?

Castai Debug Bundle is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Castai Debug Bundle use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 207 tokens, read only when the agent opens those files.

What are the alternatives to Castai Debug Bundle?

Skills that share tags, products or a category with Castai Debug Bundle: Eks Best Practices (aws-samples/appmod-blueprints, 115 stars), Asdf (jjmartres/opencode, 133 stars), Careful (yonatangross/orchestkit, 290 stars) and Platform Engineering (magnus919/agent-skills, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Castai Debug Bundle?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,825 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 9, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.