fireworks-open-eli5 README

The project's README from github.com/yizhiyanhua-ai/fireworks-open-eli5. As one markdown file: README.md.

Fireworks Open ELI5 owl

Fireworks Open ELI5

English · 简体中文

An open, portable Agent Skill for turning difficult systems into truthful, interactive visual stories. It compiles a versioned JSON story spec into one deterministic, self-contained HTML file that works offline.

The project combines an ELI5 layer with inspectable technical truth: readers can follow a real request or event through the system, inspect the evidence behind each conclusion, explore failure behavior, annotate scenes, and export the result without sending source material to a remote runtime.

Agent architecture explainer with a source-backed scene

A generated Chinese scene showing the graph, local actions, and conclusion-level evidence together.

Why it is different

Requirements

The installer and the installed Skill have separate requirements. The [email protected] CLI used by the release canary requires Node.js 22.20 or newer; the installed Skill still runs on Node.js 18 or newer. Installation needs one-time access to the public GitHub repository; the npx route also needs the npm registry. A public install needs no GitHub account or token.

Install

Paste one of these requests into your agent. It should inspect SKILL.md, refuse to overwrite an existing installation without permission, and report the final location.

Codex

Install the fireworks-open-eli5 Agent Skill globally from https://github.com/yizhiyanhua-ai/fireworks-open-eli5 using Codex's Skill installer. The repository root (.) is the Skill directory and its installed name must be fireworks-open-eli5. Review SKILL.md first, do not replace an existing copy without asking, verify the installed path, and tell me whether I need a new Codex task before using it.

Claude Code

Install the fireworks-open-eli5 Agent Skill globally for Claude Code from https://github.com/yizhiyanhua-ai/fireworks-open-eli5. Review SKILL.md first, use the Agent Skills CLI when available, and do not replace an existing copy without asking. If the installer requirement is not met, report it without changing my Node.js installation. Verify that Claude Code can discover the Skill and report the installed path.

Install with npx

The open Agent Skills CLI supports both Codex and Claude Code:

# Codex
npx skills@latest add yizhiyanhua-ai/fireworks-open-eli5 -g -a codex -y

# Claude Code
npx skills@latest add yizhiyanhua-ai/fireworks-open-eli5 -g -a claude-code -y

# Both agents
npx skills@latest add yizhiyanhua-ai/fireworks-open-eli5 -g -a codex -a claude-code -y

-g installs at user scope. Remove it for a project-local installation. Check the result with npx skills@latest list -g --json, then start a fresh agent task so the Skill is rediscovered. Review Skills before using them: they run with the permissions of the host agent.

Quick start

node scripts/validate.mjs assets/example-spec.json
node scripts/render.mjs assets/example-spec.json example.html
node scripts/validate.mjs assets/example-spec.json example.html

The commands print compact JSON and exit nonzero on failure. Rendering is create-only by default. Use --force only to intentionally replace a known regular file; symbolic links are always rejected.

Run the complete contributor and distribution gate:

npm run check

This checks JavaScript syntax, focused tests, the canonical example, release package contents, and a render/validate canary from an unpacked archive.

On Node.js 22.20 or newer, also exercise an isolated Codex and Claude Code installation through the pinned Agent Skills CLI release:

npm run check:agent-install

Use as an Agent Skill

After installation, ask for an evidence-aware visual explanation, for example:

Explain how one queued job moves through this repository. Cite real files, let me play the request path, and show what breaks when the lease expires.

Read SKILL.md for the agent workflow and references/spec-contract.md for the version 1 story spec.

Story pipeline

question + audience + evidence
            │
            ▼
  versioned JSON story spec
            │ validate
            ▼
 deterministic HTML renderer
            │
            ├── offline interactive explainer
            ├── print / PDF
            ├── current-scene PNG
            ├── all-scene PPTX
            ├── Pages-compatible DOCX
            └── optional native Pages conversion

The JSON spec is the portable source of truth. The HTML contains its canonical SHA-256, and the validator can byte-compare a supplied spec against a fresh deterministic render.

Reader workspace

Every explainer has a directory drawer. Favorites appear first, followed by independent tabs for the current outline, previously opened explainers, and annotation browsing. A reader can play, favorite, annotate, or export one scene without starting the global trace.

The local library is disabled until the reader selects Enable local library. It records only explainers actually opened at the same scheme, host, and port; it never scans the filesystem. Favorites and annotations are browser-local, unencrypted, and removed when that origin's browser data is cleared. They never modify the source JSON or generated HTML. file:// and unavailable storage degrade to an in-memory session.

See references/library-and-export.md for the persistence, privacy, accessibility, playback, and export contract.

