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.
curl -O https://raw.githubusercontent.com/wanghao9610/STAR/main/.agents/skills/star-env-builder/SKILL.mdgit clone --depth 1 https://github.com/wanghao9610/STARWrote 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.
[](https://agentmods.dev/skills/wanghao9610/star/star-env-builder)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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/.
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 61 B
- assets/env_report_template_zh.md 3.1 KB
- assets/env_report_template.md 3.1 KB
- references/add_mode_zh.md 2.2 KB
- references/add_mode.md 2.3 KB
- references/dependency_resolution_zh.md 5.5 KB
- references/dependency_resolution.md 5.7 KB
- references/installer_policy_zh.md 4.0 KB
- references/installer_policy.md 4.3 KB
- references/runnable_check_spec_zh.md 4.0 KB
- references/runnable_check_spec.md 4.1 KB
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.
- 14d ago Changed · +2 lines 729281e41b90
- 1mo ago Changed · -1 lines e097a39cec3b
- 2mo ago Changed · -25 lines · -148 tokens per session 876682ddf28b
- 2mo ago First seen · 142 lines · 199 tokens per session scan A 01e3c6f72a44
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.
star-env-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| star-env-builderwanghao9610/STAR | Skill | 54 | 2d ago | MIT | A | 51 | Codex |
| migrating-langchain-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | yesterday | MIT | A | 100 | Codex |
| migrating-vercel-ai-sdk-and-eve-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | yesterday | MIT | A | 107 | Codex |
| migrating-claude-agent-sdk-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | yesterday | MIT | A | 90 | Codex |
| migrating-mastra-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | yesterday | MIT | A | 73 | Codex |
| migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | yesterday | MIT | A | 87 | Codex |
| migrating-pi-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | yesterday | MIT | A | 88 | Codex |