SkillsReviewed · citrolabs

ego-lite-simplify

ego-lite-simplify is an instruction file that tells an AI coding assistant how to find and safely remove unnecessary code, duplicated state and obsolete documentation in the ego-lite repository. It is meant for people who maintain or contribute to ego-lite. Its cleanup process depends on access to the repository’s design documents, API contracts and development tools.

Researched 15 Nov 2026

In short.

ego-lite-simplify is an instruction file that tells an AI coding assistant how to find and safely remove unnecessary code, duplicated state and obsolete documentation in the ego-lite repository. It is meant for people who maintain or contribute to ego-lite. Its usefulness depends on access to the repository’s design documents, API contracts and development tools. It prioritizes removing unnecessary state, interfaces and special cases while preserving understood behavior. No execution results or measured maintenance savings are supplied.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete captured .github/dev-skills/ego-lite-simplify/SKILL.md and agents/openai.yaml, plus the repository-root LICENSE at commit bacaece43900e8ca68eea3b6f1663835ea38df9e. It excludes the wider codebase, AGENTS.md, referenced design and API documents, tests and closed-source app implementation. No installation, commands, code changes, tests or browser journeys were executed. Operational compatibility, measured benefits and total cost remain unknown.

The overview

Identity

The resource lives in .github/dev-skills/ego-lite-simplify within citrolabs/ego-lite. SKILL.md contains its cleanup procedure; agents/openai.yaml supplies its display name, description and default invocation. Original source folder: [https://github.com/citrolabs/ego-lite/tree/main/.github/dev-skills/ego-lite-simplify].

The captured files describe ego-lite as a repository with a runtime at package/ego-browser, direct command-line (CLI) and embedded software development kit (SDK) startup paths, and a dependency on a closed-source app that supplies globalThis.ego. They refer to browser task-spaces and browser state that can outlive a short Node.js process. They do not describe ego-lite’s overall purpose, which remains unknown.

Assessment

The skill offers a concrete process for scoped cleanup audits and authorized implementation inside ego-lite. Its strongest feature is requiring evidence from real callers and external contracts before removal. Reliability, time savings and the quality of an assistant’s resulting changes remain unassessed.

Users

The intended users are ego-lite maintainers and developers directing a coding assistant through code review or simplification. Its references to native bindings, public APIs, startup paths and persistent browser state make repository familiarity useful. Beginners would need help interpreting those boundaries before approving deletions.

Capabilities

It directs an assistant to investigate unused exports and options, duplicated state, unnecessary compatibility code, unused extension points, pass-through layers and custom infrastructure that simpler facilities could replace. It also considers obsolete tests and documentation.

For audits, it specifies candidate reports covering removal scope, caller and contract evidence, behavior changes, remaining complexity, confidence, risk and the smallest verification needed.

Using it

Requirements

The documented process uses Git, ripgrep and ego-lite’s Node.js/npm tooling. It directs the reader to read AGENTS.md and the owning design document. It references docs/native-bindings-api.md as the document describing the closed-source app’s external contract, and identifies help() and package/ego-browser/skill-body/SKILL.md as public API surfaces that must stay aligned with implementation and tests.

Those referenced files and the repository environment are outside the supplied material. Minimum tool versions, supported assistant hosts and exact dependency requirements are unknown.

Mechanism

The assistant is instructed to search exact symbols, method forms, events, configuration keys, error codes, protocol strings and dynamic registration points, then inspect callers. It separates production use, contract evidence, non-production references and ambiguous examples or scripts.

A candidate is rejected or downgraded when production callers remain, native behavior is uncertain, complexity merely moves elsewhere or deletion requires unrelated changes.

Setup

The companion YAML advertises invocation through $ego-lite-simplify. Neither file documents an installation command, discovery behavior or verified host compatibility.

Before use, confirm that the chosen assistant can load the skill and has access to the relevant ego-lite checkout and design documents. Its opening steps are to read AGENTS.md and the owning design document, inspect Git status and preserve unrelated changes, then decide whether the task is an audit or an authorized implementation.

Example

An illustrative task is investigating a supposedly unused session-state field. The assistant would trace direct and dynamic references, inspect native-contract implications and consider whether browser state outlives the Node.js process. It would then report the evidence, behavior impact and verification needed before proposing removal. No such investigation or deletion was executed.

Assessment & evidence

Limitations

The instructions identify boundaries that complicate cleanup: globalThis.ego comes from a closed-source app, startup can occur through a CLI or embedded SDK, and browser state can survive a short Node.js process. The underlying implementations and referenced contracts are not included.

Nothing was installed, executed or tested. Runtime compatibility, browser behavior, cleanup effectiveness and the correctness of generated changes remain unassessed.

Design rationale

The skill measures simplification across implementation, tests, documentation, public names, state transitions and special cases, subtracting new glue and dependencies. This gives developers a broader basis for judging a change than line count alone.

It also separates behavior-preserving cleanup from intentional API or behavior changes, requiring the owning design contract to change before implementation of the latter.

Alternatives

A developer could perform the same searches and contract review manually. Static-analysis output can contribute evidence, but the skill explicitly requires reading callers rather than relying on that output alone. No named competing resource or comparative results are supplied.

Evidence

The available material consists of the complete SKILL.md, its agents/openai.yaml interface configuration and the repository-root LICENSE. These establish the documented procedure, invocation metadata and licence terms; they do not establish successful cleanup outcomes.

The immutable skill source is available at [https://raw.githubusercontent.com/citrolabs/ego-lite/bacaece43900e8ca68eea3b6f1663835ea38df9e/.github/dev-skills/ego-lite-simplify/SKILL.md].

Access & freshness

Costs

The captured MIT licence grants its permissions free of charge. Assistant subscriptions, model/API charges, compute requirements and developer effort are unspecified, so total operating cost is unknown.

Rights

The only captured licence notice is the repository-root LICENSE, which is outside the selected skill folder. Neither SKILL.md nor agents/openai.yaml contains its own licence text. The repository-level MIT notice names CitroLabs as the 2026 copyright holder. It permits use, modification and redistribution, including sale, provided the copyright and permission notice accompany copies or substantial portions. It also disclaims warranties.

No licence terms are supplied for the separately described closed-source app.

Freshness

The supplied snapshot identifies commit bacaece43900e8ca68eea3b6f1663835ea38df9e, captured on 15 November 2026. No release version, supported-version range or evidence of later changes is supplied. Compatibility with another ego-lite revision is unknown.

Next steps

Begin with a scoped audit and require caller evidence, contract implications and behavior impact for each candidate. For authorized changes, the skill calls for characterization tests where behavior must remain, coordinated removal of obsolete implementation and documentation, and updates to owning contracts before intentional behavior changes.

From package/ego-browser/, its prescribed checks are npm test for runtime changes, npm run e2e for task-space/browser behavior and npm run validate:site-skills for learning changes. It finishes with git diff --check and disclosure of verification that could not run. No results for these checks are supplied.

Evidence for this report

.github/dev-skills/ego-lite-simplify/SKILL.mdselected · checked 2026-11-15
LICENSEnotice · checked 2026-11-15