Agent skill
claude-config
Claude Code設定管理。settings.json、hooks、agents、skillsの確認・編集。トリガー: claude設定, hooks, settings, claude config, エージェント設定
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/claude-config
SKILL.md
claude-config スキル
Claude Code設定ファイルの確認・編集を行う。
管理対象ファイル
| ファイル/ディレクトリ | 説明 | symlink先 |
|---|---|---|
claude/settings.json |
Claude Code設定 | ~/.claude/settings.json |
claude/statusline.sh |
ステータスライン表示 | ~/.claude/statusline.sh |
claude/CLAUDE.md |
ユーザーグローバル指示 | ~/.claude/CLAUDE.md |
claude/hooks/ |
PostToolUseフック | ~/.claude/hooks/ |
claude/agents/ |
カスタムエージェント | ~/.claude/agents/ |
.claude/skills/ |
カスタムスキル | プロジェクトレベル |
コマンド
settings.json確認
cat /Users/snkrheadz/ghq/github.com/snkrheadz/laptop/claude/settings.json
symlinkの状態確認
ls -la ~/.claude/
ls -la ~/.claude/settings.json
ls -la ~/.claude/hooks/
ls -la ~/.claude/agents/
agents一覧
ls -la /Users/snkrheadz/ghq/github.com/snkrheadz/laptop/claude/agents/
skills一覧
ls -la /Users/snkrheadz/ghq/github.com/snkrheadz/laptop/.claude/skills/
hooks一覧
ls -la /Users/snkrheadz/ghq/github.com/snkrheadz/laptop/claude/hooks/
CLAUDE.md確認
cat /Users/snkrheadz/ghq/github.com/snkrheadz/laptop/claude/CLAUDE.md | head -100
statusline.sh確認
cat /Users/snkrheadz/ghq/github.com/snkrheadz/laptop/claude/statusline.sh
settings.jsonの構造
{
"hooks": {
"PostToolUse": [...],
"Stop": [...]
},
"plugins": {
"allowed": [...]
},
"permissions": {
"allow": [...],
"deny": [...]
},
"statusLine": "shell:/path/to/statusline.sh"
}
Hooksの設定
PostToolUse
ツール実行後に自動実行されるフック。
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "shellcheck -x \"$CLAUDE_FILE_PATH\"",
"condition": "glob:.sh"
}
]
}
]
}
}
実行フロー
設定確認
- settings.jsonの内容確認
- symlinkの状態確認
- 利用可能なagents/skillsの一覧表示
設定変更
- 変更対象ファイルの確認
- 変更内容のレビュー
- ファイル編集
- Claude Code再起動の案内
使用例
- "Claude設定を確認"
- "settings.jsonを見せて"
- "利用可能なagentsを一覧"
- "hooksの設定を確認"
- "skillsを一覧"
Skills(プロジェクトレベル)
| スキル | トリガー |
|---|---|
brew-manage |
brew, homebrew, package |
dotfiles-rollback |
rollback, backup, restore |
dotfiles-sync |
sync, 同期, push |
mise-runtime |
mise, runtime, node, go |
security-check |
security, gitleaks, scan |
zsh-config |
zsh, shell, alias |
health-check |
健全性, 診断, check |
symlink-manage |
symlink, link, リンク |
git-config |
git config, gitconfig |
launchd-manage |
launchd, auto-sync |
claude-config |
claude設定, hooks |
tmux-config |
tmux |
new-machine-setup |
新マシン, setup |
Agents(ユーザーレベル)
| エージェント | 説明 |
|---|---|
verify-shell |
シェルスクリプト検証 |
diagnose-dotfiles |
問題診断 |
migration-assistant |
新マシン移行 |
注意事項
- 設定変更後はClaude Code再起動が必要
- settings.jsonの構文エラーに注意
- hooksのコマンドは絶対パスを使用
- agentsは
~/.claude/agents/に配置 - skillsはプロジェクトレベル(
.claude/skills/)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?