Local-first, agent-native developer tools.
secretctl is an agent-first single-binary secret manager for macOS. Tokens, API keys, and SSH keys live in a single AES-256-GCM encrypted file under ~/.secretctl/. AI agents (Claude Code, Codex, Cursor, …) get capability access — they run commands with secrets injected as environment variables, but never see the plaintext.
secretctl init # passphrase + macOS Keychain
secretctl add OPENAI_API_KEY --tag ai # TUI (single line)
secretctl add SSH_KEY --tag ssh --editor # $EDITOR (multi-line)
secretctl list --json # name+tags only, no value
secretctl exec --tag ai -- python main.py # env-injected, audited
secretctl render .npmrc.tmpl --out ~/.npmrc # ${NAME} substitution
secretctl is opinionated for users who share a shell with AI agents and want capability-based, not credential-based, access:
.secretctl.toml declares which tags and commands are reachable. exec enforces the allowlist on both --tag and --only paths, so an agent cannot bypass restrictions by naming a secret directly.strings(1) on the vault file shows nothing useful — strictly stronger than SOPS’ field-level encryption..env files, no shell history, no process arguments. CLI rejects secretctl add NAME value outright.exec --tag ai -- cmd decrypts only the matching secrets, sets them as env vars on the child, and clears every plaintext buffer in the parent before waitpid. Subprocess exit code is transparently passed through.| Tool | Layer |
|---|---|
secretctl |
Encrypted secret store + capability-based injection |
skillctl |
Curated skill bundles + profile-driven AGENTS.md |
memctl |
Persistent agent memory |
acpctl |
ACP agent invocation |
mcpctl |
MCP server invocation |
secretctl is the only tool in the family that holds plaintext — every other tool is configuration or orchestration. It deliberately stays a leaf dependency: nothing in the family imports it; it integrates by being on PATH and consumed via exec and render.
npm install in under two minutes.