
Icon Retrieval
- 1.3k installs
- 454 repo stars
- Updated July 31, 2026
- antvis/chart-visualization-skills
icon-retrieval provides documented workflows for Search icons through HTTP API and retrieve SVG strings with curl.
About
The icon-retrieval skill 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), default `5` Example: ```bash curl -sS -L --max-time 20 "https://lab.weavefox.cn/api/v1/infographic/icon?text=document&topK=5" ``` Typical response: ```json { "success": true, "data": [ "https://example.com/icon1.svg", "https://example.com/icon2.svg" ] } ``` ### Retrieve SVG Content ```bash curl -sS -L --max-time 20 "https://example.com/icon1.svg" ``` ## Workflow 1. Determine the icon concept keyword (for example: `security`, `document`, `data`). Search icon URLs using the API endpoint. Use `curl` to 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`.
- **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), default `5`
Icon Retrieval by the numbers
- 1,292 all-time installs (skills.sh)
- +37 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #315 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
icon-retrieval capabilities & compatibility
- Capabilities
- **method**: `get` · **url**: `https://lab.weavefox.cn/api/v1/infogra · **query params**: · `text` (required): search keyword, e.g. `"data a · `topk` (optional): number of icons to fetch (1 2
- Use cases
- documentation
What icon-retrieval says it does
# 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.
npx skills add https://github.com/antvis/chart-visualization-skills --skill icon-retrievalAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.3k |
|---|---|
| repo stars | ★ 454 |
| Security audit | 2 / 3 scanners passed |
| Last updated | July 31, 2026 |
| Repository | antvis/chart-visualization-skills ↗ |
How do I use icon-retrieval for the task described in its SKILL.md triggers?
Search icons through HTTP API and retrieve SVG strings with curl.
Who is it for?
Teams invoking icon-retrieval when the user request matches documented triggers and prerequisites.
Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.
When should I use this skill?
Search icons through HTTP API and retrieve SVG strings with curl.
What you get
Step-by-step guidance grounded in icon-retrieval documentation and reference files.
- SVG icon URL list
- API search response JSON
By the numbers
- topK parameter accepts 1 to 20 icons per search, defaulting to 5
- curl requests use a 20-second max-time limit
Files
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
1. Determine the icon concept keyword (for example: security, document, data). 2. Search icon URLs using the API endpoint. 3. Use curl to fetch the SVG content of selected URLs. 4. 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
FAQ
What does icon-retrieval do?
Search icons through HTTP API and retrieve SVG strings with curl.
When should I use icon-retrieval?
Search icons through HTTP API and retrieve SVG strings with curl.
What are common prerequisites?
--- name: icon-retrieval description: Search icons through HTTP API and retrieve SVG strings with curl.
Is Icon Retrieval safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.