Export

Action Result Verification boundary
Print / PDF Browser print dialog The reader chooses Save as PDF when available
PNG 1600×900 image of the selected scene PNG signature, dimensions, and scene evidence footer
PPTX One 16:9 slide per scene ZIP signature and required OOXML parts
DOCX One 16:9 page per scene ZIP signature and required OOXML parts
Native Pages A real .pages package saved by Apple Pages Must contain Index/Document.iwa and reopen in Pages

PNG, PPTX, and DOCX are built locally in the browser without third-party libraries. Native Pages conversion is never faked by renaming a DOCX. Serve a trusted explainer directory with:

node scripts/serve.mjs --root /absolute/path/to/explainers --port 8772

The helper binds only to 127.0.0.1, verifies exact origin and a rotating process token, bounds and validates the generated DOCX/PNG structure, serializes conversion, and cleans task-specific temporary files. These controls protect the browser action from cross-site requests; they are not authentication against other local processes.

Security and privacy

The renderer reads local files and writes one local file. Generated HTML uses a hash-whitelisted Content Security Policy, embeds no remote resources, and contains no XHR, WebSocket, eval, or HTML-string DOM insertion. Its only connection is a user-initiated same-origin request to the optional loopback Pages helper. Cited HTTP(S) URLs are ordinary reader-facing links, never runtime dependencies.

Annotations are capped and inserted as text. The validator rejects unsafe source URLs, external resources, runtime tampering, spec-hash drift, and unexpected CSP hashes. See SECURITY.md to report a vulnerability.

Project map

Contributing

Read CONTRIBUTING.md, then run:

npm run check

The release package uses an explicit allowlist and keeps private: true to prevent accidental npm publication. This repository is intended to distribute an Agent Skill, not an npm runtime library.

License and attribution

Apache-2.0. See LICENSE and NOTICE.

Fireworks Open ELI5 is an independent implementation inspired by the Anthropic community eli5 skill and is not endorsed by Anthropic.

fireworks-open-eli5 (yizhiyanhua-ai/fireworks-open-eli5)

Searching Database…

这是什么?Fireworks Open ELI5 是一个面向 Codex 和 Claude Code 的 Agent Skill,能把复杂系统变成有依据、可交互的可视化讲解。它把带版本号的 JSON 故事规范编译成一个确定性的、自包含的离线 HTML 文件。
这是独立应用,还是要装进 AI 代理的东西?它是一个要安装到 Codex 或 Claude Code 中的 Agent Skill,不是独立应用,也不是 npm 运行时库。
怎么安装到 Codex 或 Claude Code 里?推荐做法是在你的代理里粘贴一段自然语言安装请求,让它安装 fireworks-open-eli5 这个 Agent Skill;它会检查 SKILL.md 并报告安装路径。也可以通过 npx 用开放的 Agent Skills CLI 安装,加 -g 表示全局安装。
除了 Node.js 使用它还需要别的吗?只需要 Node.js 18 或更新版本和本地文件访问;渲染不需要任何 npm 包依赖、Python 运行时、远程字体或网络访问。
原生 .pages 导出在什么操作系统上都能用吗?不能。经过验证的原生 .pages 转换需要 macOS、Apple Pages 和自带的本地回环辅助程序。PDF、PNG、PPTX 和 DOCX 导出则在任何地方的浏览器里都能用。
生成的讲解页面不联网也能看吗?可以。输出是单个自包含的 HTML 文件,不含任何远程资源,专为完全离线渲染和阅读而设计。
我的数据或原始材料会离开我的电脑吗?不会。生成的 HTML 不内嵌任何远程资源,也没有 XHR、WebSocket、eval 或网络调用;它唯一的对外连接是一个可选的、由用户主动发起的对本地 Pages 辅助程序的同源请求。
Truth Ladder 是什么?它是该项目用来在每个场景内区分类比、技术机制和注意事项的结构,让读者在得到简单解释的同时,也接触到严谨的技术真相。
它能生成哪些故事类型?支持四种故事文法:概念、仓库模块、工程权衡和事故复盘,每种都有自己的摘要视图和语义校验器。
有哪些导出格式?讲解页面可以导出为 PDF(浏览器打印)、场景 PNG、包含全部场景的 PPTX、与 Pages 兼容的 DOCX,以及在 macOS 上可选验证的原生 .pages 文件。
它会记住我读过哪些内容吗?有一个可选加入的本地库,只记录你在该源(origin)的浏览器里实际打开过的讲解页面;它不加密,清除该站点的浏览器数据时会一并清除。
Size
0.6 MB
Stars
189
Updated
CommitAug 24
Age
1mo
Commits · 90 Days