Package Exports
- @cyber-dash-tech/revela
Readme
Revela
English | 中文
Revela is a Codex plugin for turning source materials, research, data, and intent into trusted, traceable, presentation-ready decision artifacts.
In your local workspace, Revela reviews materials, saves source-linked research, builds an explicit deck-plan.md, generates HTML decks, surfaces them as Codex Browser website cards for annotation, and exports PDF/PPTX/PNG artifacts.
Install
Codex
Requirements:
- The Codex CLI must be installed and the
codexcommand must be available in your shell. - Your environment must be able to run
bun; Revela usesbun ./mcp/revela-server.tsfrom the installed Codex plugin cache to start the MCP server.
Optional preflight:
codex --version
codex exec --help
bun --versionIf npm package checks fail with an npm cache permission error, repair the cache ownership or use a writable cache for local checks:
sudo chown -R "$(id -u):$(id -g)" ~/.npm
npm_config_cache=/tmp/revela-npm-cache bun run smoke:mcp-packInstall Revela through the Codex Git marketplace:
codex plugin marketplace add https://github.com/cyber-dash-tech/revela --ref v0.19.0
codex plugin add revela@revelaThe Git marketplace install provides the Codex plugin shell, skills, hooks, and MCP configuration. When Codex starts the Revela MCP server, it runs bun ./mcp/revela-server.ts from the installed plugin cache and resolves the checked-out marketplace runtime.
You do not need to run bun install inside the Codex marketplace clone.
Start a new Codex thread after installing so Codex loads the Revela skills, MCP tools, and hooks.
Codex uses eight Revela skills: revela for routing the next workflow step, revela-spec for writing root-level spec.md, revela-helper for status and active design/domain, revela-design for custom design creation/validation/activation, revela-domain for custom narrative domain creation/validation/activation, revela-research for local and web research saved under researches/ plus the design-aware deck-plan.md handoff, revela-make-deck for generating HTML deck artifacts from an existing plan and surfacing the QA-passed deck as a Codex Browser website card, and revela-export for PDF/PPTX/PNG.
For release-aligned local validation, run bun run smoke:mcp-pack. It packs the current checkout to a temporary npm tarball, extracts it, and starts the MCP server through the packaged Codex plugin launcher path without requiring a registry publish.
Codex Upgrade
In Codex, ask Revela to check the current runtime version; the plugin calls revela_doctor and reports the running version.
For a fixed release tag, reinstall the plugin from that tag:
codex plugin remove revela@revela
codex plugin marketplace remove revela
codex plugin marketplace add https://github.com/cyber-dash-tech/revela --ref vX.Y.Z
codex plugin add revela@revelaFor a marketplace entry that intentionally tracks a branch or movable ref, upgrade the marketplace clone and re-add the plugin:
codex plugin marketplace upgrade revela
codex plugin add revela@revelaThe Git marketplace ref and .mcp.json plugin launcher are part of the same release artifact. Start a new Codex thread after upgrading so Codex reloads the Revela skills, MCP tools, hooks, and runtime launcher.
Built-In Designs
Revela includes built-in deck designs. Design previews are generated from the built-in page-template preview fixture plus the selected design CSS. Each row shows a cover plus representative template pages chosen to highlight that design's character.
starter
summit
monet
lucent
lucent-dark
To switch designs in Codex, ask:
$revela:revela, use summit as the design.
In Codex, ask Revela to list or switch designs; the plugin uses the active design when making decks.
Domains
Domains add topic-specific communication guidance, such as consulting, product, or investor communication. Use them when you want Revela to adapt deck framing to a specific context.
$revela:revela, list available domains.
In Codex, ask Revela to list or switch domains; the active domain guides deck framing during init, research, and planning.
Quick Start
Use these prompts in Codex from the workspace that contains your source materials.
- Choose the narrative domain before authoring so Revela frames the audience, decision, risks, and objections for your context.
$revela:revela, use consulting as the domain.
- Choose the deck design before rendering so generated artifacts use the intended visual language.
$revela:revela, use summit as the design.
- Create a custom design when you want a different visual direction.
$revela:revela, create a new design named neon-finance with a crisp financial-dashboard style: dark surfaces, precise grids, and bright green accents.
Revela may ask for references or constraints, then creates a workspace draft with DESIGN.md, design.css, and any local assets/**. It generates a preview from the built-in page-template fixture plus that CSS so you can review cover, agenda, timelines, charts, tables, cards, and visual slots before installing. When it is ready, switch to it:
$revela:revela, use neon-finance as the design.
- Initialize local material intake. Init scans, extracts, and reviews workspace sources; it does not create a Narrative Vault.
$revela:revela, help me init this workspace from the local materials.
- Research source-linked deck inputs and save findings.
$revela:revela, research the public evidence and examples needed for this deck.
- Create or update the deck plan before generating HTML so slide order, chapter structure, source links, unresolved inputs, source limitations, and visual intent are explicit.
$revela:revela, create or update the deck plan before generating HTML.
- Make an HTML deck from the current deck plan.
$revela:revela, make the deck from the current deck plan.
- Review and annotate the generated deck from the website card after make-deck completes.
Use Codex Browser's native annotation tools on the opened HTML deck.
- Export a PDF after deck QA passes.
$revela:revela, export the deck to PDF.
- Export an editable PPTX after deck QA passes.
$revela:revela, export the deck to PPTX.
- Export per-slide PNG files after deck QA passes.
$revela:revela, export the deck to PNG.
Annotate A Deck
After revela-make-deck generates an HTML deck and Artifact QA passes, Codex replies with a website card that opens the deck in Codex Browser. Use the browser's native annotation tools for targeted edits such as layout, copy, hierarchy, spacing, or visual changes.