Agent skill

Castai Common Errors

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Diagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes.

MITAuto-check passedDevOps & Cloud

Install Castai Common Errors

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

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace castai-common-errors --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-common-errors .claude/skills/castai-common-errors && 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-common-errors
GitHub stars
2.8k
Token cost
~1.4k tokens
SKILL.md length
493 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Diagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes.

  • Works in 5 steps: Freeze the symptom → Check installation health → Classify the failure plane → …
  • A cluster is disconnected
  • 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 Common Errors is an agent skill from jeremylongshore/tons-of-skills-marketplace. Diagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes. Use when a cluster is disconnected, recommendations are absent, pods are not optimized, or capacity does not scale as expected. Trigger with: "debug CAST AI", "CAST AI is not scaling", "why is CAST AI disconnected".

Its SKILL.md is about 1.4k 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 access to the target kube context; console or API evidence may require an appropriately scoped CAST AI identity

It sits in DevOps & Cloud. It works with 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

  • A cluster is disconnected
  • Recommendations are absent
  • Pods are not optimized
  • Capacity does not scale as expected

Example prompts

  • “debug CAST AI”
  • “CAST AI is not scaling”
  • “why is CAST AI disconnected”
  • “/castai-common-errors”

Requirements

  • Compatibility (from SKILL.md): Requires read access to the target kube context; console or API evidence may require an appropriately scoped CAST AI identity
  • Pre-approved tools (allowed-tools): Read, Grep, Bash(kubectl:*), Bash(helm:*), Bash(castctl:*)

Workflow steps

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

  1. Freeze the symptom
  2. Check installation health
  3. Classify the failure plane
  4. Test one hypothesis
  5. Decide the owner and remedy

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. 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
    • 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 access to the target kube context; console or API evidence may require an appropriately scoped CAST AI identity

    From compatibility in the SKILL.md frontmatter.

Context cost

Castai Common Errors loads about 1.4k tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 90 tokens; SKILL.md has 493 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.6k

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 cfae287, republished under its MIT licence (© jeremylongshore). 493 words, ~1,367 tokens.

Download SKILL.mdSave it as .claude/skills/castai-common-errors/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
castai-common-errors
description
Diagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes. Use when a cluster is disconnected, recommendations are absent, pods are not optimized, or capacity does not scale as expected. Trigger with: "debug CAST AI", "CAST AI is not scaling", "why is CAST AI disconnected".
allowed-tools
Read, Grep, Bash(kubectl:*), Bash(helm:*), Bash(castctl:*)
compatibility
Requires read access to the target kube context; console or API evidence may require an appropriately scoped CAST AI identity
version
2.0.0
argument-hint
[cluster-context-or-symptom]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, kubernetes, cast-ai, diagnostics, operations

CAST AI Failure Triage

Overview

Separate observation, connectivity, policy, capacity, and disruption failures before proposing a change. Preserve the failing state, use current component topology, and stop when the evidence requires cloud-provider or CAST AI support access.

Prerequisites

  • The exact kube context, cluster, region, time window, and observed symptom
  • Read-only access to the castai-agent namespace
  • The declared installation owner: castctl, Terraform, GitOps, or console

Instructions

Step 1: Freeze the symptom

Record expected versus actual behavior, timestamps, workload identity, pending-pod reason, and recent configuration changes. Use Read and Grep on runbooks and IaC to determine whether Cost Monitoring, Node Autoscaling, or Workload Autoscaling is actually enabled.

Step 2: Check installation health

Use Bash(castctl:) for version or non-mutating status commands supported by the installed client. Use Bash(helm:) to inspect releases and values, then Bash(kubectl:*) to inspect workloads, readiness, events, and bounded logs in castai-agent. Do not restart components before collecting evidence.

Step 3: Classify the failure plane
PlaneEvidenceLikely boundary
ConnectionAgent readiness, outbound failures, console disconnectIdentity, network, or cloud permissions
Node scalingPending pods, policy bounds, node-template fitUnsatisfied constraints or maximum CPU boundary
Workload scalingMissing recommendations, policy assignment, metricsMetrics server, confidence, policy, or unsupported workload
DisruptionEviction denial, PDB events, deferred changesPDB or selected apply mode
ReportingMissing cost or savings windowIngestion, baseline, adoption, or pricing configuration
Step 4: Test one hypothesis

Choose the smallest reversible check. Confirm regional endpoint alignment, effective scaling-policy assignment, metrics availability, supported workload type, node-template constraints, and cloud quota. Treat the deprecated cluster minimum CPU setting as migration debt, not a current control to add.

Step 5: Decide the owner and remedy

Map the evidence to the owning layer. Change repository-managed values only through their source of truth; do not mix console edits into Terraform or GitOps ownership. Escalate with a redacted bundle when the failure is inside the hosted control plane or an undocumented provider response.

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

Tool Discipline

Use Read and Grep for configuration and runbook evidence. Use Bash(kubectl:), Bash(helm:), and Bash(castctl:*) only for bounded inspection commands. Do not apply, upgrade, restart, connect, disconnect, or expose Secret objects during diagnosis.

Output

  • A timestamped symptom and environment summary
  • Evidence grouped by failure plane
  • One supported root-cause hypothesis with confidence
  • A reversible remedy, rollback condition, and escalation owner

Examples

Recommendations are absent because metrics-server is missing, so the remedy belongs to cluster observability. A node remains pending because every approved node template conflicts with its constraints; increasing a global limit without reviewing the workload is not the remedy.

Error Handling

FailureResponse
Kube context is ambiguousStop before any cluster command and resolve it
Logs include credentials or inventoryRedact locally and do not attach raw output
A PDB blocks Immediate modePreserve the PDB and evaluate Deferred mode with the workload owner
Evidence points to cloud quotaEscalate to the cloud owner with the exact denied dimension

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-common-errors of jeremylongshore/tons-of-skills-marketplace.

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

Open the folder on GitHubat commit cfae287

Compare with similar skills

Castai Common Errors 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 Common Errors compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Castai Common Errors this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: PassMIT
Bash Defensive Patternspromovaweb/setupvibe10314 repos~572Automated safety check: PassGPL-3.0
Maintainer Triageredis/node-redis18k—~1.9kAutomated safety check: PassMIT
Aspiremicrosoft/aspire.dev1954 repos~1.1kAutomated safety check: PassMIT
Rtk Skillsopaco/deepwiki-rs3.1k—~1.4kAutomated safety check: PassMIT
Finalizezifeo/lade134—~1kAutomated safety check: PassMPL-2.0

Similar skills

  • Bash Defensive Patterns

    promovaweb/setupvibe

    Master defensive Bash programming techniques for production-grade scripts.

    103 GitHub starsUsed in 14 repos~572 tokens
    DevOps & CloudAuto-check passed
  • Maintainer Triage

    redis/node-redis

    Official

    Batch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for…

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Aspire

    microsoft/aspire.dev

    Official

    Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.

    195 GitHub starsUsed in 4 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Rtk Skill

    sopaco/deepwiki-rs

    A skill your agent uses when running shell commands that produce verbose output (git, test, build, lint, package managers, docker).

    3.1k GitHub stars~1.4k tokensUpdated 26 days ago
    DevOps & CloudAuto-check passed
  • Finalize

    zifeo/lade

    Finalize a merge request: rebase onto main, run bugs, simplify, and specs in parallel, apply, then refactor last.

    134 GitHub stars~1k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Official

    Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens.

    5.6k GitHub starsUsed in 2 repos~2.3k tokens
    DevOps & CloudAuto-check passed

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 Common Errors

What does Castai Common Errors do?

Diagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes. Castai Common Errors is an agent skill from jeremylongshore/tons-of-skills-marketplace. Diagnose CAST AI connection, agent, node autoscaling, and workload autoscaling failures without making speculative changes.

When should I use Castai Common Errors?

Castai Common Errors fits situations like: A cluster is disconnected; recommendations are absent; pods are not optimized; capacity does not scale as expected.

How do I install Castai Common Errors in Claude Code?

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

How do I install Castai Common Errors in Codex?

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

Can I use Castai Common Errors 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-common-errors -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-common-errors, .gemini/skills/castai-common-errors, .github/skills/castai-common-errors and .opencode/skills/castai-common-errors in your project.

What does Castai Common Errors need to run?

SKILL.md names no scripts, command-line tools or credentials: Castai Common Errors is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Bash(kubectl:*), Bash(helm:*), Bash(castctl:*). Compatibility (from SKILL.md): Requires read access to the target kube context; console or API evidence may require an appropriately scoped CAST AI identity.

Does Castai Common Errors 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 Common Errors 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 Common Errors use?

Castai Common Errors 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 Common Errors use?

About 1.4k tokens (SKILL.md is roughly 5.5k 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 217 tokens, read only when the agent opens those files.

What are the alternatives to Castai Common Errors?

Skills that share tags, products or a category with Castai Common Errors: Bash Defensive Patterns (promovaweb/setupvibe, 103 stars), Maintainer Triage (redis/node-redis, 18k stars), Aspire (microsoft/aspire.dev, 195 stars) and Rtk Skill (sopaco/deepwiki-rs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Castai Common Errors?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 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.