ポッドキャストに戻るClaude
Claude Code skills
Skills と他の Claude Code 機能の違い
Claw Code offers several customization options.
Claude Code にはいくつかのカスタマイズオプションがあります。
Skills, claw.md, sub aents, hooks, MCP servers.
Skills、CLAUDE.md、サブエージェント、hooks、MCP サーバー。
They solve different problems.
それぞれ異なる問題を解決します。
Knowing when to use each prevents you from building the wrong thing.
どれをいつ使うかを知ることで、誤った構築を防げます。
So, let's run them down.
では、それぞれ見ていきましょう。
Cloud.md loads into every conversation always.
CLAUDE.md はすべての会話に常に読み込まれます。
So, if you want claude to use TypeScript strict mode in this project, then put it in your cloud.
このプロジェクトで Claude に TypeScript の strict モードを使わせたい場合は、CLAUDE.md ファイルに記述してください。
MD file skills load on demand.
MD ファイルはここまで。Skills はオンデマンドで読み込まれます。
When Claude matches a request, your PR review checklist doesn't need to be in the context when you're writing a new code.
Claude がリクエストに一致すると、新しいコードを書いているときに PR レビューのチェックリストをコンテキストに含める必要はありません。
It activates when you ask for a review.
レビューを依頼したときに有効化されます。
So, use Claude MD for project-wise standards that always apply constraints like never modify the database schema, framework preferences, and coding style.
データベーススキーマを変更しない、フレームワーク設定、コーディングスタイルなど、常に適用されるプロジェクト規約には Claude MD を使用してください。
Then use skills for task specific expertise, knowledge that's only relevant sometimes, and detailed procedures that would clutter every conversation.
Skills は、タスク固有の専門知識、時々しか関係しない知識、すべての会話を煩雑にする詳細な手順に使用します。
Skills add knowledge to your current conversation.
Skills は現在の会話に知識を追加します。
When a skill activates, its instructions join the existing context.
Skill が有効化されると、その指示が既存のコンテキストに追加されます。
Sub aents run in a separate context.
サブエージェントは独立したコンテキストで動作します。
They receive a task, work on it independently, and return results.
タスクを受け取り、独立して処理し、結果を返します。
They're isolated from your main conversation.
メインの会話から隔離されています。
Use sub agents when you want to delegate a task to a separate execution context.
タスクを別の実行コンテキストに委任したい場合はサブエージェントを使用します。
You need different tool access that the main conversation does.
メインの会話とは異なるツールアクセスが必要な場合に使います。
You want isolation between delegated work and your main context.
委任した作業とメインのコンテキストを分離したい場合に使います。
Use skills when you want to enhance cla's knowledge for the current task.
現在のタスクに対して Claude の知識を強化したい場合は Skills を使用します。
The expertise applies throughout a conversation.
専門知識は会話全体を通じて適用されます。
Hooks fire on events.
Hooks はイベント発生時に動作します。
A hook might run a llinter every time Claude saves a file or validate input before certain tool calls.
Claude がファイルを保存するたびに linter を実行したり、特定のツール呼び出し前に入力を検証したりできます。
They're all event driven, while skills, they're request driven.
Hooks はイベント駆動型で、Skills はリクエスト駆動型です。
They activate based on what you're asking.
Skills はリクエスト内容に応じて有効化されます。
So use hooks for operations that should run on every file save, validation before specific tool calls, or automated side effects of clause actions.
ファイル保存のたびに実行する操作、特定のツール呼び出し前の検証、Claude の操作の自動的な副作用には hooks を使用してください。
Then use skills for knowledge that informs how claw handles requests, guidelines that affect clause reasoning.
Skills は、Claude のリクエスト処理方法に影響する知識や、Claude の推論に影響するガイドラインに使用します。
A typical setup might include a claw.md file for always on project standards, skills for task specific expertise, hooks for automated operations.
典型的な構成には、常時適用のプロジェクト規約のための CLAUDE.md、タスク固有の専門知識のための Skills、自動化操作のための hooks が含まれます。
Each handles its own specialty.
それぞれが独自の役割を担います。
Don't force everything into skills when another option fits best.
他のオプションの方が適している場合は、無理に Skills に詰め込まないでください。
You can use multiple at a time.
複数を同時に使用することもできます。
Skills provide automatic task specific expertise.
Skills は自動的にタスク固有の専門知識を提供します。
CloudMD is for always on instructions.
CLAUDE.md は常時適用の指示に使用します。
Sub aents run in isolated context.
サブエージェントは隔離されたコンテキストで動作します。
[music]
[音楽]
Hooks fire on events.
Hooks はイベント発生時に動作します。
MCP provides external tools.
MCP は外部ツールを提供します。
Use skills when you have knowledge that Claude should apply automatically when the topic is relevant and combine them with other features for comprehensive customization.
トピックに関連するときに Claude が自動的に適用すべき知識がある場合は Skills を使用し、他の機能と組み合わせて包括的なカスタマイズを実現してください。