Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/coreweave-ci-integration

@0d57af8
Run it yourself

Unofficial CI integration for CoreWeave deployments using GitHub Actions. Use when automating container builds, deploying inference services from CI, or validating GPU manifests in pull requests. Trigger with phrases like "coreweave CI", "coreweave github actions", "coreweave pipeline", "automate coreweave deploy".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/coreweave-ci-integration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈86 tokens for metadata: the name and description. ≈2.1k when used: this file. ≈8.6k more on demand in 7 files.

Description uses 4.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈343 characters, or 4.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

UNOFFICIAL CI INTEGRATION FOR COREWEAVE

Community-contributed. Not affiliated with, endorsed by, or sponsored by CoreWeave, Inc. CoreWeave is a registered trademark of CoreWeave, Inc.

Overview

Separate credential-free pull-request tests from an approved, post-merge staging deployment. Use Read to inspect the workflow and locked project dependencies, Write the proposed workflow, and Edit it only after the repository owner reviews its trust boundaries. The example assumes an npm project with package-lock.json, npm test, and a reviewed k8s/staging.yaml; adapt these to the actual repository.

Prerequisites

  • A protected main branch and a protected coreweave-staging environment with required reviewers.
  • Environment variables CW_CONTEXT, CW_NAMESPACE, CW_DEPLOYMENT and a reviewed staging manifest targeting that exact namespace.
  • A dedicated, least-privilege kubeconfig stored as environment secret COREWEAVE_KUBECONFIG_B64.
  • A runner with kubectl compatible with the cluster; install it through the project’s pinned toolchain before the deploy step.
  • A known-good prior manifest/revision, capacity budget and a non-sensitive workload acceptance check.

Cost and safety gate

Before any billable action, follow the mandatory cost gate. Use the local scripts/review-cost-plan.py helper to inspect the exact plan; then obtain explicit user confirmation through the trusted approval channel. No plan, missing price, changed digest or expired approval means no execution. Default to offline inspection; server dry-run and Terraform plan are account calls.

Instructions

  1. Run local unit/manifest checks before push. Run PR tests on an isolated hosted runner with no CKS credential.
  2. Permit deployment only for a push to the repository’s protected main branch, after tests pass and environment approval is granted.
  3. Materialize the kubeconfig in a private temporary file for the deploy step; never print its contents or place its value in command arguments.
  4. Verify the explicit context/namespace and server dry-run the exact reviewed manifest before applying it. Keep billable workload approval separate from offline unit tests.
  5. Check rollout and application acceptance. On failure, preserve sanitized events and have the owner apply the retained recovery revision; never weaken branch or environment protection.

Examples

Save the trusted deployment workflow separately from the PR workflow. Its environment review must bind the source SHA and manifest digest to the exact cost plan.

name: Unofficial CI integration for CoreWeave
on:
  push:
    branches: [main]
permissions:
  contents: read
jobs:
  unit-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
        with:
          persist-credentials: false
      - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
        with:
          node-version: '22'
      - run: npm ci
      - run: npm test
  staging:
    if: github.event_name == 'push' && github.ref == 'refs/heads/main'
    needs: unit-tests
    runs-on: ubuntu-latest
    environment: coreweave-staging
    timeout-minutes: 20
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
        with:
          persist-credentials: false
      # Use the project’s reviewed pinned kubectl installation step here.
      - name: Apply approved staging manifest
        env:
          KUBECONFIG_B64: ${{ secrets.COREWEAVE_KUBECONFIG_B64 }}
          CW_CONTEXT: ${{ vars.CW_CONTEXT }}
          CW_NAMESPACE: ${{ vars.CW_NAMESPACE }}
          CW_DEPLOYMENT: ${{ vars.CW_DEPLOYMENT }}
        shell: bash
        run: |
          set -euo pipefail
          : "${KUBECONFIG_B64:?}" "${CW_CONTEXT:?}" "${CW_NAMESPACE:?}" "${CW_DEPLOYMENT:?}"
          umask 077
          export KUBECONFIG
          KUBECONFIG=$(mktemp "$RUNNER_TEMP/coreweave-kubeconfig.XXXXXX")
          trap 'rm -f -- "$KUBECONFIG"' EXIT
          printf '%s' "$KUBECONFIG_B64" | base64 --decode > "$KUBECONFIG"
          kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" auth can-i patch deployments.apps
          kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" apply --dry-run=server -f k8s/staging.yaml
          kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" apply -f k8s/staging.yaml
          kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" rollout status "deployment/$CW_DEPLOYMENT" --timeout=10m

