{
{"$"}schema: "https://codecli.ai/config.json",
"model": "anthropic/claude-sonnet-4-20250514",
"small_model": "anthropic/claude-haiku-4-5-20251001",
"default_agent": "build",
"theme": "dark",
"permission_mode": "default",
"agent": {
"build": {
"model": "anthropic/claude-sonnet-4-20250514",
"temperature": 0.3,
"steps": 10,
"permission": { "edit": "ask", "bash": "ask" }
}
},
"mcp": {
"filesystem": {
"type": "local",
"command": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "."],
"enabled": true
}
},
"hooks": {
"post_tool_use": [{
"matcher": "write(*)",
"command": "npx prettier --write {"$"}1",
"timeout": 5000
}]
},
"permission": {
"read": "allow",
"glob": "allow",
"grep": "allow",
"edit": "ask",
"bash": "ask"
}
}