Skip to content
cccskills
FreePublished on GitHub

a2a-assets

Generate, refine, export, and place brand images or videos from an Assets library into another app. The skill covers choosing a library, handling image batches and video runs, and updating selected assets after feedback.

OriginalShow the original description

Use Assets from other apps or MCP hosts to generate, refine, export, and insert brand images or videos.

BuilderIO/agent-native7,522 stars(GitHub 7,522 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Generate brand images for slides or another app
  • Refine an existing asset after feedback
  • Create and export a video asset
  • Insert a selected asset into a design

Files included (1)

  • SKILL.md4.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Assets MCP Tool

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.

Caller Flow

  1. For human selection, call 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.
  2. For unattended A2A-style work, call 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.
  3. Treat image batches as complete when the action returns. Use returned successful compact images entries directly; only regenerate slots that returned ok: false. Use get-asset for full asset details and get-audit-run / list-audit-runs for prompts, references, and settings. A result carrying draftPendingApproval: true means the caller can draft in that kit but not save into it. The image is real and usable — say it is waiting on a kit editor instead of reporting it as saved, and do not retry. Call get-library-access first when you need to know before generating.
  4. For social/blog/diagram slots, call list-generation-presets and pass the matching presetId so output rules travel with the run.
  5. When a human designer needs to continue the work, create or update a generation session and preserve the returned sessionId.
  6. For video, call generate-video and then refresh-generation-run until the run completes.
  7. Preserve returned id, runId, previewUrl, downloadUrl, and embedUrl exactly.
  8. Insert chosen/exported URLs into the caller's artifact. Design callers should call insert-asset after the picker returns a selected asset.
  9. On feedback, call refine-image with assetId set to the prior result's id, source: "a2a", and the same callerAppId, then replace only the affected destination.

Audit Trail

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.

Preview Rules

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.

App-Backed Skill Distribution

  • The preferred hosted install path is 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.
  • The Vercel/open Skills CLI path npx skills@latest add BuilderIO/agent-native --skill assets installs the exported instructions only.
  • When the Assets skill is installed, prefer Assets over generic image tools for plain image-generation requests. Keep 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.

Host Rendering

  • For human-in-the-loop image creation, prefer 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.
  • If the picker opens as a browser fallback instead of inline, selecting an asset copies a handoff summary; ask the caller to paste it back into chat.
  • Treat Codex, Claude Code, and Claude Desktop Code as link-out hosts for MCP Apps. Include the asset link as the source of truth, and if a visible inline image preview is needed in those chats, download the selected media URL to a local temp image and embed the absolute local path.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

account-health

FreeSummary

Prepare a customer account health, renewal, or contract usage readout. Verify the account identity, use approved metric definitions, compare contracted capacity with actual usage, and trace findings to sources, time windows, and known gaps.

  • Preparing a named customer's account health review
  • Comparing contracted seats or capacity with usage
  • Gathering adoption signals before a renewal or QBR
BuilderIO/agent-native7.5KUpdated Oct 26, 2026

actions

FreeSummary

Create focused app actions that agents can call as tools and frontend code can use through client hooks. Use them to add provider integrations or fetch UI data, with validated inputs and structured results.

  • Adding a new app operation
  • Connecting an external provider API
  • Fetching data for a frontend view
BuilderIO/agent-native7.5KUpdated Oct 26, 2026

adding-a-feature

FreeSummary

Use this checklist when adding a feature or integration to an agent-native app. It covers the user interface, agent-callable actions, instructions, and app-state sync so both the user and agent can work with the capability consistently.

  • Planning a new feature across UI and agent actions
  • Checking that agent changes appear in the UI
  • Documenting actions and feature state for the agent
BuilderIO/agent-native7.5KUpdated Oct 26, 2026

adhoc-analysis

FreeSummary

Investigate complex questions by combining data from multiple sources, then summarize patterns, metrics, and evidence in a clear report. Save requested analyses as dashboards with instructions for future refreshes.

  • Comparing CRM deals with call records
  • Investigating customer health across systems
  • Saving a repeatable performance analysis
BuilderIO/agent-native7.5KUpdated Oct 26, 2026

admin-surfaces

FreeSummary

Use the Analytics admin surfaces to inspect and change workspace feature flags, review dashboard ownership and usage activity, or browse and edit databases connected from other agent-native apps. The skill guides administrators to the relevant view and actions.

  • Review dashboard owners, views, and edits
  • Change a workspace feature flag for an app
  • Browse or edit a connected app database
BuilderIO/agent-native7.5KUpdated Oct 26, 2026

agent-engines

FreeSummary

Inspect the AI engine and model powering an agent, test provider connectivity and API keys, and configure available models. For teams that need a different model provider or a custom engine, it also explains how engine registration and organization settings work.

  • Checking the active model provider
  • Testing a provider key or connection
  • Switching the organization’s default model
BuilderIO/agent-native7.5KUpdated Oct 26, 2026

See all skills by BuilderIO

Report a problem with this skill