Use a second file for credential-free PR checks:

name: CoreWeave PR checks
on:
  pull_request:
permissions:
  contents: read
jobs:
  unit-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          persist-credentials: false
      - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020
        with:
          node-version: '22'
      - run: npm ci
      - run: npm test

The environment must actually require approval; configure that in repository settings. Review namespace fields inside the manifest as well as the CLI flag, including any cluster-scoped objects. Run the project’s own model-readiness and acceptance check after rollout before promotion.

Output

  • A workflow with separate PR-test and protected staging-deploy trust boundaries.
  • A receipt containing source SHA, image digest, namespace, rollout and acceptance results.
  • A recovery decision with explicit unknowns; no production-readiness claim from unit tests alone.

Error Handling

Failure Response
Secret or environment variable absent Stop the deploy; never substitute default context or broader credentials.
Tests or server dry-run fail Fix the reviewed source/manifest; do not skip the gate.
Pending GPU workload or rollout timeout Inspect scoped events and quota/capacity with the platform owner.
Credential exposure Revoke/rotate the staging identity and restrict logs/artifacts before retrying.

Resources

Evidence status

This workflow is a reviewed example, not a live deployment receipt. Offline checks do not establish that the target environment, secret, capacity or application acceptance test exists.

Offline verification

Supply a parsed workflow object with the string key on, protected_environments, cost_review_bound_to_revision and credential_cleanup_test_passed evidence. Use a YAML 1.2 parser; YAML 1.1 may coerce on to boolean. The helper rejects mixed PR/deployment workflows conservatively, unpinned remote actions and common secret-output commands. Repository environment settings and cleanup results must be independently supplied: naming an environment does not enforce reviewer protection. Shell detection is heuristic and does not replace code review of referenced actions, reusable workflows or scripts.

From this skill directory, replay the synthetic example (its timestamp is intentionally fixed; it contains no account data):

python3 scripts/review-workflow.py --input tests/fixtures/example.json --as-of 2026-11-05T12:01:00Z

For current evidence, omit --as-of; it defaults to current UTC. Required common fields: schema: coreweave-evidence/v1, captured_at, context, namespace, expected_context, expected_namespace. The scope must agree and evidence must be at most five minutes old. Explicit replay time is for testing historical fixtures, not a way to make stale production evidence current.

Exit 0 / reviewed means the supplied assertions satisfy this bounded contract; 2 / blocked requires correction; 3 / incomplete requires more evidence. Read the findings rather than relying only on exit status. Scripts never execute text from inputs, call a cloud API or authorize a change. Fixture and package checks are separate from model behavior and live compatibility.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides instructions and boilerplate code for integrating CoreWeave GPU cloud deployments into GitHub Actions CI/CD pipelines. It uses standard practices for secret management and Kubernetes integration.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
What it can do
Reads files Edits files Runs commands
version
1.15.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "gpu-cloud",
  "kubernetes",
  "inference",
  "coreweave"
]
All 6 allowed tools
ReadWriteEditBash(gh:*)Bash(kubectl:*)Bash(python3:*)
Other metadata
compatibility
Designed for Claude Code
metadata
{
  "display-name": "UNOFFICIAL CI INTEGRATION FOR COREWEAVE"
}

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/coreweave-ci-integration