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.

Install it, pinned
mdr add different-ai/openwork/get-env-var@git:20261001.1cc7242

Pins 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

The exact contents, by fingerprint
mdr add different-ai/openwork/get-env-var@sha256:0e36ea669f0aeac0

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wl3mwsrwzjaeicni.svg)](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.

versioncommittedcommitsizeaudit
git:20261001.1cc7242 latest2026-10-01 1cc7242 5,492 BA view · diff
git:20260902.114ecbd2026-09-02 114ecbd 3,408 BA view · diff
git:20260704.5cd7a862026-07-04 5cd7a86 2,064 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md@.github AGENTS.md file
different-ai/openwork · .github/AGENTS.md
git:20261028.06f44d2 · audit A · 24,407 stars
add-a-feature SKILL.md skill
different-ai/openwork · .opencode/skills/add-a-feature/SKILL.md · Decide whether work needs a feature flag (any change to product behavior users can see does), then declare it, roll it…
git:20261029.71802c2 · audit A · 24,407 stars
browser-automation SKILL.md skill
different-ai/openwork · .opencode/skills/browser-automation/SKILL.md · Local OpenWork Electron browser automation with CDP. Use when driving a local Electron dev app, browser_list…
git:20261015.ef455ca · audit B · 24,407 stars
create-plugin SKILL.md skill
different-ai/openwork · .opencode/skills/create-plugin/SKILL.md · Create an OpenCode plugin for OpenWork. Scaffolds the plugin file with the correct API shape, tool definitions, and…
git:20260602.20013d2 · audit A · 24,407 stars
daytona-seeded-cloud-demo SKILL.md skill
different-ai/openwork · .opencode/skills/daytona-seeded-cloud-demo/SKILL.md · Daytona seeded cloud demo, demo credentials, Acme Robotics seed. Use when the user asks to spin up, keep running, seed…
git:20260827.92f4f3f · audit B · 24,407 stars
daytona-windows-cert SKILL.md skill
different-ai/openwork · .opencode/skills/daytona-windows-cert/SKILL.md · test on Windows, enterprise CA, corporate certificate, GPO cert, TLS fetch failed, Windows sandbox, daytona windows…
git:20261015.ef455ca · audit A · 24,407 stars
daytona SKILL.md skill
different-ai/openwork · .opencode/skills/daytona/SKILL.md · Daytona CLI setup, sandbox debugging, keep a sandbox alive, secrets volume, snapshot refresh. Use when Daytona itself…
git:20261001.1cc7242 · audit A · 24,407 stars
diagnose-a-red-run SKILL.md skill
different-ai/openwork · .opencode/skills/diagnose-a-red-run/SKILL.md · Test is red, typecheck failed, CI job failed, flaky, timed out, was this already broken. Use to classify any failing…
git:20261004.134a7c7 · audit A · 24,407 stars
drive-desktop-cdp SKILL.md skill
different-ai/openwork · .opencode/skills/drive-desktop-cdp/SKILL.md · Drive the running OpenWork app over CDP from the shell, headless by default (nothing opens on screen). Evaluate JS…
git:20261015.ef455ca · audit B · 24,407 stars
dry-run-a-risky-change SKILL.md skill
different-ai/openwork · .opencode/skills/dry-run-a-risky-change/SKILL.md · Billing, plans, seats, permissions, access rules, auth, flag removals or data migrations that could lock real…
git:20261027.7fb680f · audit A · 24,407 stars
fake-model-faults SKILL.md skill
different-ai/openwork · .opencode/skills/fake-model-faults/SKILL.md · Make the desktop's model provider fail on demand (connection refused, DNS not found, socket reset, 429, 5xx, 401, 402…
git:20261002.739dae1 · audit B · 24,407 stars
fix-design-notes SKILL.md skill
different-ai/openwork · .opencode/skills/fix-design-notes/SKILL.md · Design notes on a PR, "Design review (advisory)" in the evidence check, "worth fixing", layout.split-row, OW-LIST, a…
git:20261027.d4b32a6 · audit A · 24,407 stars

Every file in different-ai/openwork

Other files named get-env-var

get-env-var SKILL.md skill
devin-axis/ipollowork · .opencode/skills/get-env-var/SKILL.md · get an env var, fetch a secret, missing env var, missing token/API key, load secrets from Infisical, infisical. Fetch…
git:20260711.ec0d7ce · audit A · 7,432 stars

Browse by kind, by grade A, or by owner.