demo-skill

Claude Code v2.1 デモ用スキル - YAML形式のallowed-toolsをテスト

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026⬇️2downloads

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.
namedemo-skill
description"Claude Code v2.1 デモ用スキル - YAML形式のallowed-toolsをテスト"
- Bash(echo*)
- Bash(ls*)
- Bash(cat*)
user-invocabletrue

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 により、スラッシュコマンドメニューに表示されます。

使い方

  1. ファイル一覧を表示: ls -la
  2. ファイル内容を読む: cat ファイル名
  3. メッセージを表示: echo "Hello"

確認ポイント

  • スキルが自動発見される
  • 実行中にプログレスが表示される
  • allowed-tools の制限が適用される