What I learned shipping an agent skill to skills.sh: the search API drops descriptions, and Snyk flagged us in 30 seconds
I shipped a standalone agent skill (ai-search-visibility-check) for OpenGEO to skills.sh today. Before pushing the repository, I tested how coding agents actually find, install, and run skills through npx skills.
Five concrete details surprised me because they contradict how most people write a SKILL.md.
1. npx skills find does not return your description to the AI
When a coding agent searches for a skill, it runs npx skills find <query>, which queries https://skills.sh/api/search. Here is the exact shape of a result returned by that API:
{
"id": "resciencelab/opc-skills/seo-geo",
"source": "resciencelab/opc-skills",
"skillId": "seo-geo",
"name": "seo-geo",
"installs": 59903
}
The payload has 5 fields and no description. skills.sh does index your SKILL.md on the server side for semantic retrieval, and local agents read description after installation to decide when to invoke the skill in chat.
During discovery, however, the agent only sees owner/repo@<skill-name>, install count, and the listing URL. Your skill slug is the headline the agent uses to decide whether to install it.
2. A 16-install exact-match slug can outrank a 59,900-install skill
Because npx skills find merges exact slug matches ahead of semantic matches, small skills can rank at the top of high-intent queries without fighting 100K-install head terms. Here is what npx skills find returned when I checked competing keywords before naming our skill:
| Query | Top results returned by npx skills find | Competition |
|---|---|---|
| chatgpt seo | ai-seo (180.7K), seo-geo (59.9K), seo (50.9K) | Saturated |
| ai citation | citation-management (2.7K, academic papers), ai-citations-report (149) | Academic intent collision |
| ai visibility | ai-visibility-audit (2.3K), seo-ai-visibility (526), then 215 / 59 / 41 | Medium |
| ai search visibility | apify-ai-search-visibility-tracker (215), ai-search-visibility (50), ai-search-visibility-audit (28), ai-search-visibility (16), then seo-geo (59.9K) | Low |
I originally named our skill ai-citation-check. On skills.sh, "citation" pulled academic paper managers, while "ai search visibility" had exact buyer intent and top-5 install counts between 16 and 215.
Renaming the skill to ai-search-visibility-check (under cooleryu/opengeo) put the brand name, geo, and the exact search phrase in one clean identifier without stuffing keywords. Pick the final slug before your first public install, because renaming after indexing can leave stale slugs on skills.sh and split install counts.
3. Three publishing bugs that fail silently on day one
Testing installation into a clean temporary repository caught three issues before launch:
git pushalone does not list your skill. skills.sh adds a repository whennpx skills add <owner/repo>runs with telemetry enabled. Push to GitHub, run one remote install, and then checkhttps://www.skills.sh/<owner>/<repo>/<skill>.skills.sh.jsondoes not hide a rootskills/folder. Our main repository already had 7 internal prompt files insideskills/. Even with"paths": ["./plugin/skills"]inskills.sh.json,npx skills add --liststill exposed all 7 internal files. Addingmetadata:\ninternal: trueto each internalSKILL.mdfrontmatter hid them so external users only see the single public skill.- Claude Code installs skills as symlinks. Installing across multiple agents puts files in
.agents/skills/<name>and points.claude/skills/<name>to it via a symlink. In Node.js, the standard entrypoint guardpath.resolve(process.argv[1]) === fileURLToPath(import.meta.url)evaluates tofalsewhen called through a symlink and exits 0 with blank output. Comparingfs.realpathSyncpaths fixes it.
4. Snyk's AI audit checks SKILL.md against every network call in your script
Within 30 seconds of our first remote install, skills.sh displayed three security audit badges:
- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Fail (E004 CRITICAL + W011 MEDIUM)
Snyk did not flag a code vulnerability or local browser launch. Its analyzer read SKILL.md, compared the stated behavior against our helper script, and flagged one read-only redirect lookup that we had not explicitly mentioned in SKILL.md. It also flagged W011 because captured third-party web pages can contain untrusted text.
The takeaway is strict: if your helper script makes any outbound request, even a read-only header check to unwrap cited URLs, document that exact request in SKILL.md and give users a flag to turn it off (--no-resolve-redirects). We added that disclosure plus an explicit rule treating captured AI answers and web pages strictly as untrusted data.
One catch worth knowing before you publish: skills.sh caches its first-seen audit snapshot and does not immediately re-run Snyk when you push a fix to GitHub (the vercel-labs/skills issue tracker has a queue of maintainers requesting manual re-audits for weeks-old snapshots). Get your SKILL.md disclosures right before your very first npx skills add install, because that initial snapshot sticks around for a while.
5. First-60-second experience: run no-login checks first
Our skill checks whether ChatGPT and Google AI Overviews actually mention a product and link its official site, using an isolated Chrome/Edge profile so it never touches the user's real cookies. In our first draft, --engine both queried ChatGPT before Google. Because the isolated profile starts logged out, every first-time user hit a ChatGPT sign-in wall 4 seconds in, before seeing a single result.
Flipping the order to Google first and ChatGPT second fixed the whole first-run experience in one line. Google needs no login, so the agent gets a real AI Overview and cited competitor URLs in about 15 seconds. If ChatGPT then pauses for sign-in, the agent can share the Google findings immediately and ask whether the user wants to sign in for ChatGPT too.
Keeping SKILL.md at 63 lines with zero npm install, no paid scraper API, and no mid-audit product pitch makes it easy for both the agent and the user to finish one check in under a minute.
If you want to check how ChatGPT and Google AI Overviews answer for your own site or repo, you can install the latest version directly from GitHub in Claude Code, Cursor, or Codex:
npx skills add cooleryu/opengeo
Source code is MIT licensed at https://github.com/cooleryu/opengeo. If you have published skills to skills.sh and found a reliable way to trigger Snyk re-scans or noticed other ranking rules, I would like to compare notes in the comments.
Comments
No comments yet. Start the discussion.