-
Notifications
You must be signed in to change notification settings - Fork 0
Platform Install Paths
Connor edited this page Jul 3, 2026
·
2 revisions
Codex and Claude Code use the same skill directory shape, but their default paths and direct invocation syntax differ.
| Surface | User-wide path | Project path | Invocation |
|---|---|---|---|
| Codex | ~/.agents/skills/<skill-name> |
.agents/skills/<skill-name> |
$skill-name ... |
| Claude Code | ~/.claude/skills/<skill-name> |
.claude/skills/<skill-name> |
/skill-name ... |
PowerShell expands $HOME to the user's profile directory.
$HOME\.agents\skills\github-skill-curator
$HOME\.claude\skills\github-skill-curatorShells expand ~ to the user's home directory.
~/.agents/skills/github-skill-curator
~/.claude/skills/github-skill-curatorProject-level installs are useful when a skill should travel with a repository or stay scoped to one workspace.
.agents/skills/github-skill-curator
.claude/skills/github-skill-curatorPrefer project-level install for experimental or repository-specific skills. Prefer user-wide install for stable skills used across many projects.
Codex 和 Claude Code 使用相似的 skill 目录结构,但默认路径和调用语法不同。
| 使用环境 | 用户级路径 | 项目级路径 | 调用方式 |
|---|---|---|---|
| Codex | ~/.agents/skills/<skill-name> |
.agents/skills/<skill-name> |
$skill-name ... |
| Claude Code | ~/.claude/skills/<skill-name> |
.claude/skills/<skill-name> |
/skill-name ... |
Windows PowerShell 中,$HOME 会展开到用户目录:
$HOME\.agents\skills\github-skill-curator
$HOME\.claude\skills\github-skill-curatormacOS / Linux 中,~ 会展开到用户 home:
~/.agents/skills/github-skill-curator
~/.claude/skills/github-skill-curator实验性或项目专用 skill 更适合项目级安装;稳定且经常使用的 skill 更适合用户级安装。
- Home / 首页
- Installation / 安装
- Platform Install Paths / 安装路径区别
- Cross Platform Usage / 跨平台使用
- Discovery and Routing / 发现与路由
- Scoring and Risk Scan / 评分与风险扫描
- Skill Scoring Rubric / Skill 评分标准
- Prompt Injection Risk Examples / 风险例子
- Install Governance / 安装治理
- Safe Installation Workflow / 安全安装流程
- Skill Lifecycle / 生命周期管理
- Why Not Auto Install High Star Skills / 为什么不自动安装高 star skill
- FAQ / 常见问题