[path] View a file or browse a directory.
- Research:
- Path
- Review:
- Unresolved reference
- Validate:
- Viewer opens
Quick Ref / Command
Marketing Kit
/ak:preview
Universal viewer and visual generator for files, diagrams, slide decks, HTML explanations, visual diffs, plan reviews, and project recaps.
Choose Operation
Resolve Flags
View or Generate
Load References
Rule 01
Two primary input shapes: a file path for view mode, or a generation flag plus topic for new visuals.
Rule 02
--html composes with explanation, diagram, slides, diff, plan-review, and recap modes, but not terminal-only ASCII.
Rule 03
HTML output is self-contained with all CSS and JS inline and no server requirement.
Rule 04
Review modes gather real diff, plan, git, and codebase context before drawing conclusions.
Core lanes from input to output, aligned with the command's real execution path.
Start
Input, scope, route
Work
Agent / skill execution
Verify
Gate, review, validation
Close
Report, handoff, artifact
Only flags that change the artifact or publish it. Not the full option set.
--html Self-contained HTML
Switch generation output to a single inline HTML file that opens directly in a browser.
Example
/ak:preview --html --diagram "Landing page funnel" --no-editorial-visuals Disable editorial engines
Disable both additive HTML editorial visual engines and use fallback rendering.
Example
/ak:preview --html --diagram "Launch flow" --no-editorial-visuals --no-antv Disable AntV Infographic
Disable only the AntV Infographic layer while leaving other eligible visual engines available.
Example
/ak:preview --html --recap "last week" --no-antv --no-diagram-design Disable diagram-design
Disable only the diagram-design layer and fall back to Mermaid or Chart.js where appropriate.
Example
/ak:preview --html --diagram "System map" --no-diagram-design [path] View a file or browse a directory.
--explain Generate a visual explanation with prose, ASCII, and Mermaid.
--slides Generate presentation slides, one concept per slide.
--diagram Generate a focused architecture or concept diagram.
--ascii Generate a terminal-friendly ASCII diagram.
--diff [ref] Create a visual diff review; HTML is implied.
--plan-review [plan-file] Compare a plan file against the actual codebase; HTML is implied.
--recap [timeframe] Create a project context snapshot over a timeframe; HTML is implied.
--stop Stop the preview server and exit.
Concrete invocations for each flag, subcommand, mode, or route available in the live workflow.
/ak:preview assets/reports/seo/launch-audit.md /ak:preview--explainHow our referral funnel works
/ak:preview--html--slidesLaunch narrative for investors
/ak:preview--plan-reviewplans/launch-plan.md
/ak:preview--stop
/ak:preview--diagramreferral funnel stages
/ak:preview--asciireferral funnel stages
/ak:preview--diffmain
/ak:preview--recap7d