Agent skill

Castai CI Integration

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

Build a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes.

MITAuto-check passedDevOps & Cloud

Install Castai CI Integration

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

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

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

At a glance

Build a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes.

  • Works in 5 steps: Map the trust boundary → Build the required offline lane → Validate CAST AI policy invariants → …
  • Validating CAST AI Terraform
  • 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 CI Integration is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes. Use when validating CAST AI Terraform, Helm values, workload annotations, or an authorized read-only API smoke test. Trigger with: "test CAST AI in CI", "gate CAST AI changes", "add a CAST AI contract job".

Its SKILL.md is about 1.3k 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 a repository with CAST AI infrastructure definitions; any live probe requires a protected environment and a dedicated read-only identity

It sits in DevOps & Cloud, covering Container orchestration, Infrastructure as code and QA and bug reports. 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

  • Validating CAST AI Terraform
  • Workload annotations
  • An authorized read-only API smoke test
  • With: test CAST AI in CI

Example prompts

  • “test CAST AI in CI”
  • “gate CAST AI changes”
  • “add a CAST AI contract job”
  • “/castai-ci-integration”

Requirements

  • Compatibility (from SKILL.md): Requires a repository with CAST AI infrastructure definitions; any live probe requires a protected environment and a dedicated read-only identity
  • Pre-approved tools (allowed-tools): Read, Grep, Write, Edit, Bash(terraform:*), Bash(helm:*), Bash(kubectl:*), Bash(castctl:*)

Workflow steps

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

  1. Map the trust boundary
  2. Build the required offline lane
  3. Validate CAST AI policy invariants
  4. Isolate the optional live lane
  5. Prove negative behavior

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
    • 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 a repository with CAST AI infrastructure definitions; any live probe requires a protected environment and a dedicated read-only identity

    From compatibility in the SKILL.md frontmatter.

Context cost

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

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). 501 words, ~1,261 tokens.

Download SKILL.mdSave it as .claude/skills/castai-ci-integration/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
castai-ci-integration
description
Build a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes. Use when validating CAST AI Terraform, Helm values, workload annotations, or an authorized read-only API smoke test. Trigger with: "test CAST AI in CI", "gate CAST AI changes", "add a CAST AI contract job".
allowed-tools
Read, Grep, Write, Edit, Bash(terraform:*), Bash(helm:*), Bash(kubectl:*), Bash(castctl:*)
compatibility
Requires a repository with CAST AI infrastructure definitions; any live probe requires a protected environment and a dedicated read-only identity
version
2.0.0
argument-hint
[workflow-or-infrastructure-path]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, kubernetes, cast-ai, ci-integration, operations

CAST AI CI Contract Lane

Overview

Keep pull-request checks local and credential-free. Validate syntax, rendered Kubernetes objects, policy invariants, and destructive change boundaries before allowing a separately protected job to inspect a real CAST AI environment.

Prerequisites

  • The workflow, Terraform, Helm values, and workload manifest paths in scope
  • An explicit source of truth for each CAST AI setting
  • Maintainer approval for any protected live probe

Instructions

Step 1: Map the trust boundary

Use Read and Grep to identify fork execution, secret references, Terraform backends, generated plans, Helm values, kubeconfig use, and direct CAST AI calls. Classify each check as offline, protected read-only, or prohibited.

Step 2: Build the required offline lane

Use Bash(terraform:) for formatting, initialization without applying, validation, and a saved plan. Use Bash(helm:) to lint or template the pinned chart and Bash(kubectl:*) only for client-side schema validation against rendered manifests. Treat unexpected resource deletion, provider replacement, cluster disconnect, automation enablement, or HPA ownership transfer as review-blocking changes.

Step 3: Validate CAST AI policy invariants

Use Write or Edit to add deterministic checks for approved regions, cluster identifiers, policy names, node-template bounds, workload automation modes, protected namespaces, disruption budgets, and maximum CPU limits. Reject deprecated cluster minimum CPU settings and unreviewed wildcard scope.

Step 4: Isolate the optional live lane

