本文へ移動
cccskills
無料GitHub で公開日本語紹介

zcode-configuration-guide

ZCodeのスキル、コマンド、MCPサーバー、フック、プラグインやAGENTS.mdの設定場所と優先順位を整理し、用途に合う配置を選ぶためのガイドです。

原文原文の説明を見る

Use when configuring ZCode's extension resources (MCP servers, slash commands, skills, hooks, and plugins) or instruction files such as AGENTS.md in the ZCode client. Explains where each resource is configured at the user and workspace scope, the discovery order, precedence, and merge rules, plus guidance on which location to choose. Use when someone asks how to add an MCP server, command, skill, hook, plugin, or AGENTS.md instructions, where a configuration file lives, why a configuration is not taking effect, or needs routing to a specific diagnostic skill.

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 個人用とチーム共有の設定場所を選びたいとき
  • MCPサーバーやフックの設定場所を知りたいとき
  • 設定の優先順位や競合を確認したいとき
  • AGENTS.mdの適用範囲を整理したいとき

日本語での紹介

できること

ZCodeで使うスキル、スラッシュコマンド、MCPサーバー、フック、プラグインと、エージェントへの指示ファイルAGENTS.mdについて、設定ファイルの場所と適用範囲を案内します。ユーザー設定とワークスペース設定の違い、各リソースの探索順、同名項目がある場合の優先順位や統合ルールを確認できます。個人用の設定を全プロジェクトに適用するか、リポジトリに置いてチームで共有するかなど、目的に合った配置の選び方も説明します。設定が反映されない場合は、MCPやスキルなど症状に応じた診断スキルへ案内します。

こんなときに便利

ZCodeに新しいスキルやコマンドを追加したいとき、MCPサーバーやフックの設定場所を知りたいときに使えます。個人用とプロジェクト共有用の設定を分けたい場合や、複数の設定が競合してどれが適用されるのか確認したい場合にも役立ちます。機密情報をリポジトリに含めない配置方法も扱います。

使い方の例

  • 「チームで共有するスキルはどこに置けばよいですか」
  • 「ZCodeでMCPサーバーを追加する設定場所を教えてください」
  • 「ユーザー設定とリポジトリのAGENTS.mdはどう適用されますか」

注意点

設定方法はZCodeクライアントを対象としています。MCPサーバーはワークスペース設定からも自動接続されるため、信頼できるプロジェクトだけを開くよう案内しています。シークレットはバージョン管理に含めず、環境変数またはローカル設定を使います。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

資料チェック

SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。

安全面送信・削除・コマンド実行などの扱いが明示されているか
B一部不足ワークスペースのMCPは自動接続されると明記しますが、信頼済み範囲の設定確認は詳述されていません。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
A良好ユーザー・ワークスペース別の設定パスと代替形式を具体的に示しています。

点数には入れていません。 2026年10月24日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md9.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

ZCode Configuration Guide

ZCode supports five types of extension resources, plus AGENTS.md instruction files. This skill is the map: it tells you where each resource is configured and how conflicts are resolved. For "something is not working, how do I fix it," follow the routing to the diagnosing-* skills at the end.

How things are configured

There are two ways to work with configuration in the ZCode client, and this plugin serves both:

  • A person manages resources through the client's graphical interface — Settings → Plugin Management, Settings → Skills, Settings → Subagents, Settings → MCP, and the / menu in the input box.
  • An agent repairs configuration by reading and editing the underlying files directly with its file tools. The locations and rules below are what an agent uses to find the right file and field.

Scopes and the main configuration files

  • User scope — lives under your home directory and applies to every workspace.
  • Workspace scope — lives inside a repository and applies only to that project; can be shared with a team through version control.
  • User configuration file: ~/.zcode/cli/config.json. Holds MCP servers, hooks, plugin enable/disable state, and skill/command disable overrides.
  • Workspace configuration file: <repo>/.zcode/config.json (or <repo>/zcode.json).
  • User instruction file: ~/.zcode/AGENTS.md. Applies as default instructions for every workspace.
  • Workspace instruction file: <repo>/AGENTS.md. Applies only to that project; the current workspace path is searched upward until the project root.

The five resources at a glance

ResourceFormUser scopeWorkspace scopeConflict rule
SkillsDirectory + SKILL.md~/.zcode/skills/, ~/.agents/skills/<repo>/.zcode/skills/, <repo>/.agents/skills/Identity is the file path; on load the first same-named skill wins (user scope has priority)
Commands.md file~/.zcode/commands/, ~/.agents/commands/<repo>/.zcode/commands/, <repo>/.agents/commands/Deduplicated by normalized command name; first match wins (user scope overrides workspace), the loser is ignored
MCPJSON object~/.zcode/cli/config.json → mcp.servers (fallback ~/.agents/mcp.json → mcpServers)<repo>/.zcode/config.json → mcp.servers (fallback <repo>/.agents/mcp.json → mcpServers)User overrides workspace for a same-named server; workspace-scoped servers are trusted and auto-connected by default, same as user-scoped
Hookshooks.json / config object~/.zcode/cli/config.json → hooks<repo>/.zcode/config.json → hooksConfiguration-file hooks require hooks.enabled: true; plugin hooks are appended
PluginsDirectory + plugin.jsonInstalled from a marketplace; enable/disable state stored in ~/.zcode/cli/config.json—A plugin contributes skills, commands, hooks, MCP servers, and agents
InstructionsAGENTS.md file~/.zcode/AGENTS.md<repo>/AGENTS.mdUser default instructions load first, then workspace instructions load later so the workspace can narrow or override broad defaults

Note: .agents/mcp.json is a compatibility fallback for MCP. Within each scope the client reads .zcode first; only if that scope has no MCP servers does it fall back to .agents/mcp.json (which uses a top-level mcpServers key, whereas .zcode uses nested mcp.servers).

Instructions / AGENTS.md: merge order

AGENTS.md is not a skill, command, hook, MCP server, or plugin. It is the instruction file ZCode loads into the model context for broad behavior rules.

  • User scope: ~/.zcode/AGENTS.md. Use this for personal defaults that should apply in every workspace, such as preferred language, review style, or local workflow conventions.
  • Workspace scope: <repo>/AGENTS.md. Use this for repository-specific rules that should be shared with the project, such as architecture boundaries, logging rules, testing requirements, and commit/MR policy.
  • Resolution: ZCode searches for the workspace AGENTS.md from the current working directory upward until the detected project root. The user default file is resolved from the user's home directory.
  • Merge order: when both files exist, ZCode injects ~/.zcode/AGENTS.md first, then the resolved workspace AGENTS.md. Workspace instructions appear later, so they can narrow or override broad user defaults for that repository.
  • Migration and creation: onboarding can copy existing user memory from ~/.claude/CLAUDE.md into ~/.zcode/AGENTS.md. The built-in /init command targets the current workspace AGENTS.md, creating or updating repository instructions instead of editing the user default file.

Skills and commands: discovery order (identical)

Locations are scanned in this order (earlier locations take precedence):

  1. Explicitly configured roots
  2. User ~/.zcode/skills (or commands)
  3. User ~/.agents/skills
  4. Workspace .zcode/skills (from the current directory up to the repository root; every level counts)
  5. Workspace .agents/skills
  6. Enabled plugin roots (lowest precedence)

Within a level, .zcode is scanned before .agents. A deeper working-directory location takes precedence over a repository-root location.

  • Skills merge: identity is the file path, so same-named skills at different paths are all discovered, but only the first in discovery order is loaded — higher-precedence copies shadow the rest.
  • Commands merge: the key is the normalized command name, and the first match wins; duplicates are ignored. Nested directories join into the name with a colon: review/code.md becomes /review:code (not /review/code).

MCP: merge and auto-connect

  • Override order for a same-named server: CLI override → environment → user → workspace → system defaults. In short, user overrides workspace. Plugin-provided servers form the base layer and are overridden by explicit configuration.
  • Auto-connect: MCP servers from every scope — user, workspace, plugin, environment, and CLI — are trusted and connected automatically at session start. (Workspace-scoped servers were previously untrusted and required manual authorization; they now connect by default like any other scope.) Use Settings → MCP to inspect status and repair server configuration.

Hooks: essentials

  • Supported events (exactly seven): SessionStart, UserPromptSubmit, PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, Stop.
  • Configuration-file hooks must set hooks.enabled: true to run (disabled by default). When any plugin contributes a hook, the hook runner is enabled automatically.

Plugins: essentials

  • Managed in Settings → Plugin Management (the Installed and Discover tabs). A plugin directory carries a manifest at .zcode-plugin/plugin.json (the compatibility names .claude-plugin/ and .codex-plugin/ are also recognized). The minimal manifest requires only name (matching ^[a-z0-9][a-z0-9._-]{0,127}$).
  • Component fields: commands, skills, hooks, mcpServers, agents (each may be a directory name, an array, or inline). The fields channels, lspServers, outputStyles, and settings are recorded but not executed.
  • Enable/disable state is stored under plugins in ~/.zcode/cli/config.json. A built-in plugin can be disabled but not uninstalled.
  • Marketplaces can be added (via the + button on the Discover tab) from a GitHub repository, a Git URL, a local directory, or a file.

