Skip to content
Back to skills

Antv Svg Icon Searcher

ASecurity

Search icons through HTTP API and retrieve SVG strings with curl.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
ai-agentsbashapisecurity

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add mdnaimul22/human-skills --skill antv-svg-icon-searcher --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Antv Svg Icon Searcher?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Antv Svg Icon Searcher
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mdnaimul22-antv-svg-icon-searcher/badge)](https://www.skillsdirectory.com/skills/mdnaimul22-antv-svg-icon-searcher)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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), 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`).
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`.
- `topK` range is 1–20; if omitted, the service returns up to 5 results.
- For network issues, retry with a smaller `topK` or verify endpoint accessibility.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.