Agent skill

Castai Local Dev Loop

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

Build an offline-first local loop for CAST AI Terraform, Helm, policy, and workload configuration before touching a sandbox cluster.

MITAuto-check passedDevOps & Cloud

Install Castai Local Dev Loop

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill castai-local-dev-loop -a claude-code

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

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

At a glance

Build an offline-first local loop for CAST AI Terraform, Helm, policy, and workload configuration before touching a sandbox cluster.

  • Works in 6 steps: Map inputs and ownership → Establish local gates → Model negative paths → …
  • Developing infrastructure modules
  • 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 Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build an offline-first local loop for CAST AI Terraform, Helm, policy, and workload configuration before touching a sandbox cluster. Use when developing infrastructure modules, annotations, or CI checks. Trigger with: "develop CAST AI locally", "test CAST AI configuration", "make a CAST AI dev loop".

Its SKILL.md is about 1.1k 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 locally pinned infrastructure tools; optional sandbox checks require an explicitly selected non-production kube context

It sits in DevOps & Cloud, covering Container orchestration and Infrastructure as code. It works with Terraform 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

  • Developing infrastructure modules
  • With: develop CAST AI locally
  • Test CAST AI configuration
  • Make a CAST AI dev loop

Example prompts

  • “develop CAST AI locally”
  • “test CAST AI configuration”
  • “make a CAST AI dev loop”
  • “/castai-local-dev-loop”

Requirements

  • Compatibility (from SKILL.md): Requires locally pinned infrastructure tools; optional sandbox checks require an explicitly selected non-production kube context
  • Pre-approved tools (allowed-tools): Read, Grep, Write, Edit, Bash(terraform:*), Bash(helm:*), Bash(kubectl:*), Bash(castctl:*)

Workflow steps

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

  1. Map inputs and ownership
  2. Establish local gates
  3. Model negative paths
  4. Preview sandbox connection
  5. Run one bounded sandbox experiment
  6. Capture reproducibility

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
    • Edit
    • Bash(terraform:*)
    • Bash(helm:*)
    • Bash(kubectl:*)
    • 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 locally pinned infrastructure tools; optional sandbox checks require an explicitly selected non-production kube context

    From compatibility in the SKILL.md frontmatter.

Context cost

Castai Local Dev Loop loads about 1.1k tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 434 words of instructions outside code blocks.

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

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). 434 words, ~1,126 tokens.

Download SKILL.mdSave it as .claude/skills/castai-local-dev-loop/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
castai-local-dev-loop
description
Build an offline-first local loop for CAST AI Terraform, Helm, policy, and workload configuration before touching a sandbox cluster. Use when developing infrastructure modules, annotations, or CI checks. Trigger with: "develop CAST AI locally", "test CAST AI configuration", "make a CAST AI dev loop".
allowed-tools
Read, Grep, Write, Edit, Bash(terraform:*), Bash(helm:*), Bash(kubectl:*), Bash(castctl:*)
compatibility
Requires locally pinned infrastructure tools; optional sandbox checks require an explicitly selected non-production kube context
version
2.0.0
argument-hint
[infrastructure-or-manifest-root]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, kubernetes, cast-ai, local-development, testing

CAST AI Offline-First Development Loop

Overview

Make configuration feedback fast without treating a live cluster as a test fixture. Render, validate, diff, and policy-check locally; use a sandbox only for the behavior that cannot be proven offline.

Prerequisites

  • Repository-owned Terraform, Helm values, policy, or workload manifests
  • Pinned tool and provider versions
  • Sanitized fixtures for cluster identity, policies, and API failures
  • Optional sandbox with a distinct kube context and budget owner

Instructions

Step 1: Map inputs and ownership

Use Read and Grep to locate provider constraints, chart versions, values, annotations, policy definitions, generated files, and secret references. Identify which files are authoritative and which are derived.

Step 2: Establish local gates

Use Bash(terraform:) to format and validate without applying. Use Bash(helm:) to lint and render pinned charts. Use Bash(kubectl:*) only for client-side schema checks against rendered objects. Add deterministic tests for region, organization, policy bounds, automation state, HPA ownership, and prohibited secrets.

Step 3: Model negative paths

Use Write or Edit to add sanitized fixtures for missing identity, wrong region, permission denial, malformed configuration, conflicting controllers, unavailable metrics, PDB denial, and unsatisfied node constraints. Assert fail-closed behavior.

Step 4: Preview sandbox connection

When installation behavior must be checked, use Bash(castctl:*) with the documented dry-run against the named sandbox context. Compare detected identity and proposed changes to approved fixtures before any connection.

