get-icon — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited get-icon (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Finds SVG icon data for a named technology and outputs a ready-to-paste TECH_ICONS entry for svg_engine.py. Tries Simple Icons, then Iconify, then a web search. Falls back to a text badge and tells the user if nothing is found.
/get-icon Redis — use the argument as the technology name /get-icon — ask the user what technology they want
If the skill was invoked with an argument, use it verbatim. Otherwise ask:
What technology do you want an icon for?
Run this to check whether the technology is already in the engine:
python3 - <<'EOF'
import sys, re
sys.path.insert(0, "/Users/stephenwasula/.claude/skills/spinediagrams/scripts")
from svg_engine import TECH_ICONS, SIMPLEICONS_ALIASES, _detect_icon
name = "TECHNOLOGY_NAME_HERE"
icon_key = _detect_icon(name)
alias_key = SIMPLEICONS_ALIASES.get(name.lower().strip())
builtin = name.lower().replace(".", "dot").replace(" ", "") in TECH_ICONS
print(f"detect_icon: {icon_key}")
print(f"alias: {alias_key}")
print(f"builtin: {builtin}")
EOFIf any result is non-None/non-False, tell the user the technology is already supported (show which key resolves it) and stop — no further action needed.
Apply the Simple Icons slug rule to the technology name:
. with the word dotExamples: Node.js → nodedotjs | Vue.js → vuedotjs | Redis → redis
Also keep the plain lowercase-stripped form (without the dot→word step) as an alternate slug to try if the first fails.
Fetch the SVG using the Bash tool:
python3 - <<'EOF'
import urllib.request, urllib.error, json, re, sys
slug = "SLUG_HERE"
name = "TECHNOLOGY_NAME_HERE"
# 1. Fetch the SVG path
svg_url = f"https://raw.githubusercontent.com/simple-icons/simple-icons/HEAD/icons/{slug}.svg"
try:
with urllib.request.urlopen(svg_url, timeout=8) as r:
svg = r.read().decode()
print("SVG_OK")
paths = re.findall(r'<path([^>]+)>', svg)
print(f"PATHS={len(paths)}")
for p in paths:
d = re.search(r'\bd="([^"]+)"', p)
fill = re.search(r'\bfill="([^"]+)"', p)
rule = re.search(r'fill-rule="([^"]+)"', p)
print(f"D={d.group(1) if d else ''}")
print(f"FILL={fill.group(1) if fill else ''}")
print(f"RULE={rule.group(1) if rule else ''}")
except urllib.error.HTTPError as e:
print(f"SVG_{e.code}")
except Exception as e:
print(f"SVG_ERR:{e}")
# 2. Fetch the brand color from the data file
data_url = "https://raw.githubusercontent.com/simple-icons/simple-icons/HEAD/data/simple-icons.json"
try:
with urllib.request.urlopen(data_url, timeout=12) as r:
icons = json.load(r)
for icon in icons:
derived = re.sub(r'[^a-z0-9]', '', icon['title'].lower().replace('.', 'dot'))
explicit = icon.get('slug', '') or derived
if explicit == slug or derived == slug:
print(f"COLOR=#{icon.get('hex', '555555')}")
print(f"TITLE={icon['title']}")
break
else:
print("COLOR=#555555")
print("TITLE=")
except Exception as e:
print(f"COLOR_ERR:{e}")
print("COLOR=#555555")
EOFIf the SVG fetch succeeds (SVG_OK):
Parse the output to build the TECH_ICONS entry:
"path" + "fill" from COLORfill="..." in the path element → use that fillfill-rule="evenodd" → add "rule": "evenodd""paths" list0 0 24 24 — do not include `"viewbox"`Proceed to Step 7 to output the result.
If the SVG fetch returns 404: Continue to Step 5.
python3 - <<'EOF'
import urllib.request, urllib.error, re
slug = "SLUG_HERE"
for candidate in [slug, f"{slug}-icon", f"{slug}-logo", slug.replace("dot", "")]:
url = f"https://api.iconify.design/logos/{candidate}.svg"
try:
with urllib.request.urlopen(url, timeout=8) as r:
svg = r.read().decode()
vb = re.search(r'viewBox="([^"]+)"', svg)
paths = re.findall(r'<path([^>]+)>', svg)
print(f"FOUND={candidate}")
print(f"VIEWBOX={vb.group(1) if vb else '0 0 24 24'}")
print(f"NPATHS={len(paths)}")
for p in paths:
d = re.search(r'\bd="([^"]+)"', p)
fill = re.search(r'\bfill="([^"]+)"', p)
print(f"D={d.group(1) if d else ''}")
print(f"FILL={fill.group(1) if fill else '#555555'}")
break
except urllib.error.HTTPError:
print(f"MISS={candidate}")
except Exception as e:
print(f"ERR={e}")
EOFIf found: parse output and build the TECH_ICONS entry.
0 0 24 24, include "viewbox" in the entry"paths" listd strings (most detail)Proceed to Step 7.
If all Iconify candidates return 404: continue to Step 6.
Search for: {technology name} SVG logo path
Look for:
.svg file URL (fetch it and extract paths)If a usable SVG is found, fetch it, extract paths using the same Python regex pattern, and proceed to Step 7.
If no SVG source found anywhere:
Create a text badge:
#555555 (generic — flag it as needing a real brand color)Tell the user clearly:
No SVG icon was found for {technology name} in Simple Icons, Iconify, or via web search. A text badge entry has been created using the initials {chars}. You can update the fill color with the actual brand color once you find it, or replace the entry entirely if you locate an SVG source later.Output all three sections, clearly labeled and ready to paste.
})"key": {
"name": "Full Brand Name",
"path": "...", # verbatim d=... value
"fill": "#RRGGBB",
# "rule": "evenodd", # include only if source SVG had fill-rule="evenodd"
# "viewbox": "0 0 N N", # include only if NOT a 24x24 Simple Icons source
},For multi-path:
"key": {
"name": "Full Brand Name",
"viewbox": "0 0 256 256",
"paths": [
{"d": "...", "fill": "#color1"},
{"d": "...", "fill": "#color2"},
],
"fill": "#primary_brand_color",
},For text badge:
"key": {
"name": "Full Brand Name",
"type": "text",
"chars": "AB",
"fill": "#555555", # update with actual brand color
},return None)if "keyword" in l: return "key" # Full Brand NameChoose the most natural keyword — part of the lowercased brand name that wouldn't falsely match other technologies.
"shorthand": "key", # Full Brand Name
"other alias": "key",Common aliases: abbreviations, common misspellings, the brand name without .js/.io suffixes.
| Source | URL pattern | Notes |
|---|---|---|
| Simple Icons | raw.githubusercontent.com/simple-icons/.../icons/{slug}.svg | 24×24, no viewbox field needed |
| Iconify logos | api.iconify.design/logos/{slug}.svg | Any viewBox; include viewbox if not 24×24 |
| Web search | Direct SVG URL | Parse same as above |
| Text badge | (no network fetch) | Last resort; flag color as needing update |
<path d="..."> element is received, do not fabricate a path.
d attribute values exactly — do not shorten, summarize, or paraphrase.fill cannot be determined from any source, use #555555 and add acomment telling the user to update it.
key must be all lowercase, no spaces, special chars replaced:. → dot, everything else stripped.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.