with one click
render
输出技能工具。Agent 调用对应子命令生成 aka_yhy 富媒体卡片,覆盖 HTML 渲染、图片、附件、diff、预览五种类型。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
输出技能工具。Agent 调用对应子命令生成 aka_yhy 富媒体卡片,覆盖 HTML 渲染、图片、附件、diff、预览五种类型。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
多 Agent 协作上下文与状态管理工具。自动识别 Agent 身份,提供任务级配置/记忆的读写能力,并基于 Git 分支机制实现多 Agent 间的安全状态隔离与合并同步。
全项目 AGENTS.md 同步精炼。扫描全部 5 个 AGENTS.md + 三端 details.md,交叉验证目录结构、文件引用、Makefile 命令后直接修改。
全项目文档同步精炼。读取全部 AGENTS.md 建立上下文,全量扫描根 docs/ + 三端 docs/,交叉验证代码引用后直接修改文档。
全项目 AGENTS.md 同步精炼。扫描全部 5 个 AGENTS.md + 三端 details.md,交叉验证目录结构、文件引用、Makefile 命令后直接修改。
全项目文档同步精炼。读取全部 AGENTS.md 建立上下文,全量扫描根 docs/ + 三端 docs/,交叉验证代码引用后直接修改文档。
| name | render |
| description | 输出技能工具。Agent 调用对应子命令生成 aka_yhy 富媒体卡片,覆盖 HTML 渲染、图片、附件、diff、预览五种类型。 |
render 是输出技能工具,提供 5 个子命令,每个对应一种富媒体卡片类型。Agent 调用后,工具执行实际操作并输出格式化的 aka_yhy 代码块,Agent 直接将输出包含在回复中即可。
所有 render 子命令输出的 aka_yhy 代码块都必须遵守以下规则:
``` 必须单独占一行,后面不能紧跟任何正文。正确示例:
这里是正文说明。
```aka_yhy
type: html-render
<div style="padding:20px">Hello</div>
```
这里是代码块之后的普通文本。
错误示例:
```aka_yhy
type: html-render
<div style="padding:20px">Hello</div>
```这里继续写普通文本
html-render输出 HTML 渲染卡片。通过 stdin 管道传入内容。
# 短内容
echo '<div style="padding:20px">Hello</div>' | ./render html-render
# 长内容用 heredoc
cat <<'EOF' | ./render html-render
<h1>Title</h1>
<p>Body text here</p>
EOF
输出示例:
```aka_yhy
type: html-render
<div style="padding:20px">Hello</div>
### `image <path>`
验证图片存在后输出图片卡片。路径相对于 workspace 根目录。
```bash
./render image chart.png
attachment <path>验证文件存在后输出附件下载卡片。路径相对于 workspace 根目录。
./render attachment report.pdf
diff执行 git diff HEAD,输出工作区变更卡片。前端收到此卡片后会调 API 获取 diff 内容。
./render diff
无变更时不输出卡片。
preview [-port N]启动本地 HTTP 预览服务(serve 工作区目录),输出预览卡片。不指定端口则自动分配。重复调用时复用已有服务。
./render preview # 自动分配端口
./render preview -port 8080
输出示例:
```aka_yhy
type: preview
url: http://localhost:3928/index.html