If live evidence is required, place it in an independent protected-environment job that cannot run for forks. Use a dedicated read-only organization-scoped identity, a pinned CAST AI region, a fixed cluster allowlist, a short timeout, and redacted output. Prefer a documented status read; never enable automation or apply infrastructure from the probe.

Step 5: Prove negative behavior

Run the workflow with missing and sentinel credentials. Confirm the offline lane stays green, the live lane skips safely, logs contain no key or raw cluster inventory, and plan artifacts have restricted retention.

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

Tool Discipline

Use Read and Grep for workflow and configuration inspection. Use Write and Edit for checks and workflow changes. Use Bash(terraform:), Bash(helm:), Bash(kubectl:), and Bash(castctl:) only for their documented validation or dry-run operations; do not apply, connect, disconnect, or mutate a live cluster without a separate approved change window.

Output

  • A required credential-free validation job
  • A separately protected read-only smoke test, if justified
  • Policy, deletion, and secret-handling assertions
  • Negative-path and redaction receipts

Examples

A pull request renders the pinned CAST AI chart, validates Terraform, and rejects a new HPA ownership transfer. A release job may inspect one approved cluster only after environment approval and records status classes rather than raw API payloads.

Error Handling

FailureMeaningResponse
A fork can read a CAST AI keyCI trust boundary failedDisable the live job and rotate the exposed identity
A plan enables automation unexpectedlyChange exceeds reviewed intentBlock and require an explicit policy review
Offline checks need the networkRequired lane is nondeterministicPin fixtures and local schemas
A rendered object transfers HPA ownershipWorkload control may changeRequire workload-owner approval and rollback evidence

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-ci-integration of jeremylongshore/tons-of-skills-marketplace.

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

Open the folder on GitHubat commit cfae287

Compare with similar skills

Castai CI Integration 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 CI Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Castai CI Integration this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Asdfjjmartres/opencode133—~2.1kAutomated safety check: NotesMIT
Devops Pipelineluongnv89/skills131—~4.8kAutomated safety check: PassMIT
Carefulyonatangross/orchestkit292—~1.2kAutomated safety check: PassMIT
Provider Verificationmondoohq/mql412—~3.7kAutomated safety check: PassCustom licence
Eks Best Practicesaws-samples/appmod-blueprints115—~5kAutomated safety check: PassMIT-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
  • Devops Pipeline

    luongnv89/skills

    Configure pre-commit hooks and lean GitHub Actions for shift-left quality assurance.

    131 GitHub stars~4.8k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • 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 /…

    292 GitHub stars~1.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Verify mql provider resource/field changes against real cloud infrastructure.

    412 GitHub stars~3.7k 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 2 days ago
    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 2 days ago
    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 CI Integration

What does Castai CI Integration do?

Build a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes. Castai CI Integration is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a fail-closed CI lane for CAST AI configuration without exposing production credentials to untrusted changes.

When should I use Castai CI Integration?

Castai CI Integration fits situations like: validating CAST AI Terraform; workload annotations; an authorized read-only API smoke test; with: test CAST AI in CI.

How do I install Castai CI Integration in Claude Code?

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

How do I install Castai CI Integration in Codex?

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

Can I use Castai CI Integration 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-ci-integration -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-ci-integration, .gemini/skills/castai-ci-integration, .github/skills/castai-ci-integration and .opencode/skills/castai-ci-integration in your project.

What does Castai CI Integration need to run?

SKILL.md names no scripts, command-line tools or credentials: Castai CI Integration 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 a repository with CAST AI infrastructure definitions; any live probe requires a protected environment and a dedicated read-only identity.

Does Castai CI Integration 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 CI Integration 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 CI Integration use?

Castai CI Integration 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 CI Integration use?

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

What are the alternatives to Castai CI Integration?

Skills that share tags, products or a category with Castai CI Integration: Asdf (jjmartres/opencode, 133 stars), Devops Pipeline (luongnv89/skills, 131 stars), Careful (yonatangross/orchestkit, 292 stars) and Provider Verification (mondoohq/mql, 412 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Castai CI Integration?

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.