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
zq/10.项目/12-AI助手工作流优化/20-ClaudeCode/2026.1.28 速记.md
T
starmen1265 ea9a5c3b3f 初始提交:知识库工作区
- 00.收件箱
- 01.待办
- 10.项目
- 20.领域
- 30.资源
- 40.归档
- 50.模板
2026-03-03 18:25:09 +08:00

38 lines
832 B
Markdown
Raw 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')'"
          }
        ]
      }
    ]
  },
```