Step 5: Run one bounded sandbox experiment

Use a reviewed plan and one disposable workload or policy assignment. Observe only the intended behavior, never production data. Do not use a personal API key or console edits that bypass the repository source of truth.

Show full SKILL.md (171 more words)Show less
Step 6: Capture reproducibility

Record commit, tool versions, rendered artifact hashes, plan summary, sandbox context, start/end time, cleanup, and remaining untested behavior. Return the sandbox to its declared baseline.

Tool Discipline

Use Read and Grep for source discovery. Use Write and Edit for fixtures and checks. Use Bash(terraform:), Bash(helm:), and Bash(kubectl:) for offline validation; use Bash(castctl:) only for a documented dry-run or approved sandbox action.

Output

  • Reproducible local validation commands
  • Sanitized success and failure fixtures
  • Rendered and planned artifact receipts
  • Optional bounded sandbox result and cleanup evidence

Examples

A policy change is tested against fixture assertions and a rendered workload annotation before one Deferred-mode sandbox canary. Production credentials and clusters never enter the local loop.

Error Handling

FailureResponse
Tool versions floatPin them before comparing results
Render needs a real secretReplace it with a reference or sentinel
Sandbox context is ambiguousStop before any cluster command
Test requires production trafficRedesign it around sanitized fixtures

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-local-dev-loop of jeremylongshore/tons-of-skills-marketplace.

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

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Castai Local Dev Loop 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 Local Dev Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Castai Local Dev Loop this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Asdfjjmartres/opencode133—~2.1kAutomated safety check: NotesMIT
Carefulyonatangross/orchestkit290—~1.2kAutomated safety check: PassMIT
Eks Best Practicesaws-samples/appmod-blueprints115—~5kAutomated safety check: PassMIT-0
Troubleshoot Platformaws-samples/appmod-blueprints115—~2kAutomated safety check: PassMIT-0
Eks Reconaws-samples/appmod-blueprints115—~4.7kAutomated safety check: WarnMIT-0

Similar skills

  • 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
  • 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
  • Troubleshoot Platform

    aws-samples/appmod-blueprints

    Official

    Systematic troubleshooting for the PEEKS workshop platform — EKS clusters, Terraform state, ingress, load balancers, MCP tool failures, YAML validation.

    115 GitHub stars~2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Eks Recon

    aws-samples/appmod-blueprints

    Official

    EKS cluster reconnaissance and environment discovery. An agent skill from aws-samples/appmod-blueprints.

    115 GitHub stars~4.7k tokensUpdated yesterday
    DevOps & CloudAuto-check: warnings
  • Supercheck Infrastructure Deployment

    supercheck-io/supercheck

    Work on Supercheck Docker Compose, K3s, Kubernetes manifests, gVisor, OpenTofu/Hetzner, secrets, external services, autoscaling, backups, disaster recovery, DNS/TLS, or production deployment.

    215 GitHub stars~1.4k tokensUpdated today
    DevOps & CloudAuto-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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed

Works with

Categories

Questions about Castai Local Dev Loop

What does Castai Local Dev Loop do?

Build an offline-first local loop for CAST AI Terraform, Helm, policy, and workload configuration before touching a sandbox cluster. Castai Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build an offline-first local loop for CAST AI Terraform, Helm, policy, and workload configuration before touching a sandbox cluster.

When should I use Castai Local Dev Loop?

Castai Local Dev Loop fits situations like: developing infrastructure modules; with: develop CAST AI locally; test CAST AI configuration; make a CAST AI dev loop.

How do I install Castai Local Dev Loop in Claude Code?

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

How do I install Castai Local Dev Loop in Codex?

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

Can I use Castai Local Dev Loop 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-local-dev-loop -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-local-dev-loop, .gemini/skills/castai-local-dev-loop, .github/skills/castai-local-dev-loop and .opencode/skills/castai-local-dev-loop in your project.

What does Castai Local Dev Loop need to run?

SKILL.md names no scripts, command-line tools or credentials: Castai Local Dev Loop is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Write, Edit, Bash(terraform:*), Bash(helm:*), Bash(kubectl:*), Bash(castctl:*). Compatibility (from SKILL.md): Requires locally pinned infrastructure tools; optional sandbox checks require an explicitly selected non-production kube context.

Does Castai Local Dev Loop 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 Local Dev Loop 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 Local Dev Loop use?

Castai Local Dev Loop 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 Local Dev Loop use?

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

What are the alternatives to Castai Local Dev Loop?

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

Who maintains Castai Local Dev Loop?

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.