AI对话记录: 2026-03-05 (新格式)

This commit is contained in:
2026-03-06 14:55:54 +08:00
parent a2d4ae4393
commit 79e467f5cf
46 changed files with 3569 additions and 925 deletions
@@ -0,0 +1,37 @@
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')'"
          }
        ]
      }
    ]
  },
```