Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

asset-creator资产创造者

Agent Skill

asset-creator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

549

周安装

22

GitHub Stars

53

下载量

178
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:asset-creator(资产创造者)
来源仓库:https://github.com/outscal/video-generator
仓库路径:skills/asset-creator
安装命令:
npx skills add https://github.com/outscal/video-generator --skill asset-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/outscal/video-generator --skill asset-creator

简介

asset-creator 为品牌标识、图标等视觉资产生成参考素材,优先匹配现有资料再按需创作新图。

  • 适用场景包括提案级 logo 探索、UI 套件构建以及营销物料的快速原型设计。
  • 核心能力要求精确控制每项资产的参考数量,仅在无匹配时调整最接近图形,保持风格统一。
  • 使用方式区分 logo/icon/customized 三种模式,严格按描述 fetch 参考或 fallback 到手工绘制。
  • 安装前应明确品牌规范与版权限制,避免使用受保护的图形元素造成法律风险。

SKILL.md

Asset Creator Skill

For each asset, fetch multiple reference icons before selecting the best match. The agent specifies the exact number of icons to read per asset.



logo

  • Fetch reference icons
  • Use EXACTLY as-is. Zero modifications.
  • If no matching references found: Write the name of that brand/entity inside a visual box.

icon

  • Fetch reference icons
  • Use EXACTLY as-is. Zero modifications.
  • If no matching references found: Create from scratch, keep simple like icons

customized

  • Fetch reference icons
  • If a reference matches description → use as-is
  • Only if NO reference matches → tweak the closest one
  • If no direct references found → search for similar references, understand their shape, and create the asset

character

  • NO icon fetching
  • Use to create from scratch
AttributePurposeExample
viewBoxInternal coordinate system"0 0 100 100"
xmlnsXML namespace (required)"http://www.w3.org/2000/svg"
AttributePurpose
x, yPosition (top-left corner)
width, heightDimensions
rx, ryCorner radius
fillFill color
<circle cx="50" cy="50" r="40" fill="#EF4444"/>
AttributePurpose
cx, cyCenter position
rRadius
<ellipse cx="50" cy="50" rx="40" ry="25" fill="#10B981"/>
AttributePurpose
cx, cyCenter position
rx, ryX and Y radii
<line x1="10" y1="10" x2="90" y2="90" stroke="#000" stroke-width="2"/>
<polyline points="10,90 50,10 90,90" fill="none" stroke="#000" stroke-width="2"/>
<polygon points="50,10 90,90 10,90" fill="#F59E0B"/>
CommandNameParametersExample
MMove tox, yM 10 10
LLine tox, yL 90 90
HHorizontal linexH 50
VVertical lineyV 50
CCubic Bezierx1,y1 x2,y2 x,yC 20,20 80,20 90,90
QQuadratic Bezierx1,y1 x,yQ 50,0 90,90
AArcrx ry rotation large-arc sweep x yA 25 25 0 0 1 50 50
ZClose path-Z

Lowercase commands use relative coordinates (relative to current position).

<!-- Triangle -->
<path d="M 50 10 L 90 90 L 10 90 Z" fill="#8B5CF6"/>

<!-- Curved shape -->
<path d="M 10 50 Q 50 10 90 50 T 170 50" stroke="#000" fill="none"/>
<g transform="translate(50, 50)" fill="#3B82F6">
  <circle r="20"/>
  <rect x="-10" y="25" width="20" height="10"/>
</g>
TransformSyntaxExample
Translatetranslate(x, y)translate(50, 50)
Scalescale(s) or scale(sx, sy)scale(2)
Rotaterotate(deg) or rotate(deg, cx, cy)rotate(45)
SkewskewX(deg) or skewY(deg)skewX(10)
<rect
  fill="#3B82F6"           /* Fill color */
  fill-opacity="0.8"       /* Fill transparency */
  stroke="#1D4ED8"         /* Stroke color */
  stroke-width="2"         /* Stroke width */
  stroke-opacity="0.9"     /* Stroke transparency */
  stroke-linecap="round"   /* Line end style: butt | round | square */
  stroke-linejoin="round"  /* Corner style: miter | round | bevel */
  stroke-dasharray="5 3"   /* Dash pattern */
