agentsclimarketplace

Complexity sweep

Skill qaz17899/sweep-skills/skills/complexity-sweep

Use for explicit COMPLEXITY SWEEP requests, technical debt cleanup, over-engineering removal, codebase bloat, unnecessary abstractions, duplicate knowledge, dead code, avoidable dependencies, shallow wrappers, brittle tests, or requests to make a project smaller and easier to change. Dispatch six parallel subagents to collect simplification findings, synthesize shared complexity mechanisms, build a full cut queue, implement direct refactors, delete replaced paths, and validate every queue entry.From its SKILL.md

Install
npx -y skills add qaz17899/sweep-skills --skill complexity-sweep

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.5 KB, as published. Nobody here has run it

Complexity Sweep

Read:

  • references/scan-lenses.md
  • references/queue-format.md

Scan

Dispatch six parallel subagents using scan-lenses.md.

Each subagent returns findings in this shape:

Tag:
Surface:
Smell:
Evidence:
Cost:
Cut:

Merge overlapping cuts by smell, owner, and affected callers.

Create .codex/complexity-sweep/QUEUE.md using queue-format.md.

Synthesis

Group findings into simplification clusters.

Each cluster states:

  • findings covered
  • shared complexity mechanism
  • owner
  • simpler shape
  • deletion scope
  • caller impact
  • closure proof

Rank clusters by:

  1. deletion of unused code, dependencies, config, or layers
  2. duplicate knowledge removed
  3. caller simplification and interface depth gained
  4. future maintenance cost removed
  5. validation risk and dependency order

Record clusters and cut entries in .codex/complexity-sweep/QUEUE.md.

Simplify

Prefer deletion, reuse, inlining, and direct convergence over new abstraction.

For each cut entry:

  1. Reuse existing code, standard library, native platform behavior, or installed dependency.
  2. Inline needless pass-through layers and one-off abstractions.
  3. Collapse duplicate knowledge into one owner.
  4. Delete replaced paths, dead config, unused flags, and obsolete tests.
  5. Update callers and behavior tests to the simpler shape.
  6. Preserve trust-boundary validation, data-loss handling, security, accessibility, and required user behavior.
  7. Run validation.
  8. Record proof and covered finding IDs in .codex/complexity-sweep/QUEUE.md.

Completion

Simplification completion means every finding is Done or Blocked. Blocked entries need a concrete external blocker: missing credential, unavailable service, missing user decision, missing reproduction evidence, or environment dependency. Final output includes queue counts, completed clusters, blocked entries, validation proof, and the next queue entry when any work remains.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.