Secretctl — AI skill for Claude Code
The simplest AI-ready secrets manager.
How to install Secretctl
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open forest6511/secretctl and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Secretctl does
The simplest AI-ready secrets manager. Local-first, single-binary CLI & Desktop app with MCP integration. Never expose secrets to AI agents.
Alternatives in AI
- Skills Manager — A lightweight desktop app to manage, sync, and organize AI agent skills across 15+ coding tools — Cursor, Clau 813 ★
- Skilldock — SkillDock is an AI skill manager and skill management desktop app for Claude Code, Cursor, Codex, Windsurf, Ge 490 ★
- Agenvoy — Self-hosted AI agent harness in a single Go binary — writes, sandbox-tests and repairs its own tools, and lets 474 ★
README
secretctl
**Stop pasting API keys into AI chat.**
When you paste `sk-proj-xxx` into Claude Code, that secret is now in your conversation history, Anthropic's logs, and potentially exposed to prompt injection attacks.
secretctl fixes this. Your AI gets command results, never secret values.
[](https://go.dev/) [](LICENSE) [](https://forest6511.github.io/secretctl/) [](https://codecov.io/gh/forest6511/secretctl)

The Problem
Every day, developers paste secrets into AI coding assistants:
You: "Help me debug this AWS error"
You: "Here's my config: AWS_ACCESS_KEY_ID=AKIA..."
**This is a security incident waiting to happen.**
- Secrets in conversation history
- Secrets in cloud logs
- Secrets exposed to prompt injection
- No way to rotate or revoke
The Solution
secretctl injects secrets as environment variables. Your AI runs commands and sees results, but **never sees the actual credentials**.
- Single binary — No servers, no configuration, no subscription
- Local-first — Secrets never leave your machine
- MCP integration — Works with Claude Code out of the box
- Defense in depth — AES-256-GCM + Argon2id + output sanitization
# That's it. You're done.
secretctl init
secretctl set API_KEY
secretctl get API_KEY
Why Local-First & AI-Safe?
- Your secrets, your machine — No cloud sync, no third-party servers, no subscription fees. Your credentials stay
Related Skills
Cortex Rail
Cortex Rail: an operating system for AI software development, with a free desktop app to run it. Your AI codin
LLM Secret Manager
The secret manager for LLM agents: create, rotate, and use secrets they can never read. OS-native keyvault (ma
Abu Cowork
Open-source alternative to Claude Cowork — a local-first AI agent desktop app · multi-model · self-evolving sk
Zeptopm
⚡ Process Manager for AI agents — like PM2, but for LLMs. Erlang-inspired process supervision, real-time agent
Gocode
Claude Code rewritten in Go.. High-performance AI agent harness runtime in Go. MCP server, CLI tool orchestrat
MCP Warden
Local-first credential broker for MCP. AI coding agents (Claude Code, Cursor, Codex…) call APIs, SSH and datab
Related Agents
Harness Prover
Running-app verifier for harness eval loops. Drives the live feature (browser, API, or CLI) and returns a bina
Ehs Local App
Local application security specialist for the Ethical Hacker Squad. Reviews command-line tools, desktop applic
CLI MCP
Implements the santi binary: clap subcommands and the stdio MCP server (rmcp) that call the HTTP API with a pe