Infisical Skill — AI skill for Claude Code
Infisical secret management skill for AI agents — keep API keys out of agent context.
How to install Infisical Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open grandamenium/infisical-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Infisical Skill does
Infisical secret management skill for AI agents — keep API keys out of agent context.
Alternatives in AI
- Vibeproxy — Native macOS menu bar app to use your Claude Code & ChatGPT subscriptions with AI coding tools - no API keys n 3.3k ★
- Prompt Tower — Context management for long-context LLMs, agents, and vibe coding 382 ★
- Dsh Plugin Subscriptions — Use ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as DeepSeek Harness LLM providers — OAuth logi 283 ★
README
Infisical Secret Management Skill for AI Agents
The Problem: Secrets in Agent Context Are a Security Risk
When an AI agent holds API keys in its environment variables or system prompt, those secrets are:
- Visible in logs, traces, and conversation history
- Copied into every subagent or spawned worker context
- Exposed if a prompt injection attack extracts the context window
- Rotated manually with no audit trail
The blast radius of a single leaked key expands dramatically when that key lives in a long-running agent session touching dozens of services.
The Solution: Runtime Secret Fetching via Infisical
[Infisical](https://infisical.com) is an open-source secret vault. Instead of baking API keys into agent context, the agent fetches each secret at the moment it is needed, uses the value in the tool call, and discards it. The secret never persists in conversation history or logs.
Agent needs Stripe key
→ calls fetch_secret("STRIPE_SECRET_KEY")
→ Infisical returns the value
→ agent uses value in Stripe API call
→ value is gone — not stored, not logged
Setup
1. Create an Infisical account
Go to [app.infisical.com](https://app.infisical.com) and sign up (free tier available). Or self-host: see [Infisical self-hosting docs](https://infisical.com/docs/self-hosting/overview).
2. Create a project
In the Infisical dashboard, create a new project (e.g., "my-agent"). Note the **Project ID** — you will need it.
3. Add secrets
Inside the project, navigate to the **prod** environment (or create one). Add secrets as key-value pairs, e.g.:
OPENAI_API_KEY = sk-...
STRIPE_SECRET_KEY = sk_live_...
SENDGRID_API_KEY = SG....
4. Create a service token
Go to **Project Settings > Service Tokens** and create a token scoped to the environment your agent uses (e.g., `prod`, read-only). Copy the token — it starts with `st.`.
5. Configure your agent
Set two environment variables (these are the only things agen
Related Skills
Rapg
Local-first secret manager for the AI-agent era — keep API keys out of .env files and out of your agent transc
Keyfence
Local proxy that keeps your API keys and secrets out of LLM requests. Works with Claude Code, Cursor, Codex an
MCP Agent Switchboard
Local MCP switchboard for Codex, Claude Code, Gemini, Antigravity & VS Code — route tasks, run cross-model deb
Claude Code Secret Gate
The pre-commit secret gate for AI coding agents — content-scans staged changes and blocks any commit containin
Clean Commit Skill
Keep AI noise out of your git history. A cross-platform agent skill that blocks Co-Authored-By bots, generator
Cursor Grok Workflow
Hand the grunt work to ten Cursor agents at once. Keep every decision yourself. A Cursor Agent CLI fan-out ski
Related Agents
Secret Purist
The paranoid sentinel of credential security. Use this agent to scan codebases and git history for leaked secr
Secret Hunter
Hunts publicly-leaked credentials (API tokens, cloud keys, DB strings) that belong to a previously-ingested pr
Secret Guard
MUST be used whenever the user asks to scan for secrets, API keys, credentials, or tokens before a commit or i