Choosing where to configure

  • Personal, used across projects → user scope (~/.zcode/... or ~/.agents/...).
  • Team- or project-shared, versioned with the repository → workspace scope (<repo>/.zcode/... or .agents/...).
  • Shared with other coding agents that read ~/.agents/skills/ → put skills there; to override a same-named skill only inside ZCode, use .zcode/skills/.
  • Personal default instructions → ~/.zcode/AGENTS.md; repository-specific instructions → <repo>/AGENTS.md. If both exist, keep broad preferences in the user file and project rules in the workspace file.
  • MCP servers → user configuration for personal servers, or workspace configuration to share with a team; both scopes connect automatically. Because opening a project now auto-connects the MCP servers declared in its configuration, only open workspaces you trust.
  • Secrets → never commit them to version control; use environment variables or local settings.

When something is wrong — route to a diagnostic skill

When a configuration is read but has no effect, or reports an error, load the matching skill. Each provides a symptom → cause → check → fix workflow, covering both what to click in the client and which file and field an agent should edit:

  • MCP server not connecting, tools missing, untrusted, or timing out → diagnosing-mcp
  • A skill is not discovered, not triggering, shadowed, or disabled → diagnosing-skills
  • A /command is missing, overridden, has a frontmatter error, or arguments do not substitute → diagnosing-commands
  • A hook does not trigger, its matcher does not match, its script is not executable, or it blocks unexpectedly → diagnosing-hooks
  • A plugin is not listed, fails to install, has missing components, or is not enabled → diagnosing-plugins

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

3d-object

無料概要あり

立体物をthree.jsで作成し、あらゆる角度から確認できるビューアーに表示します。OBJ + MTLやGLBで保存し、他の3D制作ソフトへ持ち込めます。

  • 立体物を作って全方向から確認したいとき
  • Blenderで編集するモデルの作成
  • シルエットや素材の見え方の確認
asgeirtj/system_prompts_leaks7万2026年10月24日 更新

action-items

無料概要あり

個人用のタスク一覧に、やることや期限、返答待ち、作業が止まる理由を記録します。進捗や依存関係を更新し、重複や完了済みの項目も整理するスキルです。

  • 期限付きのタスクや約束の記録
  • 返答待ちや作業が止まる理由の整理
  • 前提タスク完了後の依存関係の更新
asgeirtj/system_prompts_leaks7万2026年10月24日 更新

agents

無料概要あり

作業の目標と完了条件を整理し、必要に応じて複数のエージェントへ分担します。進捗報告、成果の検証、PRのマージまで、プロジェクトとして進行を管理します。

  • 独立した作業を並行して進めたいとき
  • 進行中の各作業の状況確認
  • 中断したプロジェクトの再開
asgeirtj/system_prompts_leaks7万2026年10月24日 更新

animated-video

無料概要あり

再生・一時停止や時間位置の指定ができるアニメーションをHTMLページとして制作します。場面の長さや速度を調整し、横長・縦長の動画書き出しに備えます。

  • 製品の操作紹介を動画にしたいとき
  • 文字と図形で内容を説明したいとき
  • 縦長のアニメーション制作
asgeirtj/system_prompts_leaks7万2026年10月24日 更新

apple_healthkit

無料概要あり

Apple Healthに同期された歩数や心拍数、睡眠、ワークアウトの記録を期間別に確認し、日々の変化や同期状況、データの欠けを調べます。

  • 歩数や心拍数の推移を確認したいとき
  • 睡眠段階や時間、中途覚醒の確認
  • 運動時間・距離・消費カロリーの振り返り
asgeirtj/system_prompts_leaks7万2026年10月24日 更新

artifact_document

無料概要あり

Word文書やテンプレートの作成・編集、内容の抽出、画像の差し替えに対応し、見出しや箇条書きの構造を整えて、全ページの表示まで確認します。

  • 構造を整えたWord文書の作成
  • 既存文書の内容を整理したいとき
  • 文書内の画像や文章の差し替え
asgeirtj/system_prompts_leaks7万2026年10月24日 更新

asgeirtj のスキルをすべて見る

このスキルの問題を報告する