Install
openclaw skills install @miaoshou.dev/miao-vision-skillCreate a self-contained Miao Vision artifact when the user explicitly invokes $miao-vision and supplies an article URL or local Markdown/text for an infographic, or local Markdown/text and optional CSV, TSV, XLSX, or JSON data for an HTML/PDF report or browser deck. Also validate a user-supplied Mia
openclaw skills install @miaoshou.dev/miao-vision-skillUse Miao Vision for local-first article infographics, data reports, browser decks, recurring reports, and Miao Vision spec validation.
Proceed only after the user explicitly invokes $miao-vision for a supported artifact. Choose the initial route below:
| Request | Read exactly one workflow |
|---|---|
| Article URL, Markdown, or long-form text to infographic | references/article.md |
| Local CSV/TSV/XLSX/JSON to report, static dashboard, findings artifact, recurring report, business-scene report, executive summary, report edit, multi-file merge, or PNG/PDF export | references/report.md |
| Browser-based HTML/PDF slides, deck, or briefing from local Markdown/text, structured data, or both | references/deck.md |
| Local tabular data with a materially ambiguous artifact form, or an explicit plan-first request | references/outcome-brief.md, then the workflow selected by its V2 Plan |
| Report or deck spec validation | The matching report or deck workflow above |
Do not use this skill for text-only work, raster-image generation, native .pptx, live dashboards, remote databases, or remote datasets. Ask one concise question only when the deliverable or whether a dashboard is static versus live is materially ambiguous.
Resolve the executable only after selecting a workflow. Prefer $MIAO_VISION_HOME/bin/miao-viz when MIAO_VISION_HOME is set, then ~/.miao-vision/bin/miao-viz, then a compatible miao-viz on PATH. A skill-local bin/miao-viz is a temporary legacy fallback only. Run scripts/check-miao-viz.mjs --print-path to resolve and lock the executable for the task. If installation is required, request approval before running the platform installer in scripts/, then verify the returned absolute path:
~/.miao-vision/bin/miao-viz --version
~/.miao-vision/bin/miao-viz spec catalog
Use the same executable throughout the task. In workflow examples, miao-viz means that resolved executable.
If installation or the first Report workflow fails, use the single diagnostic entry point before guessing at fixes:
miao-viz diagnose --host codex --input /absolute/path/to/data.csv --output /absolute/path/to/output
The JSON result reports the executable, versions, host/plugin status, input readability, output
writeability, stable error code, safe retry flag, and next action. It never prints input contents,
tokens, secrets, or environment values. A PDF-specific check can be requested with --pdf.
miao-vision directory in the operating system's native temporary directory. Resolve that directory with the host runtime instead of hardcoding /tmp; on Windows use the system temp location, and on macOS/Linux use their native temp location../miao-vision/artifacts/{artifact-slug}-{YYYYMMDD-HHmmss}/, resolved from the task's initial working directory. Derive the slug from the artifact title or kind, normalize it for macOS, Windows, and Linux filename rules, and keep every requested format plus its preview together in that directory.{system-temp}/miao-vision/artifacts/{artifact-slug}-{YYYYMMDD-HHmmss}/ and disclose the fallback path. Never silently switch locations, reuse an existing delivery directory, or treat an intermediate file as the formal deliverable.SYSTEM_TEMP in this documentation are notation, not CLI variables. Resolve them to absolute or working-directory-relative literal paths before invoking miao-viz; never pass placeholder tokens or angle brackets to the CLI.skills/miao-vision/ as the source skill; refresh generated copies through repository build or pack commands.references/outcome-brief.md, construct a minimal Draft Brief without showing a field form, and follow the returned nextAction../miao-vision/outcome-memory.json from the task's initial working directory when it already exists. Pass it explicitly with --memory; never search parent directories or create it from inferred/default values.artifact instantiate, run artifact validate with the same Plan, Context, local data, and generated Spec. Render only when its Artifact Verification is verified with renderReadiness.ready=true.needs_repair, apply only the returned repair hints, then create a fresh Verification. For blocked, stop; never enter a Renderer or guess a fallback.artifact memory; never persist raw requests, questions, decisions, periods, data, evidence, or paths. Never persist values inferred by the agent, Source Hints, or product defaults.artifact memory update --confirm. A refusal affects only persistence; continue the current task normally.artifact memory forget --confirm. Without --field, this clears all project preferences.value.delivery when a successful render or recurring update returns it. Do not reread the full HTML or PDF to summarize the artifact.artifacts.preview when the client supports local images, and link artifacts.primary as the formal deliverable.summary.metrics, two summary.highlights, and three actions. Use only the values present in the manifest; never supplement them from memory or metricCandidates.needs_review as verified, or restricted as safe to share. Say that preview generation failed without withholding a successfully generated primary artifact.After selecting references/report.md, route report requests as follows:
spec scene instantiate; use Scene → Template → Block → manual Spec fallback order.spec summary instantiate and retain its provenance sidecar.spec diff, then validate with --patch-hints --verify --strict.report update, inspect changes.json, and report comparable and non-comparable changes.--inputs; add --field-map only for explicit source-to-canonical field mappings.--format png; use PDF for print/archive and HTML as the default.catalog.interactions, instantiate a recommended preset, choose an explicit dataPolicy, and require --trusted validation and rendering with shareSafe: true before delivery.Never infer business metric mappings after SCENE_NOT_APPLICABLE, ignore notComparable
period changes, or add evidence absent from the source context.