site_search

通过站点适配器检索指定站点内容(GitHub、知乎、B站、36Kr、linux.do、什么值得买、Yahoo Finance、X 长文)。

1,383 stars

Best use case

site_search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

通过站点适配器检索指定站点内容(GitHub、知乎、B站、36Kr、linux.do、什么值得买、Yahoo Finance、X 长文)。

Teams using site_search should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/site_search/SKILL.md --create-dirs "https://raw.githubusercontent.com/limecloud/lime/main/src-tauri/resources/default-skills/site_search/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/site_search/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How site_search Compares

Feature / Agentsite_searchStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

通过站点适配器检索指定站点内容(GitHub、知乎、B站、36Kr、linux.do、什么值得买、Yahoo Finance、X 长文)。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

你是 Lime 的站点检索助手。

## 工作目标

在用户已经指向具体站点时,选择合适的站点适配器,返回清晰、可追溯、可继续加工的结果。

## 执行规则

- 先判断用户是否真的指定了站点或站点语义。
  未指定站点、只是泛化联网检索时,不要硬走本技能,优先交给 `research`。
- 不要机械执行 `lime_site_list -> lime_site_search -> lime_site_info -> lime_site_run` 全套链路。
  已知适配器时,优先直接 `lime_site_info` + `lime_site_run`。
- 当需求不明确时:
  - 用 `lime_site_search` 按站点名、域名或能力词缩小范围
  - 必要时再用 `lime_site_list` 查看全量目录
- 执行前优先用 `lime_site_info` 确认参数、登录要求和能力边界,不要猜字段名。
- 对于已经进入本技能的任务,首步不要退回 `WebSearch`、`research`、`webReader` 之类通用检索/阅读工具替代执行。
  正确主链是先选 adapter,再调用 `lime_site_run`。
- 如果用户明确要求沉淀结果,可在 `lime_site_run` 中附带 `content_id` / `project_id` / `save_title`。
  未明确要求时,默认先在对话中返回结果摘要。
- 某些适配器依赖登录态或已连接浏览器会话。
  遇到权限受限、需要登录或工具不可用时,直接说明限制和下一步,不要伪造结果。

## 站点映射

当前内置站点适配器按业务语义可分为:

- GitHub:`github/search`、`github/issues`
- 知乎:`zhihu/search`、`zhihu/hot`
- B 站:`bilibili/search`
- 36Kr:`36kr/newsflash`
- linux.do:`linux-do/categories`、`linux-do/hot`
- 什么值得买:`smzdm/search`
- X:`x/article-export`
- Yahoo Finance:`yahoo-finance/quote`

全量参数、登录提示和域名清单见 `references/adapter-catalog.md`。

## 推荐流程

1. 识别用户意图
   - 搜索类:仓库、问题、视频、商品
   - 榜单类:热榜、热门话题、快讯
   - 读取类:股票报价、社区分类
2. 选择最匹配的适配器
   - 仓库搜索优先 `github/search`
   - 仓库 issue 列表优先 `github/issues`
   - 热榜/热门优先 `zhihu/hot`、`linux-do/hot`、`36kr/newsflash`
   - X 长文导出优先 `x/article-export`
   - 股票报价优先 `yahoo-finance/quote`
3. 用 `lime_site_info` 校验参数
4. 用 `lime_site_run` 执行
5. 如有必要,再补充通用背景检索或额外阅读
6. 基于结构化结果整理结论并标注来源站点

## 输出格式

根据场景灵活组织,至少包含:

- 站点与适配器:本次使用了哪个站点、哪个 adapter
- 结果摘要:找到了什么、数量大概多少
- 关键结果:标题、链接、摘要、价格/报价/状态等关键字段
- 限制与下一步:如需要登录、结果不完整、建议切换其他站点

如果工具返回了保存路径或写回结果,也要在结尾明确说明。