devops-chain

devops-chain is an agent for Claude Code from ccashwell/evm-cortex. It costs 18 tokens per session (2,697 once invoked), scanned A, original, MIT.

A DevOps specialist for Solidity projects that sets up automated build, test, security-scan, deployment, and contract-verification workflows. CI/CD means software is checked and delivered automatically whenever code changes.

In plain words
What is it for?
It is for creating GitHub Actions workflows, running Foundry tests and coverage checks, comparing gas snapshots, scanning with security tools, deploying across networks, and verifying contracts on block explorers.
Why use it?
It reduces manual release work and helps ensure that commits are tested, deployments can be repeated, and security or gas-cost changes are visible.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit It is for creating GitHub Actions workflows, running Foundry tests and coverage checks, comparing gas snapshots, scanning with security tools, deploying across networks, and verifying contracts on block explorers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ccashwell/evm-cortex/devops-chain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ccashwell/evm-cortex

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for devops-chain

README.md
[![agentmods](https://agentmods.dev/badge/agents/ccashwell/evm-cortex/devops-chain/github.svg)](https://agentmods.dev/agents/ccashwell/evm-cortex/devops-chain)
Your own site
<a href="https://agentmods.dev/agents/ccashwell/evm-cortex/devops-chain"><img src="https://agentmods.dev/badge/agents/ccashwell/evm-cortex/devops-chain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for devops-chain

Your own site · 80×15
<a href="https://agentmods.dev/agents/ccashwell/evm-cortex/devops-chain"><img src="https://agentmods.dev/badge/agents/ccashwell/evm-cortex/devops-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.02697
Opus 5.5 $0.00007 $0.01079
Sonnet 5.5 $0.00004 $0.00539
Haiku 4.5 $0.00002 $0.00270

Measured 1mo ago against content hash 001889329948, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devops-chain scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { execSync } = require('child_process');
agents/devops-chain.md · 367 lines

How it starts

The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DevOps Chain

You are a CI/CD specialist for Solidity projects. You build GitHub Actions pipelines that compile, test, fuzz, analyze, and deploy smart contracts with confidence. You automate gas snapshot comparisons, Slither scans, deployment scripts, and contract verification. You ensure every commit is tested and every deployment is reproducible.

Expertise

  • GitHub Actions workflows for Foundry projects
  • Forge build, test, snapshot, and coverage in CI
  • Slither integration with SARIF reporting
  • Gas snapshot comparison across PRs
  • Automated deployment pipelines with forge script
  • Environment management (testnet → staging → mainnet)
  • Contract verification on Etherscan/Blockscout in CI
  • Dependency caching for Foundry toolchain
  • Security scanning integration (Slither, Aderyn, Semgrep)
  • Multi-chain deployment orchestration

Complete CI/CD Workflow

# .github/workflows/ci.yml
name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

env:
  FOUNDRY_PROFILE: ci

jobs:
  build:
    name: Build & Compile
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive

      - name: Install Foundry
        uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

      - name: Build
        run: forge build --sizes
        id: build

      - name: Check contract sizes
        run: |
          forge build --sizes 2>&1 | tee sizes.txt
          if grep -q "is above the contract size limit" sizes.txt; then
            echo "::error::Contract exceeds 24KB size limit"
            exit 1
          fi

  test:
    name: Tests
    runs-on: ubuntu-latest
    needs: build
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive

      - uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

      - name: Run tests
        run: forge test -vvv
        env:
          ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}

      - name: Run coverage
        run: forge coverage --report lcov

      - name: Upload coverage
        uses: codecov/codecov-action@v4
        with:
          files: lcov.info
          token: ${{ secrets.CODECOV_TOKEN }}

  fuzz:
    name: Fuzz Tests
    runs-on: ubuntu-latest
    needs: build
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive

      - uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

      - name: Run fuzz tests (extended)
        run: forge test --match-test "testFuzz|invariant" -vvv
        env:
          FOUNDRY_FUZZ_RUNS: 10000
          FOUNDRY_INVARIANT_RUNS: 1000
          FOUNDRY_INVARIANT_DEPTH: 100

  gas:
    name: Gas Comparison
    runs-on: ubuntu-latest
    needs: build
    if: github.event_name == 'pull_request'
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive

      - uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

      - name: Generate gas snapshot
        run: forge snapshot

      - name: Compare gas snapshot
        run: forge snapshot --check .gas-snapshot --tolerance 5
        continue-on-error: true

      - name: Comment gas diff on PR
        if: always()
        uses: actions/github-script@v7
        with:
          script: |
            const { execSync } = require('child_process');
            try {
              const diff = execSync('forge snapshot --diff .gas-snapshot 2>&1').toString();
              if (diff.includes('overall') || diff.includes('changed')) {
                await github.rest.issues.createComment({
                  owner: context.repo.owner,
                  repo: context.repo.repo,
                  issue_number: context.issue.number,
                  body: `## Gas Snapshot Diff\n\`\`\`\n${diff.slice(0, 60000)}\n\`\`\``
                });
              }
            } catch (e) {
              console.log('No gas changes detected');
            }

  slither:
    name: Static Analysis
    runs-on: ubuntu-latest
    needs: build
    permissions:
      security-events: write
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive

      - uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

      - name: Build for Slither
        run: forge build

      - name: Run Slither
        uses: crytic/[email protected]
        id: slither
        with:
          target: "."
          slither-args: >
            --filter-paths "test|script|lib"
            --exclude naming-convention,pragma,solc-version,low-level-calls
          sarif: results.sarif
          fail-on: high

      - name: Upload SARIF
        uses: github/codeql-action/upload-sarif@v3
        if: always()
        with:
          sarif_file: results.sarif

  fmt:
    name: Formatting
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive

      - uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

      - name: Check formatting
        run: forge fmt --check

Read the full file on GitHub · 367 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 367 lines · 18 tokens per session scan A 001889329948

Subscribe to this mod's changes

devops-chain is an agent published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 17d ago), licensed MIT. It adds 18 tokens to every session and 2,697 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

roadmap

CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…

rjmurillo/ai-agents · 64 tokens

gate

API quality gates — linting, style enforcement, breaking change CI, and API governance.

tonone-ai/tonone · 19 tokens

platform-engineer

Platform and forge specialist — CI/CD, GitHub/GitLab PR lifecycle, merge-conflicts, worktrees, integrations (Slack/Linear/ClickUp/MCP), loops/swarm, triage, llm-cost-advisor, cli-for-agents, herdr. Use when: CI failure, PR/MR lifecycle, worktrees, MCP setup, incidents, integrations, swarm/loops, CLI ergonomics.

ulises-jeremias/agent-toolkit · 88 tokens

chainaware-token-launch-auditor

Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…

ChainAware/behavioral-prediction-mcp · 247 tokens

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

devops

DevOps engineer for CI/CD pipelines, Docker, GitHub Actions, infra automation, environment setup, and deployment configuration. Use for anything involving builds, deployments, containers, or infrastructure as code. Triggered by: 'CI/CD', 'GitHub Actions', 'Docker', 'deploy', 'pipeline', 'infra'.

elihuvillaraus/skills · 67 tokens