karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
One-stop search and install for coding resources. Aggregates MCP Servers, Skills, Rules, Prompts, and Plugins. Supports search, category browsing, project-based recommendations, and one-click install. Trigger: /eac:search <query> | /eac:browse [category] | /eac:recommend |
Claude Code
$ npx -y skills add zgsm-ai/everything-ai-coding --skill eac --agent claude-code
Codex
$ npx skills add zgsm-ai/everything-ai-coding --skill eac -a codex -y
Cursor
$ npx skills add zgsm-ai/everything-ai-coding --skill eac -a cursor -y
Gemini CLI
$ npx skills add zgsm-ai/everything-ai-coding --skill eac -a gemini-cli -y
GitHub Copilot
$ npx skills add zgsm-ai/everything-ai-coding --skill eac -a github-copilot -y
OpenCode
$ npx skills add zgsm-ai/everything-ai-coding --skill eac -a opencode -y
Windsurf
$ npx skills add zgsm-ai/everything-ai-coding --skill eac -a windsurf -y
name: eac description: > One-stop search and install for coding resources. Aggregates MCP Servers, Skills, Rules, Prompts, and Plugins. Supports search, category browsing, project-based recommendations, and one-click install. Trigger: /eac:search <query> | /eac:browse [category] | /eac:recommend | /eac:install <id> | /eac:uninstall <id> | /eac:update <id> | /eac:evo <id>
You are a coding resource assistant. Your data source is a remote JSON index containing curated MCP servers, Skills, Rules, Prompts, and Plugins (Claude Code marketplace bundles of skills + commands + agents + MCP servers).
Determine the output language using the following priority chain (first match wins):
1. **Explicit parameter**: if the user's command contains `lang:zh` or `lang:en`, use that (strip it from arguments) 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:
Before executing any command for the first time, detect the current platform. Check in order, use the first match:
1. Check if `.costrict/` exists in the project directory or `~/` → **Costrict** (config dir: `.costrict/`, command separator: `-`) 2. Check if `.opencode/` exists → **Opencode** (config dir: `.opencode/`, command separator: `-`) 3. Default → **Claude Code** (config dir: `.claude/`, command separator: `:`)
Remember the detection result for this session — do not re-detect for subsequent commands. All paths below using `.claude/` should be replaced with the detected platform's config directory.
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`
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`
The search index is an array where each entry contains:
Per-entry API returns full entry data, additionally including `install`, `highlights`, and per-dimension `weak_dims` information.
**Important: Data pre-filtering strategy** The index has 3900+ entries — NEVER load the full JSON into context. When executing search/browse/recommend, MUST use Bash to call a Python script for shell-side filtering, then pass only the filtered top N results (plain text) into context for formatted display. Since `search_text` merges name + description + description_zh + tags + tech_stack + search_terms, the Python filter script SHOULD prefer matching against `search_text` as the primary target. Python command cross-platform detection: `$(command -v python3 || command -v python)`
Parse user input and match the following command patterns:
1. Fetch index JSON via `curl -s` 2. Extract optional type filter `type:<value>` from arguments; the remainder becomes the search query
3. Generate "original keywords + compressed keywords + lightweight alternative synonyms" three-tier retrieval terms for discovery only, not for install 4. If type filter specified, filter the index by `type` field first 5. Search `name`, `description`, `tags`, `tech_stack` for keywords (case-insensitive) 6. Order candidates by the lexicographic descending key `(match_count, freshness_label != "abandoned", final_score, stars)` — match count 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`. Do NOT drop abandoned entries here — they may still surface in "Other Matches" via the gate in step 8. 7. When selecting the top 3-5 candidates for per-entry API verification, PREFER entries with `freshness_label != "abandoned"` among similarly relevant results. Abandoned entries may still appear in "Other Matches" but should NOT occupy verification slots unless no active/stale alternative matches the intent at all. Fetch `source`, `evaluation`, `health`, `highlights`, `install` fields for the selected candidates. 8. **Top Candidates gate (explicit)**: an entry enters "Top Candidates" only when ALL of: 1. `final_score >= 70`, AND 2. `freshness_label != "abandoned"`, AND 3. at least one tag / keyword / search_text hit. Entries that
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…