infisical-ci-setup

infisical-ci-setup is a command for Claude Code from smicolon/ai-kit. It costs 18 tokens per session (1,863 once invoked), scanned B, original, MIT.

A setup guide for putting Infisical-managed secrets into continuous integration and delivery pipelines. CI/CD systems automatically build, test, and deploy code when changes are made.

In plain words
What is it for?
Use it to configure Infisical with GitHub Actions, GitLab CI, CircleCI, Jenkins, or Bitbucket Pipelines.
Why use it?
It removes the need to place secret values directly in pipeline files and explains how the pipeline can authenticate and load them during builds or deployments.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to configure Infisical with GitHub Actions, GitLab CI, CircleCI, Jenkins, or Bitbucket Pipelines.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/smicolon/ai-kit/infisical-ci-setup
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/smicolon/ai-kit

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 infisical-ci-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/smicolon/ai-kit/infisical-ci-setup/github.svg)](https://agentmods.dev/commands/smicolon/ai-kit/infisical-ci-setup)
Your own site
<a href="https://agentmods.dev/commands/smicolon/ai-kit/infisical-ci-setup"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/infisical-ci-setup/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 infisical-ci-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/smicolon/ai-kit/infisical-ci-setup"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/infisical-ci-setup.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 1,863 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. 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.01863
Opus 5 $0.00009 $0.00932
Sonnet 5 $0.00004 $0.00373
Haiku 4.5 $0.00002 $0.00186

Measured 6d ago against content hash a51224d416cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

infisical-ci-setup scanned grade B with 3 findings 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 6d 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | sudo -E bash

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | sudo -E bash
packs/infisical/commands/infisical-ci-setup.md · 270 lines

How it starts

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

Infisical CI Setup Command

Generate CI/CD pipeline configuration for injecting Infisical secrets into builds and deployments.

Parse Arguments

Extract from user input:

  • provider: github, gitlab, circleci, jenkins, or bitbucket

Workflow

Step 1: Determine CI Provider

Ask user which CI/CD provider they use:

  1. GitHub Actions
  2. GitLab CI
  3. CircleCI
  4. Jenkins
  5. Bitbucket Pipelines

Step 2: Create Machine Identity

Guide user through Infisical dashboard:

  1. Go to Organization Settings > Machine Identities
  2. Click Create Identity
  3. Name: ci-<provider>-<project> (e.g., ci-github-myapp)
  4. Add Universal Auth method
  5. Copy Client ID and Client Secret
  6. Add identity to the project with access to required environments

Step 3: Store Credentials in CI

Guide user to add these secrets to their CI provider:

Secret Name Value
INFISICAL_UNIVERSAL_AUTH_CLIENT_ID Client ID from step 2
INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET Client Secret from step 2

For self-hosted, also add: | INFISICAL_API_URL | https://secrets.company.com/api |

Step 4: Generate Pipeline Config

GitHub Actions

Create .github/workflows/deploy.yml (or add to existing):

name: Deploy

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install Infisical CLI
        run: |
          curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | sudo -E bash
          sudo apt-get update && sudo apt-get install -y infisical

      - name: Authenticate with Infisical
        run: |
          infisical login --method=universal-auth \
            --client-id=${{ secrets.INFISICAL_UNIVERSAL_AUTH_CLIENT_ID }} \
            --client-secret=${{ secrets.INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET }}
        env:
          INFISICAL_DISABLE_UPDATE_CHECK: "true"

      - name: Build with secrets
        run: infisical run --env=production -- npm run build

      - name: Deploy
        run: infisical run --env=production -- npm run deploy

Read the full file on GitHub · 270 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. 6d ago First seen · 270 lines · 18 tokens per session scan B a51224d416cf

Subscribe to this mod's changes

infisical-ci-setup is a command published in the GitHub repository smicolon/ai-kit (6 stars, last pushed 6d ago), licensed MIT. It adds 18 tokens to every session and 1,863 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.