Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svgl-skill

A tiny skill for downloading brand SVGs from svgl.app by exact name.

Apple logo     Vercel logo     GitHub wordmark

Invariant

Given a brand name:

  1. find the exact SVGL item, case-insensitively
  2. choose one route
  3. write one file

Everything in this repo follows that shape.

Files

  • svgl-simple.ts — clean TypeScript version with --light, --dark, --wordmark, and --out
  • SKILL.md — skill instructions for agents

TypeScript usage

node svgl-simple.ts apple
node svgl-simple.ts apple --dark
node svgl-simple.ts github --wordmark
node svgl-simple.ts github --wordmark --light --out ./github-wordmark.svg

Flags

  • --light — prefer light themed route
  • --dark — prefer dark themed route
  • --wordmark — use the wordmark instead of the icon
  • --out <path> — output file path

The helper is intentionally exact-match only. If SVGL does not have an exact title match, it fails clearly instead of guessing.

Skill usage

The skill is for requests like:

  • show me the Apple logo
  • download the GitHub wordmark
  • get me the Linear icon as SVG
  • grab the Stripe logo

Requirements

  • Node with fetch support and direct .ts execution

Validated flow:

node svgl-simple.ts apple --dark --out ./apple-dark.svg

Notes

  • SVGL provides SVG assets.
  • This repo intentionally stays small and dependency-light.
  • If you need PNG/JPG/GIF conversion, do that after download with the platform tool of your choice.

License

MIT

About

Agent skill for searching and downloading SVG icons from svgl.app

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages