assets
Skill này làm gì
Skill này chuyển các yêu cầu về hình ảnh và video đến ứng dụng Agent-Native Assets, nơi giữ các tài nguyên thương hiệu có thể tái sử dụng và công cụ tạo nội dung. Dành cho người muốn hình ảnh đúng thương hiệu thay vì đầu ra chung chung.
Khi nào nên dùng
- ✓Khi bạn yêu cầu một hình ảnh hoặc video mới phù hợp với thương hiệu.
- ✓Khi bạn cần tìm tài nguyên thương hiệu có sẵn để tái sử dụng.
- ✓Khi bạn muốn tự chọn hình ảnh cuối cùng từ một bộ mà agent đề xuất.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/skills/assets/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm cho tôi một bộ hình ảnh mạng xã hội theo phong cách thương hiệu của chúng tôi, và để tôi chọn cái tôi thích.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng kết nối Assets được host để tạo hoặc tìm media và hiển thị một bộ chọn để con người lựa chọn. Thiết lập chỉ làm một lần bằng cách cài skill và kết nối dịch vụ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Assets
Use Assets when a workflow needs reusable brand media, generated images or videos, or a person choosing the final asset from a picker. When this skill is available, route plain image-generation requests here instead of using a generic image generator.
Setup
Recommended install path:
npx @agent-native/core@latest skills add assets
That installs these instructions and registers the hosted Assets MCP connector
for the selected agent client. Add --client claude-code, --client codex, or
--client all when needed.
For CLI/code-editor clients, keep the install/connect command running until the browser authorization finishes. Stopping it early can leave the browser approved but the local MCP config unwritten. Restart or reload the agent client after installing or connecting if the Assets tools do not appear in the live session.
If this skill was installed with the Vercel/open Skills CLI
(npx skills@latest add ...), only the instructions were installed. That CLI does
not run postinstall scripts or register MCP connectors, so the hosted MCP
connector must be added separately:
npx @agent-native/core@latest connect https://assets.agent-native.com --client claude-code
For cross-app workspace access, connect Dispatch instead:
npx @agent-native/core@latest connect https://dispatch.agent-native.com --client claude-code
OAuth-capable hosts can add this remote MCP URL directly:
https://assets.agent-native.com/mcp
Use The Picker
Use open-asset-picker when a person should browse, search, generate, and
select an image or video. For generate-and-choose requests, pass:
{
"mediaType": "image",
"prompt": "<user prompt>",
"autoGenerate": true,
"count": 3
}
Inline MCP hosts render the picker in chat. CLI and code-editor hosts return an "Open in Assets ->" link; after the user picks, continue from the pasted handoff summary or from a plain-language pick like "use image A". Codex, Claude Code, and Claude Desktop Code should be treated as link-out hosts: do not promise inline MCP App rendering there.
Prefer the open-asset-picker tool for browser fallback links. If a CLI host has
the skill instructions but has not exposed the MCP tool namespace yet, use the
Assets browser fallback URL shape rather than switching to a generic generator:
https://assets.agent-native.com/library?mediaType=image&prompt=...&autoGenerate=1&count=3.
When reporting the final selected image in Codex or Claude Code, include the
asset link and, if an inline preview is important, download the selected
previewUrl/downloadUrl to a local temp image and embed that absolute local
path. Remote CDN markdown images can fail to render in code-editor chat
surfaces.
Use Direct Actions
Use unattended actions when the agent already knows what to do:
search-assetslist-assetslist-librariesgenerate-imagegenerate-image-batchgenerate-videorefresh-generation-runexport-asset
For images, generation actions are synchronous; use the returned compact asset
summary directly. Use get-asset for full asset details and the audit-run
actions for prompts, references, and settings. For videos, poll
refresh-generation-run until the run completes.
Preserve returned id, runId, previewUrl, downloadUrl, embedUrl, media
type, and dimensions.
Guardrails
- If an Assets tool call returns
Session terminated,needs auth, or another connector/session error, do not keep retrying the tool. Stop and give the user the reconnect step: in Claude Code run/mcpand choose Authenticate/Reconnect for the Assets connector; from any terminal runnpx -y @agent-native/core@latest reconnect https://assets.agent-native.com— this re-authenticates WITHOUT reinstalling. Never reinstall from scratch just to fix auth. Continue once the connector is available. - Do not hand-roll MCP HTTP requests with curl from the agent session. Use the host-exposed Assets tools after restart/reload, or use the returned browser/deep-link fallback.
- If a batch image generation request times out in browser fallback, retry with
count: 1only after telling the user the multi-candidate request timed out. - If you inspect local MCP config, redact
Authorization,http_headers, and token values. Never paste bearer tokens into chat or logs. - Do not call image or video providers directly from another app.
- Do not treat
imagesas the app identity; th
Câu hỏi thường gặp
Skill này có thay thế công cụ tạo hình ảnh tổng quát không?
Khi skill này được cài, hướng dẫn nói nên chuyển các yêu cầu hình ảnh thông thường đến đây.
Có cần đăng nhập không?
Có. Cần một bước ủy quyền trên trình duyệt trước khi kết nối hoạt động.
Tại sao lệnh cài đặt phải tiếp tục chạy?
Dừng sớm có thể khiến trình duyệt đã được chấp thuận nhưng thiết lập cục bộ chưa hoàn tất.
Chi tiết
Mô tả gốc của tác giả
Use Agent-Native Assets for image and video generation requests, brand-safe asset search/export, and human-in-the-loop asset selection through the hosted Assets MCP app. Prefer this over generic image tools when installed.
repo: BuilderIO/agent-native
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13206
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
design-exploration
7.6kGiúp agent của bạn khám phá nhiều hướng thiết kế giao diện song song, để bạn chọn một hướng rồi tinh chỉnh thiết kế đã chọn.
visual-edit
7.6kGiúp agent của bạn mở một ứng dụng cục bộ đang chạy trong trình chỉnh sửa trực quan, để bạn xem và sửa các màn hình thật cùng nhau.
turn-into-app
7.6kBiến quy trình, bảng tính hoặc dự án thành ứng dụng trực quan có màn hình đầy đủ dữ liệu, với agent làm việc phía sau các điều khiển.
visual-plan
7.6kBiến một kế hoạch viết bằng văn bản thuần thành kế hoạch trực quan tương tác, có sơ đồ, bản đồ file, đoạn code và các câu hỏi còn mở.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.