Skip to content
Skill Authoring
Command

/search

Search coding resources (MCP/Skills/Rules/Prompts/Plugins). Usage: /eac:search <query>

From plugin
everything-ai-coding
20714 skills14 commands
$ npx -y skills add zgsm-ai/everything-ai-coding --agent claude-code

Command definition

search.md
description: 'Search coding resources (MCP/Skills/Rules/Prompts/Plugins). Usage: /eac:search <query>'

Everything AI Coding - Search

$ARGUMENTS

---

Language Detection

Determine the output language using the following priority chain (first match wins):

1. **Explicit parameter**: if `$ARGUMENTS` contains `lang:zh` or `lang:en`, use that (strip it from the search query) 2. **Conversation signal**: if the user's recent messages are clearly in one language, follow that 3. **System locale fallback**: run `echo $LANG` in Bash — if the value starts with `zh` (e.g. `zh_CN.UTF-8`), use Chinese; otherwise use English

Once determined, apply consistently:

  • **All output** (section titles, table headers, labels, helper text) MUST be in the detected language.
  • For the Description column in tables: use `description_zh` for Chinese, `description` for English.
  • For candidate detail text (why-it-fits, basis): generate in the detected language.
  • Command references (e.g. `/eac:install <id>`) stay as-is regardless of language.

Data Sources

**Note**: Apply GitHub Network Detection rules (see SKILL.md) to all GitHub URLs below. If `[network-config]` specifies a proxy, rewrite URLs accordingly.

Search index URL: `https://zgsm-ai.github.io/everything-ai-coding/api/v1/search-index.json` Fallback URL: `https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main/catalog/search-index.json` Local fallback: `/Volumes/Work/Projects/everything-ai-coding/catalog/search-index.json` Per-entry API: `https://zgsm-ai.github.io/everything-ai-coding/api/v1/{type}/{id}.json` Full index fallback: `https://raw.githubusercontent.com/zgsm-ai/everything-ai-coding/main/catalog/index.json`

Execution Flow

Extract the search query and optional type filter from $ARGUMENTS, then run Bash pre-filtering. **Note: search hits are NOT recommendations — only gate-verified candidates may be labeled as such.**

1. Extract search keywords and optional type filter from `$ARGUMENTS`

  • Supports `type:mcp`, `type:skill`, `type:rule`, `type:prompt`, `type:plugin` filters
  • Example: `/eac:search typescript type:mcp` — search MCP type only; `/eac:search debugging type:plugin` — search plugins only
  • If `type:<value>` is present, extract it as a filter; the rest becomes the search query

2. Generate up to 3 retrieval keyword sets for discovery:

  • **Original keywords**: the user's actual query
  • **Compressed keywords**: strip filler words (e.g. "help me", "I want", "please find", "帮我", "怎么", "有没有", "想找", "请问"), keep "domain + task" core terms
  • **Alternative synonyms**: add one lightweight alternative only when obvious, e.g. `deploy → deployment/ci-cd/release/publish`, `pr review → code review/pull request review`, `readme → docs`
  • NEVER rewrite install targets for aesthetics; rewrites are for search recall only
  • **Broad intent suppression**: for head queries like "deploy / release / publish", prioritize direct-action results (deploy workflows, CI/CD, platform publishing); push changelog / release notes to the supplementary section unless the query explicitly mentions "release notes"

3. Download index to temp file: `curl -sf --compressed <index URL> -o "$TMPDIR/everything-ai-coding-index.json"`

  • If curl fails, try Fallback URL: `curl -sf --compressed <Fallback URL> -o "$TMPDIR/everything-ai-coding-index.json"`
  • If still failing, use local fallback path

4. Pre-filter with Python (cross-platform: use `$(command -v python3 || command -v python)`):

  • Load JSON file
  • If entries have a `search_text` field, match all keywords against `search_text` (case-insensitive)
  • Otherwise fall back to matching against `name`, `description`, `tags`, `tech_stack` separately (backward compatible)
  • If type filter specified, filter by `type` field first
  • Score each entry by the lexicographic descending key `(match_count, freshness_label != "abandoned", final_score, stars)` — `match_count` (number of distinct keywords matched) is the primary relevance signal; within equal relevance, non-abandoned entries outrank abandoned ones (sorting `True > False`); within the same relevance + freshness tier, `final_score` breaks ties ahead of `stars`. Treat missing `freshness_label` as not-abandoned and missing `final_score` as `0`. Do NOT drop abandoned entries here — the gate in step 7 handles them, and they may still surface in "Other Matches".
  • Keep `freshness_label` in the TSV so step 5 can apply the freshness preference and step 8 can render the stale warning: emit `id\ttype\tcategory\tstars\tfinal_score\tdecision\tfreshness_label\tdescription\tdescription_zh` (output top 30 candidates)

5. **Semantic reranking**: From the 30 candidates, YOU (Claude) read all entries' name + description and judge their relevance to the user's ORIGINAL query intent. Pick the top 5 most semantically relevant candidates. Consider:

  • Direct functional match (tool does exactly what user asked)
  • Closely related tools (solves the same problem from a different angle)
  • Do NOT simply pick by stars or score — prioritize semantic fit
  • **Freshness preference**: when two candidates are similarly relevant semantically, PREFER entries with `freshness_label != "abandoned"`. Abandoned entries can still appear in "Other Matches" but should NOT occupy verification slots unless no active/stale alternative matches the intent at all. If the shortlist genuinely has no active/stale matches, it is acceptable to verify abandoned candidates and note the staleness in the output.
  • If none of the 30 are relevant, say so honestly

6. For the top 5 semantically selected candidates, fetch per-entry API for verification:

  • Prefer `https://.../api/v1/{type}/{id}.json`
  • If per-entry API fails, fall back to full index and filter by `id`
  • Extract `source`, `evaluation`, `health`, `install`, `source_url`, `tags`, `highlights`, `weak_dims`, `freshness_label` fields — only pull a small number of directly usable signals

7. **

Read more
@zgsm-ai
Ships witheverything-ai-coding

聚合精选编程 AI 扩展资源:MCP Servers、Skills、Rules、Prompts,周更索引 + 一键安装。

Stars on GitHub

Momentum

stars in total
207
Star history of zgsm-ai/everything-ai-coding on GitHub, a chart by star-history.com

Other commands on everything-ai-coding.

More commands from other plugins.

skillopt-sleep

skillopt-sleep

Command

Run or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…

@microsoft@microsoftInstall Command