get-env-var SKILL.md skillA
get-env-var from different-ai/openwork is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add different-ai/openwork/get-env-var@git:20261001.1cc7242Pins git:20261001.1cc7242 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- different-ai/openwork
- Path
.opencode/skills/get-env-var/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261001.1cc7242, committed Oct 1, 2026
- First version recorded
- Jul 4, 2026
- Size
- 5,492 bytes
- Repository stars
- 24,407
- License
- a license file GitHub does not identify
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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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 `infisical --version`. The commands below need a current CLI: 0.28.x has no `user get` and no `--output json`, and behind `2>/dev/null` those fail silently with empty output. Upgrade with `brew upgrade infisical`. - Check auth with `infisical user get`; if it fails or a command reports you are not logged in, 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. …
Read the whole file at its exact version.
How to install
mdr add different-ai/openwork/get-env-var@sha256:0e36ea669f0aeac0The line at the top of this page pins the label git:20261001.1cc7242, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_wl3mwsrwzjaeicni)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 4, 2026 and Oct 1, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261001.1cc7242 latest | 2026-10-01 | 1cc7242 | 5,492 B | A | view · diff |
| git:20260902.114ecbd | 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 (5492 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 · 24,407 stars · license a license file GitHub does not identify · pushed 2026-11-05 · 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/0e36ea669f0aeac03571a025a31b277bc402184e8b9d8492d6b4eb324703ee6d
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from different-ai/openwork
Every file in different-ai/openwork