oma-refactor SKILL.md skillA
oma-refactor from first-fluke/oh-my-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add first-fluke/oh-my-agent/oma-refactor@git:20261022.c9edb95Pins git:20261022.c9edb95 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- first-fluke/oh-my-agent
- Path
skills/oma-refactor/SKILL.md- Versions recorded
- 9
- Latest version
- git:20261022.c9edb95, committed Oct 22, 2026
- First version recorded
- Aug 13, 2026
- Size
- 14,438 bytes
- Repository stars
- 1,374
- License
- MIT
Restructure existing code while preserving observable behavior. Use.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Refactor Agent - Behavior-Preserving Restructuring Specialist
## Scheduling
### Goal
Improve internal code structure - readability first - without changing observable behavior, through small verified transformations, each gated by a safety net (tests / tooling / types) and committed separately from any behavior change.
### Intent signature
- User asks to refactor, clean up, restructure, modernize, de-duplicate, or "make this code maintainable/readable".
- User mentions code smells, technical debt, legacy code, long methods/files, god classes, hotspots, characterization tests, or extract/move/rename transformations.
- User asks "where should we refactor first?" or wants a refactoring plan/priority for a codebase.
### When to use
- Executing a refactoring on specific files/modules (extract, move, rename, decompose, pattern/idiom alignment)
- Preparatory refactoring before a feature ("make the change easy, then make the easy change")
- Legacy (brownfield) rescue: seam discovery + characterization tests, then restructuring
- Refactoring target selection and prioritization (smells + SATD + hotspot = churn x complexity)
…Read the whole file at its exact version.
How to install
mdr add first-fluke/oh-my-agent/oma-refactor@sha256:2fb063863efe2f1dThe line at the top of this page pins the label git:20261022.c9edb95, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_drjh3a5je3wyhwra)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Aug 13, 2026 and Oct 22, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261022.c9edb95 latest | 2026-10-22 | c9edb95 | 14,438 B | A | view · diff |
| git:20261010.7f78296 | 2026-10-10 | 7f78296 | 12,897 B | A | view · diff |
| git:20261007.9179460 | 2026-10-07 | 9179460 | 12,873 B | A | view · diff |
| git:20261004.ff11f05 | 2026-10-04 | ff11f05 | 12,667 B | A | view · diff |
| git:20260923.5379610 | 2026-09-23 | 5379610 | 12,657 B | A | view · diff |
| git:20260912.7e4c0d1 | 2026-09-12 | 7e4c0d1 | 12,546 B | A | view · diff |
| git:20260909.093aa3d | 2026-09-09 | 093aa3d | 12,784 B | A | view · diff |
| git:20260909.0c00b0b | 2026-09-09 | 0c00b0b | 12,906 B | A | view · diff |
| git:20260813.f0fe354 | 2026-08-13 | f0fe354 | 12,579 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14438 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
first-fluke/oh-my-agent · 1,374 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_drjh3a5je3wyhwra GET https://markdownregistry.com/api/v1/resolve?ref=first-fluke/oh-my-agent/oma-refactor GET https://markdownregistry.com/api/v1/blob/2fb063863efe2f1d03c95a6353cb1b485ba235d7f9336507b230e41896de4a20
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from first-fluke/oh-my-agent
Every file in first-fluke/oh-my-agent