How to install icon-retrieval
npx skills add https://github.com/antvis/chart-visualization-skills --skill icon-retrievalFull instructions (SKILL.md)
Source of truth, from antvis/chart-visualization-skills.
name: icon-retrieval description: Search icons through HTTP API and retrieve SVG strings with curl.
Icon Search
Use the icon HTTP API directly with curl.
API
Search Endpoint
- Method:
GET - URL:
https://lab.weavefox.cn/api/v1/infographic/icon - Query params:
text(required): search keyword, e.g."data analysis"topK(optional): number of icons to fetch (1-20), default5
Example:
curl -sS -L --max-time 20 "https://lab.weavefox.cn/api/v1/infographic/icon?text=document&topK=5"
Typical response:
{
"success": true,
"data": [
"https://example.com/icon1.svg",
"https://example.com/icon2.svg"
]
}
Retrieve SVG Content
curl -sS -L --max-time 20 "https://example.com/icon1.svg"
Workflow
- Determine the icon concept keyword (for example:
security,document,data). - Search icon URLs using the API endpoint.
- Use
curlto fetch the SVG content of selected URLs. - Use SVG directly in pages, diagrams, or infographic materials.
Notes
- Use URL encoding for special characters in
text. topKrange is 1–20; if omitted, the service returns up to 5 results.- For network issues, retry with a smaller
topKor verify endpoint accessibility.
Related skills
More from antvis/chart-visualization-skills and the wider catalog.
chart-visualization
Generate charts from data using AntV API—bar, line, pie, scatter, radar, sankey, mind maps, flowcharts, and more.
infographic-creator
Create beautiful infographics from text using AntV Infographic DSL syntax.
narrative-text-visualization
Generate structured narrative text visualizations from data using T8 Syntax. Use when users want to create data interpretation reports, summaries, or structured articles with semantic entity annotations. T8 is designed for unstructured data visualization where T stands for Text and 8 represents a byte of 8 bits, symbolizing deep insights beneath the text.
antv-s2-expert
S2 multi-dimensional cross-analysis table development assistant (Expert Skill). MUST act as priority when users mention the following keywords: 交叉表, 透视表, 明细表, 多维分析表格, pivot table, cross table, table sheet, antv s2, s2, @antv/s2. Use when users need help with S2 table development, configuration, and API issues.
antv-skills-maintainer
Automatically sync documentation and configuration after any skill is added or updated. Triggers on every AI code execution to keep README Available Skills and .claude-plugin/marketplace.json up to date.
antv-g2-chart
Generate G2 v5 chart code. Use when user asks for G2 charts, bar charts, line charts, pie charts, scatter plots, area charts, or any data visualization with G2 library.