agent-rt

Local-first, agent-native developer tools.

View My GitHub Profile

secretctl

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

Why agent-first

secretctl is opinionated for users who share a shell with AI agents and want capability-based, not credential-based, access:

Position in the Agent-RT family

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.

Get started

  1. Install — Homebrew (recommended) or release tarball.
  2. Quickstart — vault to first injected npm install in under two minutes.
  3. Commands — reference for all 13 commands.
  4. Nix integration — Home Manager module + sops-nix migration.
  5. Cross-Mac sync — push the vault to a private git remote, unlock locally on every Mac.