Uzu

From akillness/jeo-skills · View interactive version

Uzu is an AI agent skill from the GitHub repository akillness/jeo-skills. Operate trymirai/uzu, Mirai's Rust-native local inference engine, on supported Apple Silicon or CPU-oriented source targets. Use when a user needs Uzu preflight, the `mirai` CLI, a pinned source checkout, local model acquisition, chat/server operation, benchmarking, or model-license and platform-fit

How to use this skill

Skill file

Uzu operator

When to use this skill

Use this skill for trymirai/uzu operations: host/tool availability checks, the published

mirai CLI, a source checkout pinned to the reviewed commit, local chat or an OpenAI-compatible

server, a local benchmark, and model-resource/license decisions. It is not a generic local-LLM

router. If the request names llama.cpp or LM Studio, route to that product's skill; if it asks

for arbitrary GGUF conversion, route to a conversion-specific skill.

Instructions

  1. Run the side-effect-free helper before choosing a path:

```sh

python3 .agent-skills/uzu/scripts/preflight.py --json

```

From an installed skill root, use:

```sh

python3 "$SKILLS_ROOT/uzu/scripts/preflight.py" --json

```

Add --repo PATH --expect-commit d76d468a1898cacc9c4920accf8f5ff099967107 only when a local checkout exists. The helper never runs Rust, Mirai, model, network, or service commands; runtime_verified remains false.

  1. Prefer the published mirai path on Apple Silicon macOS when it is already available and the user has a confirmed model. Otherwise use the source path only with cargo and rustc present, a checkout at the reviewed commit, and explicit approval for any build or download side effects.
  2. Read references/upstream.md for the pinned command, benchmark, target, model/license, and resource matrices before performing that branch. It is the source of truth for exact commands and citations.
  3. Keep source and model actions separate. cargo tools setup can install rustup, uv, pnpm, targets, and Metal tooling; never invoke it as a probe. A first mirai or source-CLI run may download a checkpoint; obtain consent first and review disk/RAM or unified-memory capacity.
  4. Keep serving loopback-bound (127.0.0.1) by default. Check /v1/models before one chat-completions request. Expose another interface only with an explicit secured target and controls.
  5. State platform uncertainty plainly: Apple Silicon macOS is the primary Metal path; Intel macOS, Linux, Windows, WASM, and other non-Apple source targets are CPU-oriented and/or marked in progress. Do not claim CUDA, Linux-GPU acceleration, or production readiness from this preflight.
  6. Treat Uzu's custom model format as a hard boundary. A model card's license applies to its weights; Uzu's MIT source license does not relicense them, and arbitrary GGUF compatibility is not implied.

Examples

Best practices

References

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.