Codex CLI 会将个人技能存储在用户主目录下的 ~/.codex/skills/ 文件夹中。,对于项目级别的技能,Codex CLI 会存储在项目根目录的 .codex/skills/ 文件夹内。,了解这些路径有助于管理技能文件,并确保不同代理之间的兼容性。
工具与代理
1 min readUpdated April 23, 2026
Codex CLI 技能存储在哪里?
Codex CLI 将个人技能存储在 ~/.codex/skills/,项目级技能存储在 .codex/skills/。路径参考及跨代理兼容性说明。

Quick Answer
Codex CLI 将个人技能存储在 ~/.codex/skills/,项目级技能存储在 .codex/skills/。路径参考及跨代理兼容性说明。
Tags:#codex cli#技能#目录#路径#位置
Evidence & Editorial Standards
- Author: Shahrukh — Creator of PromptSpace, AI researcher & prompt engineer since 2024. 159+ articles published.
- Methodology: Claims in this article are based on hands-on testing with live AI models, publicly available benchmarks, and official model documentation.
- Last tested: Content reviewed and verified against current model versions as of the publication date above.
- Sources: Official model docs, published research, and curated community examples. Links open in context where available.
- Updates: PromptSpace updates articles when models change significantly. Check the "Updated" date in the header for recency.
S
Written by Shahrukh
Creator of PromptSpace · AI Researcher & Prompt Engineer
Building the largest free AI prompt library with 4,000+ prompts. Covering AI image generation, prompt engineering, and tool comparisons since 2024. 159+ articles published.