跳到正文
cccskills
免费在 GitHub 公开

oma-search

Find external documentation, web sources, or remote code with citations. Local code navigation uses the configured code tools.

中文简介正在准备中。当前显示原文说明。

集成工具GitLab
查看安装方法

包含的文件(7)

  • SKILL.md4.8 KB
  • resources/checklist.md1.7 KB
  • resources/error-playbook.md5.1 KB
  • resources/examples.md4.2 KB
  • resources/execution-protocol.md3.0 KB
  • resources/intent-rules.md2.7 KB
  • resources/trust-registry.md5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Search Router

Scheduling

Goal

Route an information request to the appropriate channel and return relevant sources with trust labels.

Intent signature

  • Search, find, look up, reference docs, inspect official APIs, or search remote code.
  • Another skill requests docs, web, code, or local search with a query and constraints.

When to use

  • Library documentation, web research, GitHub/GitLab implementation patterns, or unclear search channels.

When NOT to use

  • Pure local code exploration -> use configured code intelligence under the shared contract.
  • Git history/blame -> oma-scm; architecture analysis -> oma-architecture.

Expected inputs

Query, optional route hint (docs, web, code, local), source/recency constraints, and flags. Explicit --docs, --code, or --web selects the route; --strict filters trust, --wide retains labeled results, and --gitlab selects the remote code host.

Expected outputs

Ranked sources with URL or file reference, route, relevance, trust level/score, and material fallback limits. Do not invent sources when no reliable result is found.

Dependencies

Context7 for docs, runtime web search, oma search/gh/glab for remote code, and configured code intelligence or native local search.

Structural Flow

Routes

RoutePrimaryFallbackUse for
docsContext7 resolve-library-id → query-docsWeb searchOfficial API/framework documentation
webRuntime web searchoma search fetch <url> for known result URLsWeb sources
codeoma search codeReport unavailable host/authRemote repository patterns
localConfigured code-intelligence providerNative search and scoped readsCurrent project files and symbols

Failure and recovery

  • Missing/empty documentation lookup: use web search and state the fallback.
  • A known URL cannot be fetched: use the fetch strategies in the route reference; retain authentication/blocking errors if all strategies fail.
  • Configured local tools unavailable or timed out: follow ../_shared/core/code-intelligence.md.
  • Unknown trust: retain the result as unknown with score —; do not imply verification.
  • No result satisfies --strict: report that outcome and offer a wider or narrower query.

Exit

Return evidence-backed results and disclose failed routes or source limitations. A domain score alone does not verify an individual claim.

Logical Operations

Canonical workflow path

  1. Parse the query and explicit flags. Use resources/intent-rules.md only when classification is needed; select one route unless ambiguity requires more.
  2. Dispatch using Routes. Load resources/execution-protocol.md for the selected channel's command flags, fetch strategies, or normalization details.
  3. Collect source references and deduplicate by URL. For non-local results, resolve domain trust using resources/trust-registry.md; reuse the current session cache. Apply --strict after scoring.
  4. Rank by relevance, using trust as a tiebreaker. Return the requested answer or source list with supporting references and fallback limitations.

CLI entry points

oma search code "<query>" [--host gitlab] [--language <lang>] [--repo <owner/repo>]
oma search trust <domain>
oma search fetch <url>

The CLI also exposes api, api:search, meta, rss, rss:google, media, archive, and doctor; use a primitive only when the selected route needs it.

Guardrails

  • Explicit route/source constraints take precedence over automatic classification.
  • Score at domain level, not URL-path or page level. Use the CLI registry and the documented Context7/official-site exceptions; do not invent scores.
  • Do not duplicate successful routes or search locally via the web.
  • Use available runtime web tools and the configured local provider; do not install or track a repository automatically.

Resource scope and effects

Search may contact external services or inspect local code and spawn gh/glab processes. Query constraints, selected sources, and trust metadata are session context; persistent caches belong in generated state, not skill definitions.

References

  • Intent classifier: resources/intent-rules.md (no explicit route or ambiguous query)
  • Route execution detail: resources/execution-protocol.md (selected channel only)
  • Trust resolution and cache rules: resources/trust-registry.md (non-local sources)
  • Recovery detail: resources/error-playbook.md (route failures)
  • Result checklist: resources/checklist.md (applicable route checks)
  • Examples: resources/examples.md (unfamiliar input/output contracts)
  • Local code-intelligence contract: ../_shared/core/code-intelligence.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design-first ideation workflow — explore user intent, clarify constraints, propose approaches, and produce an approved design document before planning

中文简介正在准备中。当前显示原文说明。

gracefullight/pkgs42026年10月18日 更新

commit

免费

Generate Conventional Commits spec git commits (auto-separate by feature)

中文简介正在准备中。当前显示原文说明。

gracefullight/pkgs42026年10月18日 更新

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' or 'competitive landing pages.' Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. Emphasizes deep research, modular content architecture, and varied section types beyond feature tables.

中文简介正在准备中。当前显示原文说明。

gracefullight/pkgs42026年10月18日 更新

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," or "content planning." For writing individual pieces, see copywriting. For SEO-specific audits, see seo-audit.

中文简介正在准备中。当前显示原文说明。

gracefullight/pkgs42026年10月18日 更新

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' or 'copy sweep.' This skill provides a systematic approach to editing marketing copy through multiple focused passes.

中文简介正在准备中。当前显示原文说明。

gracefullight/pkgs42026年10月18日 更新

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," or "CTA copy." For email copy, see email-sequence. For popup copy, see popup-cro.

中文简介正在准备中。当前显示原文说明。

gracefullight/pkgs42026年10月18日 更新

查看 gracefullight 的全部技能

报告此技能的问题