/>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
  <style>
    .primary { fill: #3B82F6; }
    .secondary { fill: #EF4444; }
    .outline { fill: none; stroke: #000; stroke-width: 2; }
  </style>

  <circle class="primary" cx="50" cy="50" r="30"/>
</svg>
<defs>
  <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
    <stop offset="0%" stop-color="#3B82F6"/>
    <stop offset="100%" stop-color="#8B5CF6"/>
  </linearGradient>
</defs>

<rect fill="url(#grad1)" x="10" y="10" width="80" height="80"/>
TransformSyntaxExample
Translatetranslate(x, y)translate(50, 50)
Scalescale(s) or scale(sx, sy)scale(2)
Rotaterotate(deg) or rotate(deg, cx, cy)rotate(45)
SkewskewX(deg) or skewY(deg)skewX(10)

Reference defined elements:

<defs>
  <circle id="dot" r="5"/>
</defs>

<use href="#dot" x="20" y="20" fill="red"/>
<use href="#dot" x="50" y="50" fill="blue"/>
<use href="#dot" x="80" y="80" fill="green"/>
<defs>
  <linearGradient id="linear" x1="0%" y1="0%" x2="100%" y2="100%">
    <stop offset="0%" stop-color="#3B82F6"/>
    <stop offset="100%" stop-color="#EF4444"/>
  </linearGradient>
</defs>
<defs>
  <clipPath id="circle-clip">
    <circle cx="50" cy="50" r="40"/>
  </clipPath>
</defs>

<rect clip-path="url(#circle-clip)" x="0" y="0" width="100" height="100" fill="#3B82F6"/>
<defs>
  <mask id="fade-mask">
    <linearGradient id="fade" x1="0%" y1="0%" x2="100%" y2="0%">
      <stop offset="0%" stop-color="white"/>
      <stop offset="100%" stop-color="black"/>
    </linearGradient>
    <rect fill="url(#fade)" width="100" height="100"/>
  </mask>
</defs>

<rect mask="url(#fade-mask)" fill="#3B82F6" width="100" height="100"/>
  1. Always use viewBox - Enables proper scaling
  2. Use transparent background - No background rect unless needed
  3. Group related elements - Use <g> for organization and shared transforms
  4. Use meaningful IDs - For gradients, clips, and reusable elements
  5. Optimize paths - Remove unnecessary precision (2 decimal places max)
  6. Use classes for styling - Separate presentation from structure
<svg viewBox="minX minY width height" xmlns="http://www.w3.org/2000/svg">
ParameterMeaning
minXLeft edge X coordinate (usually 0)
minYTop edge Y coordinate (usually 0)
widthInternal width in SVG units
heightInternal height in SVG units
(0,0) ─────────────────────────► X (width)
  │
  │     (25%,25%)        (75%,25%)
  │        ●────────────────●
  │        │                │
  │        │   (50%,50%)    │
  │        │       ●        │
  │        │    center      │
  │        │                │
  │        ●────────────────●
  │     (25%,75%)        (75%,75%)
  │
  ▼
 Y (height)
PositionFormula
Top-left(0, 0)
Top-center(width/2, 0)
Center(width/2, height/2)
Bottom-center(width/2, height)

Keep icon centers within 10%-90% of viewBox to prevent clipping:

availableSpace = viewBoxSize * 0.8
maxScale = availableSpace / iconViewBoxSize

Process:

  1. Identify the attachment point in the icon's original coordinate space (e.g., gun barrel tip)
  2. Position the effect at that coordinate using transform="translate(x, y)"

Example: Gun with muzzle flash

<!-- Gun icon with viewBox 0 0 512 512, barrel tip at (486, 175) -->
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
  <path d="M79.238 115.768..." fill="#333"/>  <!-- Gun icon -->

  <!-- Position muzzle flash at barrel tip coordinates -->
  <g transform="translate(486, 175)">
    <polygon points="0,0 15,-8 12,0 15,8" fill="#FF6600">
      <animate attributeName="opacity" values="1;0;1" dur="0.1s" repeatCount="indefinite"/>
    </polygon>
  </g>
</svg>

Finding attachment points:

Icon TypeAttachment PointHow to Find
Guns/WeaponsBarrel tipRightmost X, mid-height Y in icon's coordinate space
Swords/BladesBlade tipTopmost or rightmost point in icon's coordinate space
CharactersHand positionLook for arm/hand path segments, note their coordinates
VehiclesExhaust/WheelsBottom or rear coordinates in icon's coordinate space

Debugging tip: Add a visible circle at the attachment point to verify position:

<circle cx="486" cy="175" r="5" fill="red"/>  <!-- Shows barrel tip location -->
TargetTransform
45° (up-right)rotate(45)
135° (down-right)rotate(135)
270° (left)rotate(270) or rotate(-90)

Wrong: rotate(-45) for 45° gives 315° (up-left), not 45°

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.55%
按下载量换算51

Codex

22.74%
按下载量换算40

OpenCode

17.59%
按下载量换算31

windsurf

11.08%
按下载量换算20

Antigravity

6.93%
按下载量换算12

github-copilot

3.36%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills