搜索技巧
- 作者仓库星标 0
- 作者仓库 Temple-of-Skills
- 领域
- 写作
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @Tomatio13 · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# X Search
Use the local `x-search` command when the user specifically needs information from X posts rather than general web results. Assumes `x-search` is already installed and authenticated.
## Trigger conditions
- Use this skill when the user asks for reactions on X, cited X post URLs, or summaries grounded in X search results.
- Use this skill when the user wants X results filtered by handle, date, image, or video.
- Do not use this skill for general web research unless X is the required source.
- If X is the primary source, use this skill first and add non-X sources only when the user needs supplemental context.
## Core workflow
1. Convert the request into one clear X-search prompt with topic, timeframe, and expected deliverable.
2. Pick the output mode first: summary, citations, URLs, or full JSON.
3. Add only the narrowest filters needed: handle, date, image, or video.
4. Run `x-search` once and inspect whether the result is broad, empty, or missing evidence.
5. Tighten the prompt before stacking many flags.
6. If the user needs evidence, rerun with `--mode citations` or `--mode urls`.
7. Verify that the result matches the requested timeframe, topic, and evidence level before answering.
## Mode selection
- Use `--mode answer` for a direct summary.
- Use `--mode citations` for labeled citation URLs.
- Use `--mode urls` for raw source collection.
- Use `--mode json` for debugging or downstream parsing.
## Option rules
- Use `--allowed-handle` for a trusted-account subset.
- Use `--excluded-handle` to remove noisy accounts.
- MUST NOT combine `--allowed-handle` and `--excluded-handle`.
- MUST use `--from-date` and `--to-date` only with `YYYY-MM-DD`.
- Convert relative dates such as `today`, `yesterday`, or `this week` into explicit bounds when feasible.
- Only enable `--image` or `--video` when the request depends on media understanding.
- The default model is `grok-4.3`. Override with `--model` only when the task needs a different tradeoff.
## Prompt rules
- Ask for one concrete deliverable per call.
- Include the topic, timeframe, and angle in the prompt text.
- Prefer prompts such as `Summarize reactions on X`, `Find posts discussing`, or `Compare opinions on X`.
- If recency matters, say so in the prompt even when date filters are present.
- Prompt text may be written in English for consistency with the command examples.
## Failure handling
- If `x-search` is not found, stop and report that the CLI must be installed first.
- If the command fails because of invalid arguments, fix the command shape before retrying.
- If the command exits non-zero, check authentication or Hermes configuration next.
- If the result is empty, too broad, or lacks evidence, refine the prompt and rerun once.
- If citations are required but the summary is not enough, rerun with `--mode citations`, `--mode urls`, or `--mode json`.
- If the query comes from standard input, pipe it into `x-search` instead of rewriting the content by hand.
## References
- For ready-to-run command templates, see [references/COMMANDS.md](references/COMMANDS.md).
章节与文件索引
按说明文件中的顺序排列。
触发条件
核心工作流程
模式选择
选项规则
提示规则
文件/命令 -> x-search · --mode citations · --mode urls · --mode answer · --mode json · --allowed-handle · --excluded-handle · --from-date
内容校验值 -> cb616027bb3c
当前原文的自动摘译,尚未人工审校。
触发条件
当用户询问对 X 的反应、引用的 X 帖子 URL 或基于 X 搜索结果的摘要时,请使用此技能。当用户希望按句柄、日期、图像或视频过滤 X 个结果时,请使用此技能。除非 X 是所需的来源,否则请勿将此技能用于一般网络研究。如果 X 是主要来源,请首先使用此技能,并仅在用户需要补充上下文时添加非 X 来源。
核心工作流程
将请求转换为一个清晰的 X 搜索提示,其中包含主题、时间范围和预期交付成果。首先选择输出模式:摘要、引文、URL 或完整 JSON。仅添加所需的最窄过滤器:句柄、日期、图像或视频。运行
x-search一次并检查结果是否广泛、空或缺失证据。在堆叠许多旗帜之前收紧提示。模式选择
使用
--mode answer进行直接总结。使用--mode citations作为标记的引用 URL。使用--mode urls进行原始源收集。使用--mode json进行调试或下游解析。选项规则
使用
--allowed-handle作为可信帐户子集。使用--excluded-handle删除嘈杂的帐户。不得组合--allowed-handle和--excluded-handle。必须将--from-date和--to-date仅与YYYY-MM-DD一起使用。在可行的情况下,将相对日期(例如today、yesterday或this week)转换为显式界限。提示规则
每次通话要求提供一份具体的交付成果。在提示文本中包含主题、时间范围和角度。更喜欢诸如
Summarize reactions on X、Find posts discussing或Compare opinions on X之类的提示。如果新近度很重要,即使存在日期过滤器,也要在提示中说明。为了与命令示例保持一致,提示文本可以用英文书写。