forest6511

Secretctl — AI skill for Claude Code

AI community

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

English 日本語

**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.

[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?style=flat&logo=go)](https://go.dev/) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) [![Documentation](https://img.shields.io/badge/docs-website-blue)](https://forest6511.github.io/secretctl/) [![Codecov](https://codecov.io/gh/forest6511/secretctl/branch/main/graph/badge.svg)](https://codecov.io/gh/forest6511/secretctl)

![secretctl demo](docs/assets/demo.gif)


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?

  1. Your secrets, your machine — No cloud sync, no third-party servers, no subscription fees. Your credentials stay