> ## Documentation Index
> Fetch the complete documentation index at: https://docs.archetype.ing/llms.txt
> Use this file to discover all available pages before exploring further.

# 配置

> Archetype 在哪里保存设置、密钥、指令、技能和智能体。

| 内容 | 位置 |
| - | - |
| 你的设置 | `~/.config/archetype/config.json`（或 `$XDG_CONFIG_HOME` 下） |
| 项目的设置 | 项目中的 `.archetype/config.json` |
| 密钥和 token | `~/.config/archetype/env`，每行一个 `NAME=value` |
| 指令 | `~/.config/archetype/AGENTS.md` 适用于所有文件夹，其次是各文件夹的 `AGENTS.md` |
| 技能 | `~/.config/archetype/skills/` 和 `.archetype/skills/` |
| 命名智能体 | `~/.config/archetype/agents/*.md` 和 `.archetype/agents/*.md` |

密钥绝不放进配置文件。项目的设置和指令只在该文件夹中生效；在同一文件夹内，更具体的指令优先。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.