devtools-secrets
от basher83
Coding Agents & IDEsКратко
Knowledge and guardrails for the mise + fnox + infisical secrets toolchain.
Описание
Что делает этот навык
Knowledge and guardrails for the mise + fnox + infisical secrets toolchain. Validates tool availability before giving any configuration guidance. Covers the integration chain from remote secret storage through fnox's unified interface to mise task execution, including common failure modes like profile mismatches and token scope limits.
Layering these three tools means secret storage, local abstraction, and task orchestration are each handled separately, and always-on hooks enforce that no hardcoded credentials can reach the editor or shell before the toolchain can intercept them.
Когда его использовать
- Configuring infisical as the remote secrets provider for a new project
- Running dev commands with secrets injected via fnox exec without touching .env files
- Wrapping mise tasks with fnox to keep credentials out of task definitions
- Setting up CI/CD to use service tokens instead of developer login sessions
- Diagnosing silent empty-secrets failures when fnox profile names don't match infisical environment slugs
Пример сценария
User asks: how do I run my dev server with secrets injected from Infisical?
- 1
Check that mise, fnox, and infisical are installed using the toolchain validation commands
- 2
Verify fnox.toml exists in the project root, prompt user to run fnox init if missing
- 3
Check .infisical.json for project and workspace config, prompt infisical init if absent
- 4
Show user how to wrap the dev server command with fnox exec -- to inject secrets as env vars
- 5
Add a mise task that calls fnox exec so the workflow is repeatable with a single command
Dev server runs with Infisical secrets injected as environment variables, no credentials in source files or task definitions
Требования
- Infisical account (cloud at infisical.com or self-hosted) for remote secret storage
- mise installed on the local machine (curl https://mise.run | sh)
- fnox installed via mise (mise use -g fnox)
- infisical CLI installed via mise (mise use -g infisical)
Установка
clawhub install basher83/devtools-secretsВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.