AccessiWeather: Skill for Codex

.codex/skills/ai-slop-cleaner/SKILL.md

ai-slop-cleaner is a skill for Codex from Orinks/AccessiWeather. It costs 21 tokens per session (1,018 once invoked), scanned A, original, MIT.

A code-cleanup workflow for removing clutter from AI-generated or overcomplicated code while keeping its behavior unchanged. It starts by checking regression tests, which verify that existing behavior still works.

In plain words
What is it for?
Use it when code works but is bloated, repetitive, over-abstracted, or difficult to maintain, especially after an AI-assisted implementation.
Why use it?
It helps clean code without causing accidental changes. The work is broken into specific problems such as duplicate code, unused code, weak boundaries, and unnecessary wrapper layers.

Skill for Codex

Written for Codex: installed under .codex/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Orinks/AccessiWeather. 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/Orinks/AccessiWeather/main/.codex/skills/ai-slop-cleaner/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Orinks/AccessiWeather

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 ai-slop-cleaner

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/orinks/accessiweather/ai-slop-cleaner"><img src="https://agentmods.dev/badge/skills/orinks/accessiweather/ai-slop-cleaner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00021 $0.01018
Opus 5 $0.00010 $0.00509
Sonnet 5 $0.00004 $0.00204
Haiku 4.5 $0.00002 $0.00102

Measured 12d ago against content hash 518c55c7e1d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ai-slop-cleaner 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 12d 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.

.codex/skills/ai-slop-cleaner/SKILL.md · 115 lines

How it starts

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

AI Slop Cleaner Skill

Reduce AI-generated slop with a regression-tests-first, smell-by-smell cleanup workflow that preserves behavior and raises signal quality.

When to Use

Use this skill when:

  • A code path works but feels bloated, noisy, repetitive, or over-abstracted
  • A user asks to “cleanup”, “refactor”, or “deslop” AI-generated output
  • Follow-up implementation left duplicate code, dead code, weak boundaries, missing tests, or unnecessary wrapper layers
  • You need a disciplined cleanup workflow without broad rewrites

GPT-5.5 Guidance Alignment

  • Keep outputs concise and evidence-dense unless risk or the user requests more detail.
  • Treat newer user instructions as local workflow updates without discarding earlier non-conflicting constraints.
  • Keep using inspection, tests, diagnostics, and verification until the cleanup is grounded.
  • Proceed automatically through clear, reversible cleanup steps; ask only when a choice materially changes scope or behavior.

Scoped File Lists and Ralph Workflow

  • This skill can accept a file list scope instead of a whole feature area.
  • When the caller provides a changed-files list (for example, Ralph session-owned edits), keep the cleanup strictly bounded to those files.
  • In the Ralph workflow, the mandatory deslop pass should run this skill on Ralph's changed files only, in standard mode unless the caller explicitly requests otherwise.

Procedure

  1. Lock behavior with regression tests first

    • Identify the behavior that must not change
    • Add or run targeted regression tests before editing cleanup candidates
    • If behavior is currently untested, create the narrowest test coverage needed first
  2. Create a cleanup plan before code

    • List the specific smells to remove
    • Bound the pass to the requested files/scope
    • If a file list scope is provided, keep the pass restricted to that changed-files list
    • Order fixes from safest/highest-signal to riskiest
    • Do not start coding until the cleanup plan is explicit

Read the full file on GitHub · 115 lines

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. 12d ago First seen · 115 lines · 21 tokens per session scan A 518c55c7e1d5

Subscribe to this mod's changes

ai-slop-cleaner is a skill published in the GitHub repository Orinks/AccessiWeather (24 stars, last pushed 5d ago), licensed MIT. It adds 21 tokens to every session and 1,018 once invoked, about $0.0001 per session on Opus 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-08-30.