跳到正文
TakoAPI
返回技能列表

devtools-secrets

由 basher83 提供

Coding Agents & IDEs
401下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

输出

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 或你在用的任意编程智能体里。

链接