Omh model compression

From rlaope/oh-my-hermes · View interactive version

Omh model compression is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [omh] Making a model smaller or cheaper via its weights.

How to use this skill

Skill file

Model Compression

This is an OMH model-compression workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

model-compression exists because making a model smaller had no owner: omh-inference-serving chooses an engine and the quantized format to serve, and omh-model-finetuning trains for new behavior, while producing the smaller weights and proving they still do the person's task fell between them, and perplexity was the only number anyone checked.

First Steps

Do Not Use When

Examples

Good example:

Bad example:

Completion Checklist

Recovery Notes

When to Use

Use when a model's weights must get smaller or cheaper to fit a memory budget or cheaper hardware: post-training or quantization-aware quantization, structured or unstructured pruning, or distillation into a smaller student, gated by a comparison with the uncompressed baseline on the person's own task eval; OMH compresses nothing and runs no eval.

Strong routing signals: model-compression, model compression, compress this model, compress the model, compress a model, compress our model, compress my model, quantize this model, quantize the model, quantize a model, quantize our model, quantize my model, prune this model, prune the model, prune a model, prune our model, prune my model, distill this model, distill the model, distill a model, distill our model, distill my model, make this model smaller, make the model smaller, structured pruning, unstructured pruning, weight pruning, magnitude pruning, 4-bit quantization, 8-bit quantization, into a smaller model, knowledge distillation, post-training quantization, quantization-aware training, model quantization, quantized model, int8 quantization, fp8 quantization, gptq, awq, bitsandbytes, model pruning, sparsegpt, model distillation, smaller student model, 모델 양자화, 모델 증류, 모델 프루닝, 모델 가지치기, 양자화 인식 학습

Catalog Metadata

Category: planning

Phase: model-compression

Quality tier: baseline-comparison-gated

Reasoning demand: standard

Quality bar:

Required inputs:

Expected outputs:

Artifact expectations:

Safety rules:

Runtime Evidence

Use the current host's own tools and subagent/task mechanism when available;

otherwise run the same lanes sequentially or name the unavailable capability.

A prepared plan, handoff, checklist, or skill installation is not execution,

review, CI, merge-readiness, or merge evidence. Record actual tool results, or

not_observed / not_available, in the record; never invent dispatch or host

accounting.

Treat supplied context as advisory, not proof of hidden memory reads or writes.

State scope, constraints, verification, and the stop condition before work.

Reply in the user's own words and the host's own voice: the host's persona owns

reply language, tone, speech level, and sentence endings, progress updates

included (where it sets no language, use the one the user wrote in), and OMH

shapes structure and content only; OMH's record terms

(surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in

records and tool calls, never in the sentence the user reads unless they ask

about one; and when a real unresolved user decision or a useful briefing discussion

remains, offer one specific, content-linked question. Completed work needs no question;

omit unrelated non-action footers and generic offers to continue.

Supporting paths are relative to this skill directory; sibling skill paths are

relative to its parent. Resolve them from the host-provided skill base directory

({baseDir} on hosts that provide it), never a hardcoded install location.

A named workflow not installed here is unavailable, not permission to emulate

its host-specific capabilities. Verify through the real surface before done.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.