browse
CommandBrowse coding resource categories. Usage: /eac:browse [category] [type:mcp|skill|rule|prompt|plugin]
Install a coding resource. Usage: /eac-install <id>
$ npx -y skills add zgsm-ai/everything-ai-coding --agent claude-code
description: 'Install a coding resource. Usage: /eac-install <id>' argument-hint: resource id
$ARGUMENTS
---
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 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:
Whenever a prompt asks the user to pick an option with letters (Y / n / edit / global / …), ALWAYS render each option with an explicit label describing what it does — never leave bare letters in Chinese output, as the letter alone is ambiguous. Use these bilingual templates:
| Pattern | English | Chinese | |---------|---------|---------| | `Y/n` (simple confirm) | `(Y = yes / n = no, skip)` | `(Y = 是,继续 / n = 否,跳过)` | | `Y/n` (keep-original preferred) | `(Y = customize it / n = keep original (recommended))` | `(Y = 开始定制 / n = 保持原样(默认推荐))` | | `Y/n/edit` (apply/adjust/reject) | `(Y = apply as shown / n = discard, keep original / edit = tell me what to tweak)` | `(Y = 应用改动 / n = 放弃,保留原样 / edit = 告诉我怎么改)` | | `Y/n/global` (install scope) | `(Y = install to current project / n = cancel / global = install to ~/.claude)` | `(Y = 装到当前项目 / n = 取消 / global = 装到全局 ~/.claude)` |
Every prompt line in this document that shows bare `(Y/n)` / `(Y/n/edit)` / `(Y/n/global)` MUST be expanded to the corresponding labeled form at render time.
**Note**: Apply GitHub Network Detection rules (see SKILL.md) to all GitHub URLs below. If `[network-config]` specifies a proxy, rewrite URLs accordingly.
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`
1. Extract resource ID from `$ARGUMENTS` 2. Look up entry by ID via per-entry API (requires determining type and id from search index first):
4. Show install preview (in user's language):
Structure: Section: "Install Confirmation" - Name: xxx - Type: MCP Server - Description: (use description_zh or description per Language Rule) - Source: xxx - Target: .claude/settings.json (project-level) - [if type is rule/prompt/skill]: "✨ Supports customization — you can tailor this to your project after install" Prompt: "Confirm install? (Y/n/global)"
Do NOT show the customization hint for MCP or plugin types.
For `plugin` type, the `(Y/n/global)` prompt collapses to `(Y/n)` — plugins are always user-global, no project-level scope exists. Render as `(Y = enable in ~/.claude / n = cancel)` in English, `(Y = 启用到 ~/.claude / n = 取消)` in Chinese.
For `plugin` type, the `Target` line should read `~/.claude/settings.json (user-global, plugins have no project scope)`.
5. Execute installation based on user confirmation and resource type:
When the installed MCP config contains `env` fields (API keys, tokens, connection strings, etc.):
1. **Detect unconfigured env vars** — any env value that is empty, contains `<`, `YOUR_`, or placeholder-like patterns 2. **Fetch the project README for setup guidance**:
3. **Present actionable guidance** to the user (in detected language):
Structure:
Section: "Configuration Required"
Per env var:
- KEY_NAME: [guidance extracted from README — how to obtain, signup URL, etc.]
Action: "Would you like me to help you fill in these values now?"4. **If user provides values**, update the settings.json entry directly 5. **If README is unavailable**, fall back to showing env var names and `source_url` link
No pre-built install config in the index — infer install method from project README. Steps:
**Step 1: Fetch README**
Browse coding resource categories. Usage: /eac:browse [category] [type:mcp|skill|rule|prompt|plugin]
Evolve a locally installed skill / prompt / rule. Usage: /eac:evo <id>
Recommend coding resources based on current project stack. Usage: /eac:recommend [type:mcp|skill|rule|prompt|plugin]
Search coding resources (MCP/Skills/Rules/Prompts/Plugins). Usage: /eac:search <query>
Run or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…
Create or update an OpenCode skill using the bundled skill-creator workflow
Add a skill to the project with validation and README generation