Agent skill

Feature Stage Metadata Environment Values

by Consensys in Consensys/c0

When adding stage-specific values or conditionals, put them on stageMetadata instead of comparing STAGE directly

LGPL-3.0Auto-check passed

Install Feature Stage Metadata Environment Values

skills CLI
$ npx skills add Consensys/c0 --skill feature-stage-metadata-environment-values -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Consensys/c0 feature-stage-metadata-environment-values --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Consensys/c0.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/stage-metadata-environment-values .claude/skills/feature-stage-metadata-environment-values && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
feature-stage-metadata-environment-values
GitHub stars
105
Token cost
~337 tokens
SKILL.md length
118 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
LGPL-3.0

At a glance

When adding stage-specific values or conditionals, put them on stageMetadata instead of comparing STAGE directly

  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Feature Stage Metadata Environment Values is an agent skill from Consensys/c0. When adding stage-specific values or conditionals, put them on stageMetadata instead of comparing STAGE directly

Its SKILL.md is about 340 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: c0 is an open-source AI platform built for organizational work, tools, and context. A single deployment to Cloudflare to get started. The licence is LGPL-3.0.

Example prompts

  • “/feature-stage-metadata-environment-values”

What it can do on your machine

Read from SKILL.md and the folder at commit e7a1810. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Feature Stage Metadata Environment Values loads about 337 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~337

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Consensys/c0 at commit e7a1810, republished under its LGPL-3.0 licence (© Consensys). 118 words, ~337 tokens.

