/peter:lordicon-grabfrom peter
Grab Lordicon animated icon JSON (Lottie format) straight from lordicon.com via the Chrome extension, without using the API or going through the site's Export Lottie dialog. Use when the user asks for "a Lordicon for X", "find/get/download an animated icon", "matching lordicon aesthetic", or when adding an icon to a project that already uses `<lord-icon>` / `@lordicon/react`. Requires a PRO Lordicon account already signed in to Chrome.
Ships in peter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pull the raw Lottie JSON of any Lordicon icon by reading the web component's _loadedIconData after navigating to the icon page. Bypasses the API tier paywall and the manual Export Lottie dialog — for a PRO subscriber, downloading via the site UI and this extraction route are functionally identical.
claude-in-chrome extension is paired with. PRO scope grants legal rights to download and self-host the icons.mcp__claude-in-chrome__* — load via ToolSearch({ query: "claude-in-chrome", max_results: 30 }) if deferred. The toolkit lives behind ToolSearch; load it once at the top of the task.
navigate → https://lordicon.com/account
screenshot
Check the avatar in the top-right shows initials (not "Sign in"). If signed out, ask the user to sign in — never sign in for them.
The icon catalogue lives at https://lordicon.com/icons/<family>/<style> (e.g. /icons/wired/outline). Search via URL param ?q=<keyword>:
navigate → https://lordicon.com/icons/wired/outline?q=refund
screenshot
For the consumer.bot project specifically, use wired/flat to match the existing trust/concept icons (verify by reading any existing icon's nm field — should start with wired-flat-). The flat style has filled colors that give icons proper visual mass; wired/outline is line-only and looks anemic on the brand-800 cards. Other families: outline, lineal, gradient, plus the system (regular/solid) and doodle families. Family/style needs to match what the rest of the site uses — mixing aesthetics looks wrong.
If the search returns nothing or wrong matches, try synonyms (e.g. "unsubscribe" yields nothing; "cancel" works; "exchange"/"swap"/"return" for replacements).
Click the icon in the grid. The URL updates to ?q=<term>&i=<id>-<slug> (e.g. 2115-refund) and a preview opens on the right with an Export Lottie button.
The selected icon's <lord-icon> web component has the parsed Lottie JSON cached on _loadedIconData. The element lives somewhere inside a shadow root, so walk recursively. Trigger a Blob download — do not return the JSON to the agent, the harness sanitizer flags some Lottie payloads as cookie-like strings and truncates them.
(() => {
const seen = new Set();
let found = null, srcUrl = null;
const walk = (root) => {
if (!root || seen.has(root)) return;
seen.add(root);
const all = root.querySelectorAll ? root.querySelectorAll('*') : [];
for (const el of all) {
if (el.tagName === 'LORD-ICON'
&& el._loadedIconData
&& el.getAttribute('src')?.match(/\/icons\/(wired|system|doodle)\//)) {
found = el._loadedIconData;
srcUrl = el.getAttribute('src');
return;
}
if (el.shadowRoot) walk(el.shadowRoot);
if (found) return;
}
};
walk(document);
if (!found) return { ok: false };
const m = srcUrl.match(/\/([^\/]+)\.li$/);
const name = (m ? m[1] : 'lordicon') + '.json';
const blob = new Blob([JSON.stringify(found)], { type: 'application/json' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url; a.download = name;
document.body.appendChild(a);
a.click();
setTimeout(() => { URL.revokeObjectURL(url); a.remove(); }, 500);
return { ok: true, name, size: blob.size };
})()
Run with mcp__claude-in-chrome__javascript_tool. Expected return: { ok: true, name: "2115-refund.json", size: <bytes> }.
The file lands in ~/Downloads/<id>-<slug>.json.
mv ~/Downloads/2115-refund.json /path/to/project/src/icons/refund.json
Rename to a descriptive slug (drop the numeric ID). Filename matters for imports — pick something readable.
Project-specific. For React/Lottie projects using @lordicon/react:
import refundData from "@/icons/refund.json";
import type { IconData } from "@lordicon/react/dist/interfaces";
// ...
const refundIcon = useMemo(() => refundData as IconData, []);
// optional brand recolor for projects that do it:
// const refundIcon = useMemo(() => recolorLottie(refundData as IconData), []);
For consumer.bot specifically the pattern is recolorLottie() in apps/marketing/src/features/home/recolor-lottie.ts — runs before passing to LordiconReveal.
Batch the per-icon dance through mcp__claude-in-chrome__browser_batch:
[
{ navigate ?q=cancel&i=... },
{ wait 2s },
{ javascript_tool: <extraction snippet above> }
]
Wait ~1–2s between navigate and JS — the <lord-icon> needs time to fetch and parse .li data before _loadedIconData is populated. If the JS returns { ok: false }, wait another second and retry.
_loadedIconData is a Lordicon-internal property. It's stable today but not part of their public API contract. If a future version of <lord-icon> renames it, fall back to letting the user click Export Lottie and download manually..li extension is Lordicon's encrypted server format. Don't try to fetch the URL directly — it won't decode without the player library. Always go through the rendered component.claude-in-chrome find/page-text on the icon catalogue. It's heavily web-component / shadow-DOM, those tools return empty. Use javascript_tool and screenshot directly.cancel, subscription, or trash. For replacements, search exchange, swap, return, refresh.Tested on 2026-05-15 for 2115-refund (Wired Outline). PRO subscription on [email protected]. 45,649-byte JSON, Lottie v5.12.1, identical structure to existing trust-*.json files in apps/marketing/src/icons/.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flippyhead/pai --plugin peter14 skills in this plugin
/add-skillUse when Peter wants to turn something into a reusable skill and get it into his skills repo — "skillify this", "make this a skill", "add a skill", "save this as a skill", "turn this into a skill", "new skill for X" — or wants an existing personal skill changed./copa-forum-briefScan the COPA Discourse forum (forum.cirruspilots.org) through Peter's logged-in Chrome session and produce a "forum brief" — a shortlist of threads worth jumping in on, each with a suggested angle and a draft reply in Peter's voice grounded in prior forum threads and COPA content (Commander, Ask COPA U), plus posts worth recognizing with a like or a short attaboy. Use this whenever Peter asks for a forum brief, asks what he should jump in on or reply to, asks where to be visible on the forums, mentions board presence/participation on the forums, or says anything like "find me threads", "what's worth answering on COPA", or "/forum-brief". Requires the Claude-in-Chrome tools and Peter at his desk with Chrome logged in to the forum./explain-usageExplain where this session's tokens went, with one simple chart in plain language. Use when the user says things like "explain my usage", "where did my tokens go", or asks for a usage breakdown.Other plugins' skills for the same job