agentleFS
opascopeopascope/skills/optimize/SKILL.md

optimize

Skill0 starsChanged 35 days agoMITView on GitHub

Audit a process, codebase or workflow for deletion and compression. Use when asked what can be deleted, what is unnecessary, or to simplify a process. Produces recommendations only and never changes the audited target.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use arrange, teach-impeccable and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • HK-hubSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.

    Also in 14 projects that use this

  • HK-hubSkill

    teach-impeccable

    One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.

    Also in 17 projects that use this

  • zwy123zwySkill

    normalize

    将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。

    Also in 19 projects that use this

  • open-coder-aiSkill

    policy-init

    Create conformant Chock policy from request. args(request, target_path,

    Also in 3 projects that use this

  • +8 more from HK-hub

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 73 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read shared.md first. Save a report with kind optimization.

    line 13
  2. Distinctive:

    When was it actually used?

    line 39
  3. Distinctive:

    If removed mistakenly, how hard is recovery?

    line 46
  4. Distinctive:

    Before any KILL recommendation, make the strongest evidence-based case for keeping it.

    line 51
  5. Distinctive:

    Use references/report.md. Every component receives KILL, COMPRESS, KEEP or QUESTION.

    line 65

“Common” is measured: kept by at least 6 in 10 of the 73 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Audit a codebase or process for what to delete

Read shared.md first. Save a report with kind optimization. The only writes are report/task artifacts. Never edit, delete, reconfigure or execute a proposed change in the audited target. Read-only shell checks are permitted; do not run target scripts with unknown side effects.

Three principles: start with deletion as the hypothesis; inspect the actual thing; make each recommendation concrete. The burden is on keeping components, but absence of evidence is not evidence of absence.

Inventory

Scope the target and classify code versus non-code. For code, read actual files, search consumers and writers, and inspect history if available. For a process, read the supplied procedure and actual observations. If observations are missing, ask for steps, frequency, participants, outputs, last use, dependencies and what would break if removed. Do not invent a meeting cadence or usage history.

Build a numbered map: component, purpose, last observed use, consumers, owner or writer, size or time cost, evidence and uncertainty. Say when measurements cover only the inspected scope.

Load-bearing test

For every component, ask these questions in order and record the evidence:

  1. Does deleting it break current behavior? Keep until that dependency is resolved.
  2. When was it actually used? Inactivity is a signal to investigate, not a deadline after which a seasonal or recovery component becomes unnecessary.
  3. Does the original problem still exist? If not, propose deletion.
  4. Is it indirection without useful policy or behavior? Propose deletion or folding.
  5. Does another component do the same job? Propose compression, naming the survivor.
  6. Is it a safety net? Examine consequence and recovery cost. No recorded incident alone does not show a control is unnecessary.
  7. If removed mistakenly, how hard is recovery? State the assumptions behind that estimate. Cheap recovery strengthens a deletion recommendation.

Argue against deletion

Before any KILL recommendation, make the strongest evidence-based case for keeping it. Show that argument and why it does or does not survive. Where a consumer, consequence or recovery cost is unknown, use QUESTION with the exact missing evidence. For ambiguous items, trace why it exists, why this form, why it remains, why removal has not happened and why removal would matter. Use files, history or user observations to answer; do not fill gaps with a story.

On both runtimes, complete the inventory/evidence pass first, then a separate counterargument pass without changing the target. Independent reviewers may perform those passes if available and authorized; sequential review is a full implemented path and must be labeled as such. Never require a team API.

Report

Use references/report.md. Every component receives KILL, COMPRESS, KEEP or QUESTION. Write each verdict on one line that names the component by its path, never a short nickname. Include a specific action, supporting evidence, impact and uncertainty. Impact is prospective, conditional on applying the recommendations. Never report projected savings as achieved. Return the report path and the most consequential finding; the user decides what to execute. Scale the report to the target. A few components usually need a compact table and brief counterarguments, not a long report repeating the inventory.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.