
Lavish Axi
- 48 installs
- 2.5k repo stars
- Updated July 31, 2026
- kunchenguid/lavish-axi
This is a copy of lavish by kunchenguid - installs and ranking accrue to the original listing.
lavish-axi is an npx-run CLI and Claude Code skill that turns complex agent responses into interactive HTML artifacts a reviewer annotates in the browser, with feedback long-polled back to the agent.
About
lavish-axi packages the Lavish Editor workflow as a Claude Code skill: instead of answering with long prose, the agent writes an interactive HTML artifact into .lavish/, serves it through a local express.js server with npx -y lavish-axi, then long-polls npx -y lavish-axi poll while the reviewer annotates elements, selects text, and queues prompts in the browser. The 6-step review loop gates itself: browser-reported layout_warnings (overflow, clipped text, overlapping unreadable content) must be fixed before involving the human, replies go back with --agent-reply, and the end command closes the session. Seven playbooks route artifact types - diagram, table, comparison, plan, code, input, and slides - with Mermaid required for flow and architecture diagrams instead of hand-built div/flexbox boxes. Design direction follows a strict 3-step priority: a look the user named, then the subject project's own design system, and only then Tailwind CSS v4 plus DaisyUI v5 via CDN. No global install is needed; every command runs through npx.
- Turns long prose answers into annotatable HTML artifacts served from a local express.js server via npx -y lavish-axi
- Long-poll feedback loop: reviewers annotate elements, select text, and queue prompts right in the browser
- 7 playbooks route artifact types (diagram, table, comparison, plan, code, input, slides); Mermaid handles flows
- Self-check gate: fixes browser-reported layout_warnings (overflow, clipped text) before human review
- 3-step design priority: user-named look, then the project's own design system, then Tailwind CSS v4 + DaisyUI v5
Lavish Axi by the numbers
- 48 all-time installs (skills.sh)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kunchenguid/lavish-axi --skill lavishAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 48 |
|---|---|
| repo stars | ★ 2.5k |
| Last updated | July 31, 2026 |
| Repository | kunchenguid/lavish-axi ↗ |
What it does
Reviewing an agent-produced plan, comparison, diagram, table, or code diff as an annotatable page in the browser, with element-level feedback long-polled back to the agent.
Who is it for?
Developers reviewing agent-produced plans, comparisons, diagrams, tables, or code diffs who want to annotate a rendered page instead of parsing long chat output.
Skip if: Short answers that read fine as chat text, or hosted multi-user review - the express.js server is local and the session lives on the reviewer's machine.
When should I use this skill?
Invoke when about to deliver a plan, comparison, diagram, table, code diff, report, or anything easier to grasp visually than as prose, or when the user runs /lavish explicitly.
What you get
The agent ships an interactive artifact under .lavish/, the reviewer annotates elements and selected text in the browser, and feedback plus layout_warnings return over a long-poll that never loses queued feedback.
- Interactive HTML artifact under .lavish/ in the working directory
- Browser review session with element and selected-text annotations and queued prompts
- Structured reviewer feedback and layout_warnings returned to the agent via long-poll
By the numbers
- 6-step review workflow
- 7 playbooks (diagram, table, comparison, plan, code, input, slides)
- 3-step design-direction priority order
Files
Lavish Editor
Lavish Editor helps agents turn rich HTML artifacts into collaborative human review surfaces. Whenever you are about to give user a complex response that will be easier to understand via a rich / interactive page, consider using Lavish Editor. First generate an interactive HTML artifact according to user request, then run npx -y lavish-axi <html-file> so the user can visually review it, annotate elements or selected text, queue prompts, and send feedback back through npx -y lavish-axi poll.
You do not need lavish-axi installed globally - invoke it with npx -y lavish-axi <html-file>. If lavish-axi output shows a follow-up command starting with lavish-axi, run it as npx -y lavish-axi ... instead.
Request
$ARGUMENTS
If the request above is non-empty, the user invoked /lavish explicitly - build an HTML artifact for that request now, following the workflow below. If it is empty, infer what to visualize from the conversation.
When to use
Use lavish-axi when the user asks for a visual artifact, HTML explainer, interactive prototype, review surface, product or technical plan, comparison, report, or browser-based feedback loop
Workflow
1. Create the HTML artifact (default location .lavish/<name>.html in the working directory). 2. Run npx -y lavish-axi <html-file> to open or resume a review session in the browser. 3. Run npx -y lavish-axi poll <html-file> to long-poll for the user's annotations, queued prompts, and browser-reported layout_warnings. The poll stays silent until the user acts or the real browser reports fresh layout warnings - leave it running, never kill it. If your harness limits how long a foreground command may run, run the poll as a background task; if it gets killed or times out anyway, just re-run it - queued feedback is never lost. 4. If poll returns layout_warnings, fix overflow, clipped text, or overlapping unreadable content and re-check before involving the human. 5. Apply human feedback, then poll again with --agent-reply "<message>" to reply in the browser and keep the loop going. 6. Run npx -y lavish-axi end <html-file> when the review is finished.
Visual guidance
- Use visual hierarchy to make the most important decisions, risks, tradeoffs, and next actions obvious at a glance
- Use visual structure such as sections, cards, tables, diagrams, annotated snippets, and side-by-side comparisons instead of long prose
- Choose typography, spacing, color, and layout deliberately so the artifact has a clear point of view
- Prevent horizontal overflow at every nesting level: nested grid/flex children also need minmax(0, 1fr) tracks and min-width: 0, especially when badges, labels, or status text use wide pixel or monospace fonts; wrap, truncate, or contain long unbreakable text deliberately
Playbooks
Run npx -y lavish-axi playbook <id> for focused, detailed guidance on any of these. One artifact often combines several playbooks (for example a plan that includes a comparison and a diagram), so MUST open each matching playbook before writing HTML. For flows, architecture, state, or sequence diagrams, do not hand-build boxes-and-arrows from div/flexbox; open the diagram playbook and use Mermaid unless SVG is needed for richly annotated nodes.
diagram- Map relationships, flows, state, and architecturetable- Turn dense records into scan-friendly review surfacescomparison- Show options, tradeoffs, and current vs target behaviorplan- Explain a product or technical plan before implementationcode- Render source code, code files, patches, PR diffs, and before/after code inside Lavish artifactsinput- Must be used when the agent needs to collect user input on decisions, choices, preferences, triage, scope, or other structured feedback from within the artifactslides- Create a deliberate presentation when slides are requested
Commands & rules
- Run
npx -y lavish-axi <html-file>to open or resume a Lavish Editor session - Unless the user specifies another location, create HTML artifacts in the current working directory under
.lavish/ - Lavish serves the html file through a local express.js server. If your html needs to reference other filesystem assets such as images, CSS, fonts, and local scripts, copy them into the same directory as the HTML file, then reference them with relative paths from that directory. Never prepend
/to those asset paths - root paths won't work - Run
npx -y lavish-axi poll <html-file>to wait for user feedback or browser-reported layout_warnings. It long-polls and stays silent until the user sends feedback, ends the session, or the real browser reports fresh layout_warnings, so leave it running - never kill it. Fix layout_warnings before involving the human. If your harness limits how long a foreground command may run, run the poll as a background task; if it gets killed or times out anyway, just re-run it - queued feedback is never lost - Run
npx -y lavish-axi end <html-file>to end a session - Run
npx -y lavish-axi stopto shut down the background server (it also self-stops when idle or after the last session ends with nothing connected) - Run
npx -y lavish-axi playbook <playbook_id>for focused artifact guidance. One artifact often combines several playbooks (for example a plan that includes a comparison and a diagram), so MUST open each matching playbook before writing HTML. - Lavish does not auto-inject any design system - artifacts stay portable so they render identically when opened directly without lavish-axi running. Before writing any HTML, decide the design direction in this strict priority order, and only move to the next step when the current one truly yields nothing: (1) if the user asked for a specific look or named design system, use that; (2) otherwise you must first inspect the project the artifact is about - the subject or product whose content or UI it represents, which may differ from your current working directory - and match that project's design system: Tailwind or theme config, shared CSS variables or design tokens, component library, brand assets, or existing styled pages. If the artifact previews, proposes, or mocks a specific app's UI, render it in that app's own design system so it faithfully shows the product, even when you are running in a different repo; (3) only when both steps come up empty, use the Lavish-recommended Tailwind CSS browser runtime v4 + DaisyUI v5, available via CDN - run
npx -y lavish-axi designfor a content-to-playbook router, a copy-pasteable CDN snippet, a Mermaid CDN snippet/init for diagrams, and the DaisyUI component reference, and prefer the Tailwind/DaisyUI CDN snippet over hand-writing styles unless explicitly instructed otherwise by the user. When you deliver the artifact, state which of the three design sources you used and why. - Use lavish-axi when the user asks for a visual artifact, HTML explainer, interactive prototype, review surface, product or technical plan, comparison, report, or browser-based feedback loop
Related skills
How it compares
Unlike screenshot-based review or plain markdown output, lavish-axi keeps review interactive and local: an express.js server serves the HTML and annotations map to specific elements and text ranges.
FAQ
Does lavish-axi need a global install?
No. The skill invokes it as npx -y lavish-axi <html-file>, and any follow-up command it prints is also run through npx -y, so the CLI comes along on demand.
How does reviewer feedback get back to the agent?
The agent runs npx -y lavish-axi poll <html-file>, which long-polls silently until the user sends feedback, ends the session, or the browser reports fresh layout_warnings. If the poll is killed or times out, it is simply re-run - queued feedback is never lost.
What styling do the HTML artifacts use?
Lavish does not auto-inject a design system, so artifacts render identically without lavish-axi running. It picks a direction in strict order: a look the user named, the subject project's design tokens or component library, then Tailwind CSS v4 plus DaisyUI v5 via CDN.