Skip to main content

tmp-use

Build real shell commands from waz Token Model Protocol (TMP) schemas instead of guessing flags. Use whenever the user wants to run, fill, or generate a cargo/git/npm/docker/kubectl (or any schema-backed) command. Prefer waz MCP tools over inventing argv.

Datos de origen

Repositorio
codeitlikemiley/waz
Última actividad en el origen
20 de agosto de 2026 a las 13:27
Idioma detectado de SKILL.md
inglés
Estrellas
14
Forks
1

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
tmp-use
description
Build real shell commands from waz Token Model Protocol (TMP) schemas instead of guessing flags. Use whenever the user wants to run, fill, or generate a cargo/git/npm/docker/kubectl (or any schema-backed) command. Prefer waz MCP tools over inventing argv.
# Use waz TMP instead of guessing Waz stores **verified command shapes** (binary + tokens + live values) in TMP schemas. Agents MUST assemble commands from those schemas. ## Workflow 1. `waz_tmp_list` with the user's cwd and a short query (`cargo`, `git`, `docker`). 2. Pick the exact `command` string from the list (e.g. `cargo run`, `git commit`). 3. `waz_tmp_show` for that command to see tokens and resolved values. Pass `file` (and `line`) when the user has a focused file so cargo bin/example can prefill. 4. `waz_tmp_build` with `--set name=value` pairs (or `waz_resolve` for natural language). Same `file`/`line`. 5. Return the `argv` string. Do not invent flags that were not in the schema. If the tool is missing from the list, call `waz_generate` and **wait until it finishes** (`wait` defaults to true). Then retry list/show. Do not call `waz_tmp_list` immediately after a background generate (`wait=false`) — poll `waz_generate_status` with `wait=true` (or `waz generate --wait --job <id>`) until `done` or `error`. Do not hand-write a schema. ## Rules - Never guess `--flag` names for a tool that has a TMP schema. - Never put positionals into the command name; they are tokens. - Prefer resolver-backed values (bins, branches, scripts) from `waz_tmp_show`. - If `waz_tmp_build` errors, fix tokens and retry — do not fall back to a guessed command.
Ver en GitHub