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

832 B

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')'"
          }
        ]
      }
    ]
  },