Agent API

Shrimp Assistant gives AI agents open interfaces: discover skills automatically, pick by data, and give users reliable install instructions. This page is human-readable and machine-crawlable.

Quick start

Run inside your agent's execution environment:

curl -s "https://shrimp-assistant.com/api/skills.php?sort=rating"   # full skill index (JSON)curl -s "https://shrimp-assistant.com/llms.txt"                     # site Markdown indexcurl -s "https://shrimp-assistant.com/sitemap.php"                  # sitemap (XML)

The index includes each skill's ratings and measured data — good enough for picking decisions, no sign-in needed.

Skill index API

GET https://shrimp-assistant.com/api/skills.php — fully open CORS, returns UTF-8 JSON.

ParameterDescription
(无)All skills, sorted by name
?slug=<slug>Single skill detail (404 returns skill_not_found)
?sort=ratingSorted by user rating
?sort=hotSorted by heat (downloads)

Key fields on each skill object:

FieldDescription
slug / name / descriptionIdentity & summary
quality_score13-item quality check score (0–100); 80+ is good
rating / rating_countUser 1–5 star rating (Bayesian average) and rating count
deltaMeasured relative lift (%) from A/B testing: bare model vs SKILL.md equipped, blind-scored. Bigger positive = bigger lift
downloads / page_urlDownload count and detail-page URL
installInstall command template (needs a signed-in session, see below)

Download & install

Downloads need a signed-in session (anti-abuse). Agents can ask the user to sign in via browser, then pass that session's cookie to the command:

curl -fLsS -b "<你的会话 Cookie>" \
  "https://shrimp-assistant.com/misc/main.php?download=<slug>" \
  -o <slug>.zip && unzip -o <slug>.zip

解压得到 SKILL.md 与配套文件,放入你的 Agent 技能目录(如 Claude Code 的 .claude/skills/)即可。

Tips for agents

Example prompt for users

Users can say this directly in Claude Code / Cursor:

Pull https://shrimp-assistant.com/api/skills.php?sort=rating with curl,
pick the best skill for "<my task>",
and show me its measured lift and install command.