Communitygithub.com

configure-ecc

Claude Code、Codex、Kimi環境内でECCのインストール、アップデート、再構成をガイドし、各ハーネスに応じた設定を適用します。

configure-ecc とは?

このスキルは、Claude Code、Codex、KimiといったAIエージェントの実行環境(ハーネス)内で、「Everything Claude Code(ECC)」のインストール、アップデート、再構成を対話的にガイドします。利用者は、ハーネスに応じた適切な設定(スコープ、フックモード)を選択し、プレビューと確認を経て、非インタラクティブなコマンドで安全に適用できます。適用後は自動検証が行われ、成功時のみウェルカムメッセージが表示されるため、設定ミスや不完全なインストールを防止します。各ハーネス向けに個別の手順を備えており、例えばClaude Codeではフル機能のウィザード、Codexではネイティブプラグインのライフサイクルを尊重し、Kimiではプロジェクトサーフェスに限定したインストールを行います。このスキルはマルチハーネス対応の構成管理ツールであり、AIエージェント内でのセットアップ作業を効率化します。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/configure-ecc

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Configure Everything Claude Code

現在のハーネス内で対話型ウィザードを実行します。まずインベントリを取得し、サポートされている選択肢のみを収集し、プレビュー表示後、一度確認を求め、非インタラクティブに適用し、検証し、成功後にのみウェルカムを表示します。ECCを一時ディレクトリにクローンしたり、プラグインコンポーネントを手動でコピーしたりしないでください。

人間が操作するターミナルの場合、正規のエントリポイントは ecc setup と npx ecc-universal setup です。ハーネス内では、代わりに以下の明示的な非インタラクティブコマンドを使用してください。

現在のハーネスでルーティング

  • Claude Codeでは、以下の完全なスコープ・フックウィザードを使用します。
  • Codexでは、Codexのネイティブプラグインライフサイクルを使用します。Claudeのスコープを提供したり、ECCの4つのClaudeフックプロファイルをCodexにマッピングしたりしないでください。
  • Kimiでは、./.kimi-code 配下にプロジェクトサーフェスをインストールします。KimiはECCのClaudeライフサイクルフックプロファイルを提供しません。
  • ハーネスが不明な場合は、検出された証拠を述べ、変更を加えるコマンドを実行する前にどのハーネスを設定するかを尋ねてください。

このスキルはインストール後の再構成パスです。プロバイダの組み込み初回インストールUIを横取りしたり置き換えたりすることはできません。

Claude Code: 完全な対話型ウィザードを実行

1. 何も変更せずにインベントリを取得

両方のコマンドを実行し、インストールされているECCのスコープ、有効状態、マーケットプレイスソースを要約します:

claude plugin list --json
claude plugin marketplace list --json

単一の既存 ecc@ecc インストールを再構成として扱います。Claudeのプロバイダ所有の「ホームページを開く」コントロールをインストールの証拠として解釈しないでください。複数のECCスコープ、レガシー/手動インストール、不正な設定、またはマーケットプレイスの競合があった場合は、セットアップが返すリカバリを報告して停止します。どの状態を削除すべきか推測しないでください。

2. 正確に2つの選択肢を収集

スコープの質問を1つだけ行い、1つの値を必須とします:

  • user | project | local
  • user はこのユーザーのグローバル設定です。
  • project はリポジトリ設定を通じて共有されます。
  • local は現在のプロジェクトに限定されます。

選択されたスコープのみを視覚的に選択済みまたはインストール中としてマークします。ユーザーが単一の既存インストールから異なるスコープを選択した場合は、スコープ移行として説明し、以下のコマンドに --move-scope を含めます。

フックモードの質問を1つだけ行い、1つの値を必須とします:

  • off | minimal | standard | strict
  • off はスキルとコマンドを維持しますが、ECCフックの自動化を無効にします。
  • minimal は最も軽量なライフサイクルと安全自動化を有効にします。
  • standard は品質と安全自動化のバランスを取ります。
  • strict は最も強力なチェックとリマインダーを有効にします。

フックの選択は個人のClaudeプラグイン設定であり、選択されたインストールスコープには従いません。

3. プレビューして一度確認

プラグインにバンドルされたセットアップスクリプトを推奨します。2つの選択値を代入し、スコープ移行の場合のみ --move-scope を含めます:

node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

$CLAUDE_PLUGIN_ROOT が利用できない場合は、公開されたnpmパッケージを使用します:

npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

