environment

A Seenode tool for managing application environment variables and secrets. Environment variables are configuration values that an application reads while running, such as API keys, feature flags, or its runtime environment.

In plain words
What is it for?
Use it to list masked settings, reveal permitted non-secret values for diagnosis, add or update variables, remove keys, and configure application secrets.
Why use it?
It avoids editing configuration manually and helps keep sensitive values masked or write-only. It also clarifies that changing variables restarts the running app but does not rebuild it from source code.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/seenode/seenode-agent-plugin/environment
Any agent
npx skills add seenode/seenode-agent-plugin --skill environment
Clone the repo
git clone --depth 1 https://github.com/seenode/seenode-agent-plugin

Made for: Claude Code, Codex.

Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.00774
Opus 5 $0.00030 $0.00387
Sonnet 5 $0.00012 $0.00155
Haiku 4.5 $0.00006 $0.00077

Measured yesterday against content hash a7c5d10fe2ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

environment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/environment/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Environment variables on Seenode

Semantics (critical)

  • Set/delete env vars applies config to the running application and restarts instances.
  • Env changes do not rebuild from git.
  • Changing runtime image, build/start command, port, root directory, or branch requires update_build_settings (redeploy), not env vars.
  • Secrets marked via secret_keys are write-only — they cannot be read back.
  • For managed databases, prefer link_database_to_application over pasting DATABASE_URL / DB_PASSWORD into set_environment_variables.

List (preferred)

list_environment_variables(application_id=...)

Returns keys, isSecret, masked valuePreview, and unprotectedKeys (credential-like names that should be marked secret).

Reveal (cautious)

reveal_environment_variables(application_id=..., keys=["KEY"]|null)

Only for non-secret values, and only when the user explicitly needs plaintext or diagnosis is impossible without it. Treat anything revealed as exposed — recommend rotating and re-storing with secret_keys. Secret keys appear in withheldSecretKeys.

Set / update

set_environment_variables(
  application_id=...,
  variables={"KEY": "value", "OTHER": "..."},
  secret_keys=["KEY"]
)
  • Merges by key: omitted keys keep current values.
  • Keys in secret_keys must also appear in variables.
  • Once secret, a key stays secret; to make it non-secret, delete and recreate (destructive for the old value).
  • Never echo secret values back to the user — confirm that they were set.

Delete (destructive)

delete_environment_variables(application_id=..., keys=["KEY"])

Missing keys are reported in notFound. Deleting a secret destroys the value permanently. This is the only delete tool on the MCP surface for app config — confirm before removing production keys.

Common workflows

  1. Wire a managed database — use link_database_to_application (default prefix DATABASEDATABASE_HOST / _PORT / _USER / _PASSWORD / _NAME / _URL). Do not ask the user to paste DB passwords. After rotate_database_user_password, link again with overwrite=true.
  2. Non-DB secrets — set API keys and similar via set_environment_variables with secret_keys.
  3. Missing env after failed bootlist_environment_variables → compare to .env.example → set missing keys (or re-link DB) → verify with runtime logs (get_application_logs).
  4. Mark unprotected secrets — if unprotectedKeys lists credential-like names, re-set those keys with secret_keys populated.

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 77 lines · 61 tokens per session scan A a7c5d10fe2ea

Subscribe to this mod's changes

environment is a skill published in the GitHub repository seenode/seenode-agent-plugin (2 stars, last pushed 23d ago), licensed MIT. It adds 61 tokens to every session and 774 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens