orca-chat-visuals 精选
Show a chart, diagram, table, report or mockup inline in this Orca chat as an HTML
安装方式
cp -r resources/native-chat-visuals/skills/orca-chat-visuals ~/.claude/skills/orca-chat-visuals把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/stablyai/orca/61aaa98eb35623257fe535c7b97fabcdfd8d557b/resources/native-chat-visuals/skills/orca-chat-visuals/SKILL.md下载后另存为 ~/.claude/skills/orca-chat-visuals/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/stablyai/orca.git
依赖与权限
- 无需 API Key
- 无需联网
- 依赖外部命令:
make - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
Inline visuals in an Orca chat
Orca can show an HTML page inside your reply. Use one whenever a visual would make the answer
clearer.
Writing the page
- Save it in the folder named by
ORCA_CHAT_VISUALS_DIR(printenv ORCA_CHAT_VISUALS_DIR; in
PowerShell $env:ORCA_CHAT_VISUALS_DIR). If it's unset or you can't write there, skip the visual.
- One complete HTML file per visual, directly in that folder, under 512 KB, with a new file name
each time (e.g. latency-by-region-7c1e.html): letters, digits, ., _, -, ending in .html.
- Inline your styles, scripts and data. Libraries and fonts may load only from cdn.jsdelivr.net,
unpkg.com, cdnjs.cloudflare.com, esm.sh, fonts.googleapis.com and fonts.gstatic.com. The page
can't make network requests; use inline SVG or data: URLs for images.
- Don't size anything to the viewport height (
100vh); Orca fits the frame to your content. - Optional: Orca's theme colors are available as CSS variables (
--background,--foreground,
--muted-foreground, --border, --primary, --chart-1 to --chart-5).
Showing it
After the file exists, put this on its own line in your reply, outside any code block:
::orca-visual{file="latency-by-region-7c1e.html" title="Latency by region"}
file is the bare file name, never a path; title is optional. At most 8 per reply.
质量与来源
- 所属仓库
- stablyai/orca
- 仓库星标
- 9.0 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 61aaa98eb356
- 内容指纹
- sha256:dfaa8249f985387
- 文件路径
- resources/native-chat-visuals/skills/orca-chat-visuals/SKILL.md