Download SKILL.mdSave it as .claude/skills/feature-stage-metadata-environment-values/SKILL.md (or your agent's skills folder).
name
feature-stage-metadata-environment-values
description
When adding stage-specific values or conditionals, put them on stageMetadata instead of comparing STAGE directly

Stage Metadata Instead Of Stage Checks

Use packages/shared/src/stageMetadata.ts as the single place for non-secret stage-specific behavior across apps, packages, and infra.

  • When code needs a different value or branch by environment, add a property to StageProps, InfraStageProps, or AppStageProps and read it from stageMetadata.
  • Do not add ad hoc checks like env.STAGE === "dev", stage === "prod", or startsWith("pre-") outside stageMetadata.ts.
  • Keep stage parsing and environment branching centralized in stageMetadata.ts.
  • Secrets still belong in env vars, not in stageMetadata.

Pattern

typescript
// Bad
const trustedOrigins =
  env.STAGE === "dev" ? ["http://localhost:3000"] : [baseURL]

// Good
const stageMetadata = getStageMetadataSync(env.STAGE)
const trustedOrigins = stageMetadata.infra.authTrustedOrigins
  • Public origins, hostnames, URLs, and ports
  • Feature flags and capability toggles that vary by stage
  • Stage-specific limits, defaults, and allowlists
  • Integration endpoints and non-secret provider config
  • Prefer property names that describe the business meaning, not the stage check they replaced.

© Consensys, LGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/stage-metadata-environment-values of Consensys/c0.

Open the folder on GitHubat commit e7a1810

Compare with similar skills

Feature Stage Metadata Environment Values next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Feature Stage Metadata Environment Values compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feature Stage Metadata Environment Values this skillConsensys/c0105—~337Automated safety check: PassLGPL-3.0
Classroom Stage Design MethodTHU-MAIC/OpenMAIC40k—~1.4kAutomated safety check: PassMIT
Stage Tamagotchi Godot Csharpmoeru-ai/airi50k—~677Automated safety check: PassMIT
Value Propositionphuryn/pm-skills27k—~1.5kAutomated safety check: PassMIT
Value Prop Statementsphuryn/pm-skills27k—~758Automated safety check: PassMIT
Hunt Exceptional Conditionssickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Baseline procedure for building one new classroom stage: settle the page plan with you, create the stage, write the roster, then generate each page in order.

    40k GitHub stars~1.4k tokensUpdated today
    EducationAuto-check passed
  • Apply the Stage Tamagotchi Godot C development method and code style when working in apps/stage-tamagotchi-kirie or its migration predecessor, engines/stage-tamagotchi-godot.

    50k GitHub stars~677 tokensUpdated today
    Game DevelopmentAuto-check passed
  • Value Proposition

    phuryn/pm-skills

    Design a detailed value proposition using a 6-part JTBD template — Who, Why, What before, How, What after, Alternatives.

    27k GitHub stars~1.5k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Value Prop Statements

    phuryn/pm-skills

    Generate value proposition statements for marketing, sales, and onboarding from existing value propositions.

    27k GitHub stars~758 tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Hunt Exceptional Conditions

    sickn33/agentic-awesome-skills

    Hunt mishandling of exceptional conditions. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Hunt Race Condition

    sickn33/agentic-awesome-skills

    Hunting skill for race condition vulnerabilities. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~5.7k tokens
    DevelopmentAuto-check passed

More from Consensys/c0

All 11 skills in this repo
  • Debug deployed Cloudflare Workers using the cfobservability MCP, Wrangler, D1/R2 state, repo evidence, and safe live reproduction.

    105 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Deslop Typescript

    Consensys/c0

    Run a final de-slopping pass on nearly finished JavaScript or TypeScript work before commit or PR.

    105 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • A skill your agent uses when adding, changing, or reviewing Workflow Nodes in the c0 agent repo, including shared node catalog metadata, Workflow Node options and ports, runtime node Adapters…

    105 GitHub stars~943 tokensUpdated 1 mo ago
    Auto-check passed
  • Guidance for safely changing the c0 Workflow runtime ABI, manifest ABI, runtime kernels, manifest migrations, workflow artifact compatibility, and audit/backfill tooling.

    105 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Eval Loop

    Consensys/c0

    Run and improve the c0 agent evaluation loop using the local and remote Cloudflare MCP harness, versioned history notes, and current Cloudflare product updates.

    105 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Alchemy Env Types

    Consensys/c0

    Derive Cloudflare worker env types from Alchemy resource Env types instead of hand-writing env shapes.

    105 GitHub stars~707 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Feature Stage Metadata Environment Values

What does Feature Stage Metadata Environment Values do?

When adding stage-specific values or conditionals, put them on stageMetadata instead of comparing STAGE directly. Feature Stage Metadata Environment Values is an agent skill from Consensys/c0.

How do I install Feature Stage Metadata Environment Values in Claude Code?

Run `npx skills add Consensys/c0 --skill feature-stage-metadata-environment-values -a claude-code`. Or copy the skill folder (.agents/skills/stage-metadata-environment-values in Consensys/c0) into .claude/skills/feature-stage-metadata-environment-values in your project. Claude Code loads it when a task matches its description.

How do I install Feature Stage Metadata Environment Values in Codex?

Run `npx skills add Consensys/c0 --skill feature-stage-metadata-environment-values -a codex`. Or copy the skill folder (.agents/skills/stage-metadata-environment-values in Consensys/c0) into .agents/skills/feature-stage-metadata-environment-values in your project. Codex loads it when a task matches its description.

Can I use Feature Stage Metadata Environment Values in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Consensys/c0 --skill feature-stage-metadata-environment-values -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/feature-stage-metadata-environment-values, .gemini/skills/feature-stage-metadata-environment-values, .github/skills/feature-stage-metadata-environment-values and .opencode/skills/feature-stage-metadata-environment-values in your project.

What does Feature Stage Metadata Environment Values need to run?

SKILL.md names no scripts, command-line tools or credentials: Feature Stage Metadata Environment Values is instructions for the agent only.

Does Feature Stage Metadata Environment Values access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Feature Stage Metadata Environment Values safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Feature Stage Metadata Environment Values use?

Feature Stage Metadata Environment Values is published under the LGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Feature Stage Metadata Environment Values use?

About 337 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Feature Stage Metadata Environment Values?

Skills that share tags, products or a category with Feature Stage Metadata Environment Values: Classroom Stage Design Method (THU-MAIC/OpenMAIC, 40k stars), Stage Tamagotchi Godot Csharp (moeru-ai/airi, 50k stars), Value Proposition (phuryn/pm-skills, 27k stars) and Value Prop Statements (phuryn/pm-skills, 27k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feature Stage Metadata Environment Values?

Consensys (a GitHub organization) maintains it in Consensys/c0, which has 105 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 18, 2026.

Source: Consensys/c0 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.