# 配置

> 设置文件与优先级、权限与权限模式、沙箱、模型与网关。

- 网址：https://funcoding.ai/agents/claude-code/configuration/
- 核实日期：2026-10-18（命令、配置和价格以官方文档为准）
- 官方来源：[Claude Code 官方文档：Configuration](https://code.claude.com/docs/llms.txt)

---
这一组讲怎么调整 Claude Code 的行为：

- [设置文件与优先级](https://funcoding.ai/agents/claude-code/configuration/settings/)：用户、项目、本地和托管设置，以及同一个键出现在多处时谁说了算
- [全部设置项](https://funcoding.ai/agents/claude-code/configuration/settings-reference/)：`settings.json` 每个键的作用域、类型、默认值与用途，按主题分页
- [权限与权限模式](https://funcoding.ai/agents/claude-code/configuration/permissions/)：用规则和模式控制 Claude 能访问和做什么
- [沙箱](https://funcoding.ai/agents/claude-code/configuration/sandboxing/)：用 OS 级隔离限制 Bash 命令的文件系统和网络访问
- [模型与网关](https://funcoding.ai/agents/claude-code/configuration/models/)：切换模型、使用云厂商和 LLM 网关，**包括怎么接入自定义模型**

> 本站不再提供单独的「自定义模型」配置生成器，改为按官方文档讲清楚机制，见「模型与网关」。
