
Path Types
- 58 installs
- 104k repo stars
- Updated August 4, 2026
- openai/codex
path-types documents Codex path typing conventions.
About
The path-types skill documents path typing conventions in OpenAI Codex plugins and skills, helping authors reference files, commands, and resources with correct path schemas and validation rules.
- Codex path type reference.
- Plugin and skill path validation.
- Authoring convention for file references.
Path Types by the numbers
- 58 all-time installs (skills.sh)
- +12 installs in the week ending Jul 26, 2026 (Skillselion tracking)
- Ranked #309 of 779 Skill Development skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
path-types capabilities & compatibility
- Capabilities
- path types conventions
- Use cases
- documentation
What path-types says it does
path-types
npx skills add https://github.com/openai/codex --skill path-typesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 58 |
|---|---|
| repo stars | ★ 104k |
| Last updated | August 4, 2026 |
| Repository | openai/codex ↗ |
What path types does Codex use in plugins?
Codex path type conventions for plugin and skill file references.
Who is it for?
Codex plugin and skill authors.
Skip if: Skip outside Codex plugin development.
When should I use this skill?
Codex path type or file reference questions.
What you get
Correct path references per Codex path-types rules.
Files
Path Types
Apply this guidance when defining new types. Change existing code only when explicitly requested, and keep edits minimal and proportional. Treat these rules as the target state of an ongoing migration; if compliance is difficult, ask the user how to proceed.
- In app-server protocol types, use
LegacyAppPathStringfor backwards compatibility during the URI
migration. At the protocol boundary, convert it to PathUri and use PathUri internally. For host-local logic, such as some config values, use AbsolutePathBuf or PathBuf instead.
- In exec-server protocol types, use
PathUri. Internally, usePathUriorAbsolutePathBufas
appropriate.
- In dependencies shared by both servers, use
PathUrior separate APIs that decouple their use
cases.
- Tool call arguments that the model is expected to generate should be deserialized as regular
Strings with feature-specific path handling code.
Migration requirements
Keep these requirements in mind while migrating code to conform with the above guidelines:
- existing app-server clients keep sending and receiving legacy native-path strings
- app-server can retain and manipulate foreign-platform path URIs
- exec-server APIs use file:// URIs
- local-only operation must not change model-visible text
- model tool arguments may contain raw relative or absolute paths for any OS
- path reasoning must work before the related environment has come online
- URIs cannot explicitly encode the executor’s path convention or operating system
- users must not configure the environment’s OS/path convention explicitly
- URIs should not yet be stored in rollouts, databases, or other persistent storage
- path conversion errors: fail-closed for security-relevant paths, fail-open for UI/diagnostics
- prefer small focused methods on
PathUriorLegacyAppPathStringover local helpers - represent
PathUrivalues as URIs in diagnostics
It is OK if the conversion between paths and URIs is somewhat lossy as long as it will do the right thing for real users.
Migrating to URIs should not add significant new failure modes. We will need to surface errors in some places that were previously infallible but it should be kept to a minimum.
Related skills
FAQ
What does path-types do?
path-types documents Codex path typing conventions.
When should I use path-types?
Codex path type or file reference questions.
Is this skill safe to install?
Review the Security Audits panel on this page before installing in production.