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
.agents/skills/oma-refactor/SKILL.md- Versions recorded
- 11
- Latest version
- git:20261022.c9edb95, committed Oct 22, 2026
- First version recorded
- Jun 11, 2026
- Size
- 14,439 bytes
- Repository stars
- 1,374
- License
- MIT
Restructure existing code while preserving observable behavior. Use for targeted technical debt or hotspot work with characterization tests.
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:74a8244d39355cd8The 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_x6yoswwfabanidml)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 11 versions of this file, between Jun 11, 2026 and Oct 22, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261022.c9edb95 latest | 2026-10-22 | c9edb95 | 14,439 B | A | view · diff |
| git:20261007.9179460 | 2026-10-07 | 9179460 | 12,874 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,658 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:20260717.2b51963 | 2026-07-17 | 2b51963 | 12,570 B | A | view · diff |
| git:20260707.1b14c18 | 2026-07-07 | 1b14c18 | 12,294 B | A | view · diff |
| git:20260612.c9a7b67 | 2026-06-12 | c9a7b67 | 12,266 B | A | view · diff |
| git:20260611.53f1d88 | 2026-06-11 | 53f1d88 | 12,173 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 (14439 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_x6yoswwfabanidml GET https://markdownregistry.com/api/v1/resolve?ref=first-fluke/oh-my-agent/oma-refactor GET https://markdownregistry.com/api/v1/blob/74a8244d39355cd8459ced75fba48496f1aafcf1445513c7644e763a2986d88f
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