package-optimizer
Skill340 starsChanged 7 months agoMITView on GitHub
Evaluate one existing package or bounded package family from recorded evaluator evidence and a capability profile, then propose retain, simplify, strengthen, retire, or inconclusive without editing. Use when optimizing a skill, agent, hook, rule, command, utility, or preset; evaluating whether package detail is justified; reviewing a model-refresh impact; or preparing an approval-gated package improvement. Refuses missing, stale, or incomparable evidence and never edits without explicit approval. Not for static conformance reports or authored package audits; use package-evaluator, whose live effectiveness is NOT_MEASURED.
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Do not infer effectiveness from package length, heading count, or a static conformance report/authored package audit.
- Very specific: line 64
Verify evidence validity. Stop with inconclusive on any invalid input.
- Distinctive: line 74
Stop. Do not edit. Require the user to explicitly approve the proposal.
- Distinctive: line 83
Run static conformance and relevant eval cases.
- Distinctive: line 114
Never edit without explicit approval.
- Distinctive: line 115
Never optimize all packages at once.
- Distinctive: line 116
Never turn missing evidence into a simplification recommendation.
- Distinctive: line 117
Never claim token, cost, or quality improvement without recorded evidence.
- Very specific: line 118
Prefer retain or inconclusive over speculative change.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Package Optimizer
Turn existing package evidence into one bounded, reviewable proposal. The optimizer is proposal-only: it never edits a package, changes a profile, or starts a benchmark run.
Scope
| Situation | Action |
| One package has current evaluator evidence | Propose one disposition. |
| A bounded family shares the same evidence/profile | Propose one family plan with a per-package row. |
| Evidence is missing, stale, structurally invalid, or from another profile | Return inconclusive; name the unresolved package decision and request the smallest recertification needed. |
| User asks to apply a proposal | Require explicit approval, preserve before artifacts, then hand the edit to the normal package workflow. |
| User asks for a broad benchmark before identifying a package decision | Refuse the expansion; identify the package decision first. |
Required inputs
- Package scope — one
type/namepackage or an explicitly bounded family. - Current evidence — static conformance and relevant eval-case result or a recorded behavioral result. Cite exact commands, artifacts, or case IDs.
- Capability profile — model/client/tool-surface identity when behavioral evidence depends on one. Structural-only evidence is labelled as such.
- Decision question — what behavior should be retained, simplified, or strengthened.
Do not infer effectiveness from package length, heading count, or a static
conformance report/authored package audit. Report-v2 static conformance is
PASS or FAIL; its live effectiveness remains NOT_MEASURED.
Evidence validity
Reject evidence when any condition holds:
- package path, version, or evaluator case differs from the proposed scope;
- a behavioral result has no model/client/tool-surface identity;
- a profile is older than a recorded package change or cannot be compared to the requested profile;
- the evidence omits a failure, safety outcome, or relevant evaluator result;
- an M4 recertification report pools model targets or lacks complete cells.
A rejection uses the single output format below with Disposition: inconclusive,
Proposed change: none, and Approval required: yes. Its Unresolved package
decision must name the package scope and decision question. A recertification
request repeats that exact field; do not request a benchmark without it.
Procedure
- Resolve the package scope and read its definition, evaluator cases, and current conformance output.
- State the decision question and evidence class:
structural,behavioral, orprofile-scoped behavioral. - Verify evidence validity. Stop with
inconclusiveon any invalid input. - Select exactly one disposition:
retain— evidence supports the current contract.simplify— evidence identifies redundant detail and the retained contract/evaluator proves the smaller scope.strengthen— a documented failure requires a concrete contract addition.retire— explicit deprecation or replacement evidence supports removal.inconclusive— evidence cannot support a safe change.
- Produce a proposal. For non-
retaindispositions, name exact sections or files to change and the evaluator behavior that must remain true. - Stop. Do not edit. Require the user to explicitly approve the proposal.
Approval handoff
An approval must name the package, disposition, and proposal ID. The downstream applying workflow—not this skill—must:
- Save the original package artifact and evaluator evidence.
- Apply only the approved package/family change.
- Run static conformance and relevant eval cases.
- Record before/after artifacts, verification output, profile identity, and any regression.
- Revert the bounded package change on regression. Do not broaden the scope.
Output format
## Package Optimization Proposal
Scope: <type/name or bounded family>
Decision question: <question>
Evidence class: <structural | behavioral | profile-scoped behavioral>
Evidence:
- <command/artifact/case and observed result>
Capability profile: <identity | not applicable>
Disposition: <retain | simplify | strengthen | retire | inconclusive>
Rationale: <evidence-backed explanation>
Unresolved package decision: <scope + decision question | not applicable>
Proposal ID: <stable scope + evidence identifier>
Proposed change: <none | exact files/sections and intended behavior>
Preservation check: <existing evaluator/eval case>
Approval required: yes
Smallest next action: <concrete action>Guardrails
- Never edit without explicit approval.
- Never optimize all packages at once.
- Never turn missing evidence into a simplification recommendation.
- Never claim token, cost, or quality improvement without recorded evidence.
- Prefer
retainorinconclusiveover speculative change.
In this repository94 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adr-writerSkill
- agent-builderSkill
- animateSkill
- api-docs-generatorSkill
- appraiseSkill
- architecture-diagramSkill
- architecture-reviewerSkill
- arxiv-figuresSkill
- arxiv-packageSkill
- arxiv-preflightSkill
- benchmark-runnerSkill
- changelog-composerSkill
- chart-claritySkill
- citation-auditSkill
- codebase-advisorSkill
- code-refinerSkill
- competitive-analyzerSkill
- concept-to-imageSkill
- debug-investigatorSkill
- decision-mapSkill
- dependency-auditSkill
- devils-advocateSkill
- domain-modelingSkill
- engineering-retroSkill
- env-validatorSkill
- estimate-calibratorSkill
- feasibility-assessorSkill
- figure-rhetoricSkill
- figure-table-qualitySkill
- filesystemSkill
- githubSkill
- gpu-optimizerSkill
- handoffSkill
- html-presentationSkill
- html-videoSkill
- humanizeSkill
- idea-validatorSkill
- immuneSkill
- intakeSkill
- kg-builderSkill
- launch-videoSkill
- learning-workspaceSkill
- lightpanda-browserSkill
- linkedin-post-styleSkill
- literature-reviewSkill
- manuscript-provenanceSkill
- manuscript-reviewSkill
- manuscript-typographySkill
- market-analyzerSkill
- marp-slidesSkill
- mcp-to-skillSkill
- md-to-pdfSkill
- migration-risk-analyzerSkill
- milestone-runnerSkill
- module-deepeningSkill
- notebooklmSkill
- package-evaluatorSkill
- paper-to-skillSkill
- plan-promptsSkill
- The first 60 shown.
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
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.

