用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/BuilderIO/agent-native --skill a2a-assets命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | a2a-assets |
| description | Use Assets from other apps or MCP hosts to generate, refine, export, and insert brand images or videos. |
Use the Assets MCP tool surface when another app or external host needs brand
imagery, video, or reusable source media and Assets owns the library. Prefer the
pure MCP generate-asset flow for human-in-the-loop generation because it can
return the inline picker. A2A remains useful for unattended cross-app
delegation, but A2A replies cannot render MCP App pickers.
generate-asset with the brief, callerAppId, and
libraryId when known. It will match the library, generate candidates, and
return the Assets picker filtered to the new run IDs.match-library or list-libraries when
the library is ambiguous, then call generate-image-batch with one slot per
destination, such as one hero per slide. Pass source: "a2a" and
callerAppId with the calling app id (slides, design, content,
mail) so the Assets audit log can group cross-agent generations.images entries directly; only regenerate slots that returned
ok: false.list-generation-presets and pass the
matching presetId so output rules travel with the run.sessionId.generate-video and then refresh-generation-run until the run completes.assetId, runId, previewUrl, downloadUrl, and
embedPath exactly.insert-asset after the picker returns a selected asset.refine-image with the prior assetId, source: "a2a",
and the same callerAppId, then replace only the affected destination.Every Assets generation writes an image_generation_runs row with the prompt,
compiled prompt, model, aspect ratio, references, source app, owner, org, status,
error, output assets, and refinement lineage. Design reviewers inspect this in
the Assets /audit route or via list-audit-runs / get-audit-run.
Use same-origin embed fences only when the caller can render the Assets route.
Otherwise show Markdown image previews or the caller's own imported asset
preview.
npx @agent-native/core@latest skills add images (or assets). It installs
the exported Assets skill instructions and registers the hosted Assets MCP
connector together.npx skills@latest add BuilderIO/agent-native --skill assets installs the
exported instructions only.npx @agent-native/core@latest connect
running until browser authorization finishes, restart the client if tools are
not visible, and redact any MCP auth headers or tokens when debugging local
config.generate-asset so Assets
matches the library, generates candidates, and returns the inline picker
filtered to those candidates. Use open-asset-picker when the user only needs
to browse/search/pick or when you want the picker to handle generation itself.