antvis/chart-visualization-skills1.2k installs
icon-retrieval
Search icons through HTTP API and retrieve SVG strings with curl.
How do I install this agent skill?
npx skills add https://github.com/antvis/chart-visualization-skills --skill icon-retrievalIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill interacts with an external API at lab.weavefox.cn and arbitrary remote URLs to search for and retrieve SVG icons. This creates an attack surface for indirect prompt injection where malicious content from these external sources could influence agent behavior.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerwarn
2/2 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/antvis/chart-visualization-skills/icon-retrieval">View icon-retrieval on skillZs</a>