STAR: Skill for Codex

.agents/skills/star-env-builder/SKILL.md

star-env-builder is a skill for Codex from wanghao9610/STAR. It costs 51 tokens per session (3,269 once invoked), scanned A, original, MIT.

A tool for creating or rebuilding a project's Python working environment, such as a conda environment or virtual environment. It installs dependencies and checks that the environment works.

In plain words
What is it for?
Use it to create the project's environment, install packages, verify the interpreter, or add a dependency without deleting an existing environment.
Why use it?
It removes setup differences that can stop research code from running or make results difficult to reproduce.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is wanghao9610/STAR's own configuration. It tells Codex how to work on STAR itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything STAR configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wanghao9610/STAR. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wanghao9610/STAR/main/.agents/skills/star-env-builder/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/wanghao9610/STAR

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for star-env-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/wanghao9610/star/star-env-builder/github.svg)](https://agentmods.dev/skills/wanghao9610/star/star-env-builder)
Your own site
<a href="https://agentmods.dev/skills/wanghao9610/star/star-env-builder"><img src="https://agentmods.dev/badge/skills/wanghao9610/star/star-env-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for star-env-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/wanghao9610/star/star-env-builder"><img src="https://agentmods.dev/badge/skills/wanghao9610/star/star-env-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,269 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00051 $0.03269
Opus 5.5 $0.00020 $0.01308
Sonnet 5.5 $0.00010 $0.00654
Haiku 4.5 $0.00005 $0.00327

Measured 14d ago against content hash 729281e41b90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

star-env-builder 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 14d ago.

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.

.agents/skills/star-env-builder/SKILL.md · 118 lines

How it starts

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

Research Env Builder

Invocation: star-env-builder [ENV_NAME | add <package>…] [DESCRIPTION]. Resolve add first; every following package token belongs to that mode. Otherwise use the given environment name, else .env's ENV_NAME, else its CODE_NAME. Natural language may set requirements or authorize the build; ask only when the environment target, dependency choice, cost, or destructive handling remains unresolved.

Shared conventions. Follow docs/mds/star-workflow/research-workflow-conventions.md for scope, authority, .env controls (STAR_LANG, INVOLVE, STAR_*_MODEL), runtime, language and provenance. Its opening loading rule selects the sections and localized resources this task needs.

Passing a tier model. Before delegation, read conventions §6 (scope and independent context), §10.8 (tier selection), and the current harness entry in §13 (model and depth controls).

Source bindings. Follow .agents/skills/star-flow-status/references/source_state.md (Chinese: source_state_zh.md) after runnable checks and the last authorized configuration/report write. Record environment only for a verified report, using --runtime with the actually checked ENV_PY and all dependency definitions/lock files. A partial or blocked report never receives a passing binding. The currently configured interpreter must match before handing off as ready. Add mode preserves verification only when its prior baseline was current and checks cover every installed change, including transitive upgrades; otherwise perform the affected checks or retain partial/blocked.

Role

Give the codebase a working runtime. Upstream, star-code-architect writes ${CODE_NAME}/ but stops at the environment — its runtime-check step prepares install commands and hands them to the user (STOP line). Downstream, star-plan-executor runs every command through the .env environment and assumes it works. This skill produces that environment: a conda env or .venv resolved from .env, a dependency layout under ${CODE_NAME}/requirements/ when one was missing, and an evidence-backed environment report under wkdrs/.

Read the full file on GitHub · 118 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. 14d ago Changed · +2 lines 729281e41b90
  2. 1mo ago Changed · -1 lines e097a39cec3b
  3. 2mo ago Changed · -25 lines · -148 tokens per session 876682ddf28b
  4. 2mo ago First seen · 142 lines · 199 tokens per session scan A 01e3c6f72a44

Subscribe to this mod's changes

star-env-builder is a skill published in the GitHub repository wanghao9610/STAR (54 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 3,269 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

star-env-builder compared with skills from other repositories

star-env-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
star-env-builderwanghao9610/STARSkill542d agoMITA51Codex
migrating-langchain-to-pydantic-aipydantic/pydantic-aiSkill21kyesterdayMITA100Codex
migrating-vercel-ai-sdk-and-eve-to-pydantic-aipydantic/pydantic-aiSkill21kyesterdayMITA107Codex
migrating-claude-agent-sdk-to-pydantic-aipydantic/pydantic-aiSkill21kyesterdayMITA90Codex
migrating-mastra-to-pydantic-aipydantic/pydantic-aiSkill21kyesterdayMITA73Codex
migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-aiSkill21kyesterdayMITA87Codex
migrating-pi-to-pydantic-aipydantic/pydantic-aiSkill21kyesterdayMITA88Codex