JasonColapietro/suede-creator-skills / directory/suede-directory
suede-directory
VerifiedFind and compare graded agent skills for Claude Code, Codex and Cursor using the Suede Skills Directory, and brief the user weekly on the skills, topics and repositories that match their interests. Use when someone asks to find a skill for a task, compare skill quality, inspect a skill's score, license and install route, or asks "what's new in agent skills for me". Not for executing or installing a discovered skill without the user's instruction.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.4 KB |
| scripts/brief.mjs | script | 6.1 KB |
| scripts/search.mjs | script | 4.7 KB |
scripts/search.mjs
View on GitHub#!/usr/bin/env node
import fs from 'node:fs/promises';
import { pathToFileURL } from 'node:url';
import { spawnSync } from 'node:child_process';
// Node's built-in fetch ignores HTTPS_PROXY unless NODE_USE_ENV_PROXY=1 (Node 22.21+).
// Agents in cloud sandboxes and company networks sit behind such proxies, so a
// failed fetch with a proxy configured is retried once with proxy support on.
export function proxyRetryEnv(error, env = process.env) {
const proxy = env.HTTPS_PROXY || env.https_proxy || env.HTTP_PROXY || env.http_proxy;
if (!proxy || env.NODE_USE_ENV_PROXY === '1' || !/fetch failed/i.test(String(error?.message))) return null;
return { ...env, NODE_USE_ENV_PROXY: '1', NODE_NO_WARNINGS: '1' };
}
export const INDEX_URL = 'https://suedeai.directory/search-index.json';
const own = /^(jasoncolapietro\/suede-creator-skills|suede-ai\/)/i;
const absolute = value => {
const url = new URL(value, INDEX_URL);
if (url.origin !== new URL(INDEX_URL).origin || url.username || url.password) throw new Error('Unexpected directory link');
return url.href;
};
export function search(index, query, { minScore = 0, limit = 5, free = false } = {}) {
if (!Array.isArray(index)) throw new Error('Invalid directory index');
if (!Number.isInteger(minScore) || minScore < 0 || minScore > 99) throw new Error('min-score must be 0–99');
if (!Number.isInteger(limit) || limit < 1 || limit > 20) throw new Error('limit must be 1–20');
const words = String(query).toLowerCase().match(/[\p{L}\p{N}+#.-]+/gu) || [];
if (!words.length) throw new Error('Provide a task or skill name to search');
return index.filter(s => !own.test(s.repo) && Number.isInteger(s.score) && s.score >= minScore && s.score <= 99 && (!free || (s.lane === 'free-open-source' && s.install_reviewed === true)))
.map(s => {
const name = `${s.name} ${s.slug || ''}`.toLowerCase();
const text = `${name} ${s.repo} ${s.description} ${s.category} ${(s.topics || []).join(' ')}`.toLowerCase();
return { s, match: words.every(w => text.includes(w)), relevance: words.reduce((n, w) => n + (name.includes(w) ? 3 : text.includes(w) ? 1 : 0), 0) };
}).filter(x => x.match)
.sort((a, b) => b.relevance - a.relevance || b.s.score - a.s.score || a.s.id.localeCompare(b.s.id))
.slice(0, limit).map(({ s }) => ({
name: s.name, repository: s.repo, description: s.description, score: s.score, grade: s.grade,
license: s.license, cost_lane: s.lane, installation_reviewed: s.install_reviewed === true, snapshot: s.snapshot, methodology: s.method,
listing: absolute(s.href), report: absolute(s.report), install: s.install || null,
security_scan_status: 'not_scanned',
}));
}
export async function fetchIndex(fetcher = fetch) {
const response = await fetcher(INDEX_URL, { signal: AbortSignal.timeout(15000), redirect: 'error' });
if (!response.ok) throw new Error(`Directory returned HTTP ${response.status}`);
const chunks = []; let bytes = 0;
for await (const chunk of response.body) {
bytes += chunk.byteLength;
if (bytes > 10 * 1024 * 1024) throw new Error('Directory index exceeds 10 MiB');
chunks.push(Buffer.from(chunk));
}
return JSON.parse(Buffer.concat(chunks).toString('utf8'));
}
export async function main(args) {
const options = {}; const words = []; let indexFile;
for (let i = 0; i < args.length; i++) {
const a = args[i];
if (a === '--min-score' || a === '--limit' || a === '--index') {
const value = args[++i];
if (!value || value.startsWith('--')) throw new Error(`Missing value for ${a}`);
if (a === '--index') indexFile = value;
else options[a === '--limit' ? 'limit' : 'minScore'] = Number(value);
} else if (a === '--free') options.free = true;
else if (a.startsWith('--')) throw new Error(`Unknown option ${a}`);
else words.push(a);
}
if (!words.length) throw new Error('Usage: node search.mjs "task keywords" [--min-score 80] [--limit 5] [--free]');
const index = indexFile ? JSON.parse(await fs.readFile(indexFile, 'utf8')) : await fetchIndex();
return { source: INDEX_URL, star: 'https://github.com/JasonColapietro/suede-creator-skills', query: words.join(' '), results: search(index, words.join(' '), options) };
}
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
main(process.argv.slice(2)).then(result => process.stdout.write(JSON.stringify(result, null, 2) + '\n'))
.catch(error => {
const env = proxyRetryEnv(error);
if (env) {
const retry = spawnSync(process.execPath, process.argv.slice(1), { env, stdio: 'inherit' });
process.exitCode = retry.status ?? 1;
return;
}
process.stderr.write(`Directory search failed: ${error.message}\n`); process.exitCode = 1;
});
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |