This repository has been archived on 2026-08-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

38 lines
832 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1.ClaudeCode每次使用某个工具或者某个技能的时候都要向我确认是否使用,是不是可以直接permission。(看起来在settings.json中可以配置,类似如下:)
```
{
  "permissions": {
    "allow": [
      "Bash(python3:*)",
      "mcp__plugin_episodic-memory_episodic-memory__search",
      "Bash(git add:*)",
      "Bash(git commit:*)",
      "Bash(git push)"
    ],
    "deny": [],
    "ask": []
  }
}
```
包括:
- 使用技能Skill(*)
- 使用网络搜索WebSearch
- 创建文件
2.Hook
```
"hooks": {
    "SessionStart": [
      {
        "matcher": "startup",
        "hooks":[
          {
            "type": "command",
            "command":"python -c 'print('Hello')'"
          }
        ]
      }
    ]
  },
```