/awsh:model-quantization <model-id-or-path> [-o OUTDIR] [--iters N] [--keep-fp REGEX ...] [--dry-run]from awsh
Quantizes an LLM to 4-bit using AutoRound's RTN method, running on local CPU+GPU. Keeps lm_head/projectors in bf16 and avoids crashes on new architectures.
Ships in awsh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
nvidia-smi --query-gpu=name,memory.total --format=csv,noheader 2>/dev/null || echo "no NVIDIA GPU detected (RTN still works, slower on CPU)"python -c "import auto_round, sys; print(auto_round.__version__)" 2>/dev/null || echo "NOT installed — pip install auto-round"You shrink a large language model to 4-bit so it fits where bf16 won't — on a
smaller GPU, or beside another model on the same card. You drive one tool from
this repo, tools/quantize_model.py, which bakes in the gotchas that otherwise
yield a broken or un-loadable artifact.
The default path (RTN, --iters 0) is weight-only round-to-nearest: no
calibration data, no forward pass, ~<2 GB peak VRAM, ~1 minute. It runs on a
laptop's CPU + GPU together (host-RAM offload), costs nothing, and is the
right choice for most models.
$ARGUMENTS for the source model (HF repo id or local path) and an
output dir. If no model is given, ask which model to quantize.python tools/quantize_model.py <model> --dry-run
The plan shows the scheme (4-bit / group_size 128), the mode (RTN vs
calibrated), the export format, and which modules stay in bf16.python tools/quantize_model.py <model> -o <outdir>
lm_head, embeddings, and multimodal projectors/encoders in
bf16 automatically. For an unusual VLM, add --keep-fp '<regex>' (repeatable)
for any extra module that must stay full-precision.compressed-tensors (llm_compressor) by default — the safe
format when modules are left un-quantized.--iters > 0) when the user explicitly wants
higher quality and has a real GPU. The tool will refuse it on models with
per-layer-type head dims (alternating sliding/global attention) and tell you
to fall back to RTN — that's expected; calibrated mode crashes on those, RTN
doesn't.vllm serve <outdir> --quantization awq_marlin).transformers
and silently downgrades it until a new-arch model won't load.lm_head + multimodal projectors must
stay bf16 or vLLM's loaders reject them. The tool's defaults already do this.auto-round isn't
installed, tell the user pip install auto-round (and torch transformers).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aitherium/awdk --plugin awsh120 skills in this plugin
/acp-driveDrive any external ACP agent from your agent. The Agent Client Protocol lets one agent drive another. When your task needs a different model, a different tool surface, or a sandbox your loop doesn't have, you can hand a sub-problem to an external ACP agent — Claude Code (claude-agent-acp), Codex (codex-acp), Gemini CLI (gemini-cli), or any binary that speaks ACP on stdio — and read back its answer. Your memory, faculties and approval gate stay in charge; the external agent runs its own loop underneath./acp-serveExpose an AitherOS agent to ACP editors. ACP editors — JetBrains IDEs, Zed, VS Code, neovim, Obsidian — drive coding agents over the Agent Client Protocol. adk acp serve makes any AitherOS agent one of those agents: the editor spawns it as a subprocess, and every prompt, permission request and tool round-trip goes over stdio JSON-RPC. Your agent's approval gate maps onto ACP permission requests./adk-deepseek-coderFill-in-the-middle, repo packing, and a reward that can fail. DeepSeek-Coder is two useful things at once, and most people only take the first./adk-harnessesOne shell that drives every coding shell. Your agent can hand a task to another coding agent's real product — Claude Code, Codex, Gemini CLI, Aider, OpenCode — and read back one answer./adk-unslothLocal training and serving, wired to your agent. [Unsloth](https://github.com/unslothai/unsloth) trains LoRA/QLoRA 2x faster with ~70% less VRAM and serves GGUF locally. Pairing it with the ADK gives you a loop that runs entirely on your own hardware: your agent serves from a local model, you fine-tune on what it produced, you swap the adapter, you measure again./adversarial-verificationStop grading your own homework. There is one failure that costs more agent-hours than any bug: the agent reads its own diff, decides it is correct, and reports success. Every expensive incident has that shape. A green healthcheck. An HTTP 200. A passing import. A test that goes green. All true, all at the same time as the feature being completely inert.Other plugins' skills for the same job