Communitygithub.com

ECC設定ガイド

Claude Code、Codex、Kimiの各環境でECCのインストール、更新、再設定を対話形式でガイドします。各プラットフォームに最適化された手順を提供します。

ECC設定ガイド とは?

このスキルは、AIエージェント環境(Claude Code、Codex、Kimi)内でEverything Claude Code(ECC)を設定、更新、または再構成するための対話型ウィザードです。各プラットフォームのネイティブなライフサイクルとコマンドを尊重し、一貫性のある安全な設定を実現します。具体的には、まず現在のインストール状況を棚卸しし、プラットフォームに応じた適切な設定項目(Claude Codeのスコープとフックモード、Codexのネイティブプラグインライフサイクル、Kimiのプロジェクト設定)を収集します。ユーザーに設定内容をプレビュー・確認させた後、非対話型のコマンドで適用し、最後に検証とウェルカム表示を行います。一時ディレクトリへのクローンや手動コピーは行わず、常にプラットフォームが提供する公式の設定経路を使用します。このスキルはECCのインストール後や再設定時に特に有用で、各プラットフォームの独自の仕様(Codexのフック信頼設定やClaude Codeのプラグインリスト挙動など)に正しく対応します。

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

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

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

ドキュメント

Everything Claude Codeの設定ガイド

現在の環境内で対話型ウィザードを実行します。まず棚卸しを実施し、サポートされている選択肢のみを収集し、プレビュー表示後、一度確認を受けてから非対話的に適用、検証し、成功後にのみウェルカム画面を表示します。ECCを一時ディレクトリにクローンしたり、プラグインコンポーネントを手動でコピーしたりしないでください。

人間が操作するターミナルでは、標準的なエントリポイントはecc setupとnpx ecc-universal setupです。AIエージェント環境内では、代わりに以下の明示的な非対話型コマンドを使用してください。

現在の環境に応じたルーティング

  • 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のプロバイダー所有の「Open home page」コントロールをインストールの証拠として解釈しないでください。複数のECCスコープ、レガシー/手動インストール、不正な設定、マーケットプレイスの競合があった場合は、setupが返す復旧方法を報告して停止します。どの状態を削除すべきか推測しないでください。

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/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

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.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

関連スキル