get-env-var skillA
get-env-var is agent-read markdown (skill) from different-ai/openwork: get an env var, fetch a secret, missing env var, missing token/API key, load secrets from Infisical, infisical. Fetch secrets from the team's Infisical workspace into the shell environment so subsequent commands can use them..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Skill: get-env-var Fetch a secret from the team's Infisical workspace into the current shell so the next command can use it. ## When to use - A command or script needs an env var that is not set, such as `BLOB_READ_WRITE_TOKEN`. - A token, API key, or other secret is missing from the environment. - The user asks to load secrets from Infisical. ## Setup (once per machine) - Install the CLI on macOS: `brew install infisical/get-cli/infisical`. - Check auth with `infisical user get`; if it fails, run `infisical login` and complete the browser flow. - For CI or other non-interactive runs, set `INFISICAL_TOKEN` from a machine identity; the CLI skips login when it is present. - This repo is already project-linked via tracked `.infisical.json` (`workspaceId: "e9f4542a-8714-46c3-a8fd-99d8cb370aeb"`, empty `defaultEnvironment`). From the repo root, `infisical` defaults to the `dev` environment slug when `--env` is omitted. ## Fetch one secret into the environment Run from the repo root: ```bash export NAME="$(infisical secrets get NAME --plain --silent)" ``` - Replace `NAME` with the secret name. - Add `--env <slug>` for a non-default environment; this repo defaults to `dev`. …
Read the whole file at its exact version.
How to install
mdr add different-ai/openwork/get-env-var@git:20260902.114ecbdmdr add different-ai/openwork/get-env-var@sha256:f607577951acca91Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_wl3mwsrwzjaeicni)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.114ecbd latest | 2026-09-02 | 114ecbd | 3,408 B | A | view · diff |
| git:20260704.5cd7a86 | 2026-07-04 | 5cd7a86 | 2,064 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3408 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
different-ai/openwork · 23,724 stars · license NOASSERTION · pushed 2026-09-25 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_wl3mwsrwzjaeicni GET https://markdownregistry.com/api/v1/resolve?ref=different-ai/openwork/get-env-var GET https://markdownregistry.com/api/v1/blob/f607577951acca91190cf9169d13cd18c1777094ea0ac7f9329696ed93d7380e
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from different-ai/openwork
Every file in different-ai/openwork