Package Exports
- @cyber-dash-tech/revela
Readme
Revela
English | 中文
Revela works from OpenCode and Codex to turn source materials, research, data, and intent into trusted, traceable, presentation-ready decision artifacts.
Its deck-first workspace reviews local materials, saves source-linked research, builds an explicit deck-plan.md, generates HTML decks, reviews them, and exports PDF/PPTX/PNG artifacts.
Install
OpenCode
Install Revela through opencode.json with the npm package @cyber-dash-tech/revela:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@cyber-dash-tech/revela"]
}Restart OpenCode.
To install globally, add the same entry to ~/.config/opencode/opencode.json.
Codex
Requirements:
- The Codex CLI must be installed and the
codexcommand must be available in your shell. - Your environment must be able to run
npx; Revela usesnpx -y @cyber-dash-tech/revela@0.18.11 mcpto start the MCP server. - For interactive Review Apply actions,
codex execmust also work because the Review UI uses it after saved comments are applied.
Optional preflight:
codex --version
codex exec --help
npx --versionIf npx fails 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.18.11
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 for the first time, it runs npx -y @cyber-dash-tech/revela@0.18.11 mcp so npm can fetch the published package and its dependencies.
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 nine 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 decks/*.html from an existing plan, revela-review for the Review UI, 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 and starts the MCP server through npx, matching the published Codex 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 npm pin 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 pin.
Built-In Designs
Revela includes built-in deck designs:
summit
monet
starter is the clean default presentation style.
Switch designs with:
/revela design --use summitIn 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 domainIn 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, use consulting as the domain.- Choose the deck design before rendering so generated artifacts use the intended visual language.
revela, use summit as the design.- Create a custom design when you want a different visual direction.
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 and validates the design. When it is ready, switch to it:
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, help me init this workspace from the local materials.- Research source-linked deck inputs and save findings.
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, create or update the deck plan before generating HTML.- Make an HTML deck from the current deck plan.
revela, make the deck from the current deck plan.- Review the generated deck for Artifact QA and targeted edits.
revela, review the generated deck.- Export a PDF after deck QA passes.
revela, export the deck to PDF.- Export an editable PPTX after deck QA passes.
revela, export the deck to PPTX.- Export per-slide PNG files after deck QA passes.
revela, export the deck to PNG.Review A Deck
Use Review after generating an HTML deck:
/revela review --deckReview opens a local deck workspace for QA and targeted edits:
- Comment lets you request targeted edits on the deck, such as layout, copy, hierarchy, spacing, or visual changes.