STAR: Skill for Codex

.agents/skills/star-code-architect/SKILL.md

star-code-architect is a skill for Codex from wanghao9610/STAR. It costs 48 tokens per session (3,164 once invoked), scanned A, original, MIT.

A code-organization tool that finds suitable reference implementations, creates the project's code area, or rearranges an existing research codebase.

In plain words
What is it for?
Use it to search GitHub for candidate implementations, score their fit and completeness, scaffold a code directory, or reorganize project files.
Why use it?
It gives research plans a clear place for implementation and helps compare outside examples before choosing how to build the project.

Skill for Codex

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

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-code-architect/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-code-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/wanghao9610/star/star-code-architect/github.svg)](https://agentmods.dev/skills/wanghao9610/star/star-code-architect)
Your own site
<a href="https://agentmods.dev/skills/wanghao9610/star/star-code-architect"><img src="https://agentmods.dev/badge/skills/wanghao9610/star/star-code-architect/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-code-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/wanghao9610/star/star-code-architect"><img src="https://agentmods.dev/badge/skills/wanghao9610/star/star-code-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,164 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.00048 $0.03164
Opus 5.5 $0.00019 $0.01266
Sonnet 5.5 $0.00010 $0.00633
Haiku 4.5 $0.00005 $0.00316

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

Security

Grade A, and why

star-code-architect 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-code-architect/SKILL.md · 102 lines

How it starts

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

Research Code Architect

Invocation: star-code-architect [GITHUB_URL | PLAN_NAME] [DESCRIPTION]. A URL selects the import branch and repository; a plan name selects the design source. Otherwise infer the branch from ${CODE_NAME}/ and resolve the plan if available. Treat remaining natural language as binding intent, constraints, and authorization within the selected scope.

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

Role

Give the research plan a place for the code to live. Upstream, star-plan-coach and star-plan-decomposer own the top-level plan and executable sub-plans; downstream, star-plan-executor implements plan steps inside ${CODE_NAME}/ — but assumes that codebase exists. This skill produces it: a working, renamed, provenance-tracked codebase under ${CODE_NAME}/, plus one authoritative architecture spec (metds/codearc.md) telling every later agent where code belongs.

Architect; do not implement research features. Feature work belongs to star-plan-executor against its sub-plans. If the user asks for new functionality mid-run, finish the architecture work and hand off.

Core Principles

  1. The plan drives the code. Read the root plan under metds/plans/ first: the search profile (Branch A), the survey focus (Branch B), and the target architecture all derive from it. With no plan and no URL, offer star-plan-coach first — or take a topic / URL directly and proceed without one.
  2. Two material decisions; autonomous between them. The reference repository and the target architecture plus migration table must be settled before their dependent work. Apply conventions §7.2 and §7.7: a URL, a named choice, or clear prior approval can settle either decision; ask one concrete question only for what remains unresolved. Everything covered then runs autonomously with bounded retries.
  3. Upstream layout is the baseline. A cloned repo's organization is battle-tested; do not restructure it wholesale. Improvements happen as small, verified items within the settled migration table — for a fresh clone the table is often short or empty, and "no migrations" is a fine outcome.
  4. Conservative rebrand, full provenance. Rename only what is safe and necessary (top-level package, imports, packaging metadata, entry points, README title), verifying after each rename. Registry strings, config type keys, and checkpoint-coupled names go untouched into the do-not-rename list. Strip .git, keep upstream LICENSE / CITATION files, and record source URL + commit + license in ${CODE_NAME}/UPSTREAM.md before the import commit. Checklist: references/rebrand_checklist.md.
  5. Verify per group; delegate where it helps. Delegate surveys and migrations wherever it helps: hand off a bounded, independent area or migration group whenever collaboration tools are available and delegation materially helps, and execute locally when it does not. When delegating, dispatch a read-only sub-agent for a read-only survey — on the READ tier's model (conventions §10.8), where the harness can name one — or a writing sub-agent for a migration, on the EXEC tier's model, and give it the narrow brief in references/orchestration_spec.md; a migration agent writes only its own group's files. Either way: disjoint file ownership per group, re-run every check yourself (never trust a self-reported pass; a migration's checks are cheap, so this skill does not take conventions §6.3's evidence-acceptance route), commit once per verified group, retry ≤2, restore what still fails.
  6. One spec, short cross-references. The durable output is metds/codearc.md — directory responsibilities, placement rules, naming and style conventions, plan-component map, migration record, the do-not-rename list. AGENTS.md gets a ≤10-line summary section pointing to it (edit AGENTS.md only — CLAUDE.md is a symlink to it), and .cursor/rules/code-codearc.mdc gets an always-on pointer. Never fork the spec's content into multiple files.

Read the full file on GitHub · 102 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 4ef7075d44d0
  2. 1mo ago Changed 17281d255214
  3. 2mo ago Changed · -21 lines · -149 tokens per session 42f623b52907
  4. 2mo ago First seen · 123 lines · 197 tokens per session scan A 8c6f1d82e876

Subscribe to this mod's changes

star-code-architect is a skill published in the GitHub repository wanghao9610/STAR (54 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 3,164 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-code-architect compared with skills from other repositories

star-code-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
star-code-architectwanghao9610/STARSkill542d agoMITA48Codex
create-workflowLazyAGI/LazyMindSkill589yesterdayApache-2.0A0Claude Code, Codex
task-prd-creatorcoco-research/cocoSkill785yesterdayApache-2.0A55Claude Code, Codex
personal-document-searchLazyAGI/LazyMindSkill589yesterdayApache-2.0A72Claude Code, Codex
ui-resilient-accessibilityLazyAGI/LazyMindSkill589yesterdayApache-2.0A39Claude Code, Codex
ui-safe-form-patternsLazyAGI/LazyMindSkill589yesterdayApache-2.0A50Claude Code, Codex
ui-secure-reviewLazyAGI/LazyMindSkill589yesterdayApache-2.0A51Claude Code, Codex