計画されたアクション、1つのスコープ、1つのフックモード、マーケットプレイスアクション、およびソースからデスティネーションへの移行を含む1つの確認サマリーを表示します。1つのはい/いいえの質問をします。ハーネスシェルツールを通じて裸の対話型 ecc setup を実行しないでください。そのシェルは通常非TTYです。

4. 明示的な選択を適用

確認後、--dry-run なしで同じルートを再実行します。すべての選択を明示的に保持し、JSONを要求して成功を決定論的に確認できるようにします:

node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

フォールバック:

npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

5. 検証してからウェルカムを表示

終了ステータスが0であり、セットアップ結果の scope と hooks が選択された値と一致することを必須とします。その後、独立して以下を実行します:

claude plugin list --json

選択されたスコープに有効な ecc@ecc エントリが1つだけ存在する場合にのみ続行します。$CLAUDE_PLUGIN_ROOT が利用可能な場合、成功したセットアップの action(installed、updated、migrated、resumed、または already-migrated)をバンドルされたレンダラーに渡します:

呼び出す前に、プロバイダが報告したバージョンが scripts/lib/terminal-welcome.js の ECC_VERSION_PATTERN と一致することを必須とします。予期しないバージョンテキストをシェルコマンドに展開する代わりに、拒否します。

node -e 'const { renderTerminalWelcome } = require(process.env.CLAUDE_PLUGIN_ROOT + "/scripts/lib/terminal-welcome"); process.stdout.write(renderTerminalWelcome({ action: process.argv[1], version: process.argv[2], color: process.stdout.isTTY }));' "<action>" "<installed-version>"

ウェルカムは正確に1回だけ表示します。失敗、ドライラン、キャンセル、スコープまたはフックの不一致、または検証不可能な状態の場合は、表示せず、エラーとリカバリを報告します。確認された変更後、ユーザーに /reload-plugins の実行またはClaude Codeの再起動を伝えます。

Codex: ネイティブプラグインライフサイクルを使用

codex plugin marketplace list --json と codex plugin list --available --json でインベントリを取得します。CodexのネイティブプラグインコマンドにはClaudeスタイルの user | project | local セレクタはありません。Codexネイティブプラグインはプロバイダ固有のフックをサポートしますが、Codexはそれらに明示的な信頼を要求します。Codexにその信頼判断を任せます。Claudeの4プロファイルフック質問をしたり、それらのプロファイルがCodexにマッピングされると主張したりしないでください。

ECCマーケットプレイスがない場合は追加します。それ以外の場合はスナップショットを更新します:

codex plugin marketplace add affaan-m/ECC
codex plugin marketplace upgrade ecc --json

1回の確認を求め、インストールするか、インストール済みキャッシュをべき等更新して検証します:

codex plugin add ecc@ecc --json
codex plugin list --json

JSONがECCのインストールを報告し、installedPath を提供する場合にのみ続行します。次に、検証されたバンドルのウェルカムを表示します:

Codex JSONが返す正確な絶対 installedPath のみを使用します。制御文字を拒否し、インストールされたバージョンが ECC_VERSION_PATTERN と一致することを必須とします。この引数配列で node を直接呼び出します。これはツールAPI呼び出しであり、シェルコマンドではありません:

["<installedPath>/scripts/welcome.js", "--action", "configured", "--version", "<installed-version>"]

現在のハーネスが個別の引数配列で実行可能ファイルを呼び出せない場合は、ウェルカムをスキップします。Codex JSON値からシェルコマンドを決して構築しないでください。

Claudeの off | minimal | standard | strict プロファイルがCodexに適用されたと決して主張しないでください。

Kimi: プロジェクトサーフェスをインストール

確認前に機能サマリーを表示:デスティネーション ./.kimi-code;ECCライフサイクルフックについては hooks=unsupported。Claudeのスコープやフックモードの質問はしないでください。まずプレビュー:

npx --yes --package ecc-universal ecc install --profile core --target kimi --dry-run

そのプロジェクトデスティネーションに対する1回の確認を表示し、--dry-run なしで同一コマンドを適用します。以下で検証:

npx --yes --package ecc-universal ecc doctor --target kimi

doctorが成功し、インストールされた指示とスキルが ./.kimi-code 内に残っている場合のみ、以下を表示:

npx --yes --package ecc-universal ecc welcome --action configured

KimiがECCライフサイクルフックをインストールまたは設定したと決して主張しないでください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

関連スキル