demo-skill
Claude Code v2.1 デモ用スキル - YAML形式のallowed-toolsをテスト
When & Why to Use This Skill
This Claude skill is a specialized demonstration utility designed for Claude Code v2.1. It showcases the implementation of the new YAML-based tool permission system and the 'user-invocable' feature, allowing developers to test and verify how agentic tools interact with the file system and shell environments under defined security constraints.
Use Cases
- Testing and validating YAML-formatted 'allowed-tools' configurations to ensure precise control over agent permissions.
- Demonstrating the integration of custom skills into the Claude Code slash command menu for improved user accessibility.
- Verifying basic file system operations such as listing directories and reading file contents within a sandboxed agent environment.
- Debugging the auto-discovery mechanism and execution progress visualization for new Claude Code v2.1 skill sets.
| name | demo-skill |
|---|---|
| description | "Claude Code v2.1 デモ用スキル - YAML形式のallowed-toolsをテスト" |
| - Bash(echo | *) |
| - Bash(ls | *) |
| - Bash(cat | *) |
| user-invocable | true |
Demo Skill - v2.1 新機能デモ
このスキルはClaude Code v2.1の新機能をデモンストレーションします。
機能
1. YAML形式 allowed-tools
このスキルでは新しいYAML形式でツール権限を定義しています:
allowed-tools:
- Read
- Bash(echo:*)
- Bash(ls:*)
2. user-invocable
user-invocable: true により、スラッシュコマンドメニューに表示されます。
使い方
- ファイル一覧を表示:
ls -la - ファイル内容を読む:
cat ファイル名 - メッセージを表示:
echo "Hello"
確認ポイント
- スキルが自動発見される
- 実行中にプログレスが表示される
- allowed-tools の制限が適用される