StarAgent: Skill for Codex

.agents/skills/staragent-simplify/SKILL.md

staragent-simplify is a skill for Codex from SiriusNEO/StarAgent. It costs 68 tokens per session (1,020 once invoked), scanned A, original, MIT.

A code-maintenance guide for simplifying StarAgent while keeping its existing behaviour. It directs the agent to inspect the project structure, current changes, history, and real usage before editing.

In plain words
What is it for?
Use it when refactoring StarAgent, removing obsolete code, consolidating repeated logic, or cleaning up outdated tests and documentation.
Why use it?
It helps remove unused code, duplicate logic, stale tests, and unnecessary machinery without accidentally removing working features. It also reduces the risk of overwriting unrelated work.

Skill for Codex

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

This is SiriusNEO/StarAgent's own configuration. It tells Codex how to work on StarAgent 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 StarAgent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SiriusNEO/StarAgent. 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/SiriusNEO/StarAgent/main/.agents/skills/staragent-simplify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SiriusNEO/StarAgent

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 staragent-simplify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/siriusneo/staragent/staragent-simplify"><img src="https://agentmods.dev/badge/skills/siriusneo/staragent/staragent-simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,020 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.
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.00068 $0.01020
Opus 5.5 $0.00027 $0.00408
Sonnet 5.5 $0.00014 $0.00204
Haiku 4.5 $0.00007 $0.00102

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

Security

Grade A, and why

staragent-simplify 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 26d 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/staragent-simplify/SKILL.md · 72 lines

How it starts

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

Simplify StarAgent

Prefer a few proven reductions over a broad rewrite. Optimize for less code, fewer states, and clearer ownership while preserving observable behavior unless the user explicitly authorizes a product change.

Establish Context

  • Read .agents/staragent-dev/SKILL.md, ARCHITECTURE.md, and the documentation that owns the area under review.
  • Inspect git status, the active diff, and recent history before editing. Preserve unrelated and uncommitted user work.
  • Treat tmux as the runtime source of truth. Preserve Node scoping, local/remote parity, authentication boundaries, allowlisted execution, and Agent Session continuity.
  • Start with the current diff and the largest relevant production files. Expand only when call-site evidence requires it.

Find Strong Candidates

Look for maintenance surface that costs more than it provides:

  • Helpers, routes, fields, states, compatibility aliases, or configuration with no production consumer.
  • Tests or documentation as the only consumer of behavior that is no longer a maintained contract.
  • Multiple representations or caches for one fact, especially across Hub, Node, browser, and tmux state.
  • Repeated normalization, proxy, rendering, or error-handling branches that can share one owner.
  • Defensive copies, validators, locks, or fallbacks that protect no real trust or concurrency boundary.
  • One-use wrappers that obscure a direct standard-library or framework operation.
  • Hand-rolled parsing, retry, diff, or protocol machinery already covered by the Python standard library, a browser platform API, or an existing dependency.
  • Comments and docs that restate implementation, describe removed behavior, or live above the layer that owns the contract.

Do not count formatting churn, renamed symbols, code moved into another wrapper, or a new dependency with equal glue as simplification.

Prove Each Candidate

  1. Search the exact symbol, route, wire key, CSS class, data attribute, or configuration name with rg.
  2. Classify every hit as production, test, documentation, generated output, or runtime state.
  3. Inspect dynamic consumers: Jinja-generated paths, delegated browser events, Node capability payloads, tmux command construction, and string-based registries may not look like normal calls.
  4. Check Git history when code looks historical or defensive; determine which failure or compatibility promise introduced it.
  5. State the simpler owner and the behavior that remains. Estimate net deletion including replacement glue, tests, and docs.
  6. Reject the candidate if it requires an unrequested feature decision, weakens a security boundary, or merely relocates complexity.

Read the full file on GitHub · 72 lines

Files

What ships with it

1 file 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.

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. 26d ago First seen · 72 lines · 68 tokens per session scan A a724e1269f02

Subscribe to this mod's changes

staragent-simplify is a skill published in the GitHub repository SiriusNEO/StarAgent (62 stars, last pushed 27d ago), licensed MIT. It adds 68 tokens to every session and 1,020 once invoked, about $0.0003 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-10-02.

Related

Other skills, from other repositories

karpathy

Coding principles for simplicity, clarity, and surgical precision. Use when you want Claude to think before coding, keep solutions minimal, make surgical changes, and define verifiable success criteria. Triggers on: karpathy mode, think before coding, simplicity first, surgical changes.

Onelevenvy/flock · 57 tokens

review-prs

Review a GitHub pull request in the googleapis/mcp-toolbox repo against the team's reviewer checklist: PR title/description conventions, linked issue, logic errors and unhandled edge cases, breaking changes, test coverage, docs updates, security (input handling), and new dependencies. Use whenever a maintainer asks…

googleapis/mcp-toolbox · 162 tokens

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for publishartifact, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 52 tokens

langbot-eba-adapter-dev

Build, refactor, and test LangBot platform adapters for the Event-Based Agents architecture. Use when adding or migrating Telegram, Discord, or other messaging platform adapters to the EBA adapter layout, validating unified event/message conversion, writing live adapter probes, or using standalone plugin runtime plus…

langbot-app/LangBot · 73 tokens

langbot-plugin-dev

Develop, debug, and test LangBot plugins. Use when creating new LangBot plugins, fixing plugin bugs, setting up a LangBot test environment, or testing plugins via WebSocket. Covers plugin component architecture (EventListener, Command, Tool), the plugin SDK API (invokellm, getllmmodels, sendmessage, plugin storage)…

langbot-app/LangBot · 110 tokens

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens