返回 Skill 列表
extension
分类: AI Agent 能力无需 API Key

hence-search

浏览和搜索Hence图库(hence.sh),发现使用AI编码代理构建的项目。当用户需要灵感、想要查看其他人构建的内容、询问关于Hence上的项目或提到寻找由AI构建的项目时使用。触发查询如“给我看看酷炫的项目”、“搜索Hence”、“在Hence上找到CLI工具”或“人们用Claude Code在构建什么”。

person作者: jakexiaohubgithub

Hence Search

Search the Hence gallery to find projects and draw inspiration from what others are building with AI.

Workflow

0. Authenticate

Check for existing credentials. If none found, start the device flow:

python scripts/auth.py --check

If the check fails, run the device flow:

python scripts/auth.py

The script will print a URL and a one-time code. Before running the command, tell the user they'll need to:

  1. Open the URL in their browser
  2. Log in to Hence if they aren't already (via GitHub or Google)
  3. Enter the code shown in the terminal

The script will wait and automatically complete once the user approves. No further action is needed from the agent after that.

For CI/CD environments, pass an API key directly:

python scripts/auth.py <api-key>

1. Determine search strategy

  • Specific query (e.g. "Rust CLI tools"): run search.py directly with keywords.
  • Broad browsing (e.g. "show me cool stuff"): run fetch_metadata.py topics first, suggest 3–5 relevant categories, then search by topic.

2. Execute search

python scripts/search.py "productivity cli"
python scripts/search.py "" --topic game --limit 10
python scripts/search.py "dashboard" --topic react --offset 20

For valid topic slugs:

python scripts/fetch_metadata.py topics

Pass --json to either script for raw JSON output when further processing is needed.

3. Present results

For each project include:

  • Title and pitch — the name and one-liner
  • Built with — agent/model if available
  • Linkhttps://hence.sh/p/<id>

4. Connect inspiration

After showing results, ask: "Does any of this spark ideas for your current build?"

If the user identifies a project as inspiring, store its ID and title via save_memory so the hence-share skill can suggest an "Inspired by" link later.

5. Paginate

If results are truncated, offer to load more by incrementing --offset.

API details

See references/api.md for full endpoint documentation, response schemas, and available metadata endpoints.