Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

devtools-secrets

bởi basher83

Coding Agents & IDEs
401Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Knowledge and guardrails for the mise + fnox + infisical secrets toolchain.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: how do I run my dev server with secrets injected from Infisical?

AGENT
  1. 1

    Check that mise, fnox, and infisical are installed using the toolchain validation commands

  2. 2

    Verify fnox.toml exists in the project root, prompt user to run fnox init if missing

  3. 3

    Check .infisical.json for project and workspace config, prompt infisical init if absent

  4. 4

    Show user how to wrap the dev server command with fnox exec -- to inject secrets as env vars

  5. 5

    Add a mise task that calls fnox exec so the workflow is repeatable with a single command

ĐẦU RA

Dev server runs with Infisical secrets injected as environment variables, no credentials in source files or task definitions

Yêu cầu

  • 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)

Cài đặt

clawhub install basher83/devtools-secrets

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết