Dev & Engineering ✓ OpenAI · Official rustfilesystem-pathspath-uriapp-serverexec-serveruri-migration

Codex Path Types Guide

Choose Rust path types that preserve cross-platform URI handling and local filesystem behavior in Codex.

FollowSkills review · FSRS-2.0
Not recommended
47/ 100 5-point scale 2.4 / 5
Trust14 / 25 · 2.8/5

The skill provides only path-type selection and migration guidance, with no scripts, network access, credential handling, or destructive defaults. It asks for minimal edits and user input when compliance is difficult. However, it lacks explicit confirmation requirements, data-flow disclosure, rollback procedures, and sensitive-path handling boundaries, so full marks are not justified.

Reliability8 / 20 · 2.0/5

The rules are internally coherent and cover protocol boundaries, internal types, migration constraints, and failure strategies. The skill itself includes no tests, execution examples, or key-path diagnostic feedback. Under the static calibration, reliability is therefore capped at 10.

Adaptability8 / 15 · 2.7/5

The name, description, and trigger are clear for defining new or explicitly migrating path-bearing types, and some non-fit situations are stated. However, there are no input/output examples, comprehensive non-fit boundaries, Chinese-language support, or evidence of mainland-China environment fit, so points are deducted.

Convention6 / 15 · 2.0/5

The file has concise metadata, a clear title, and structured guidance; the repository supplies an Apache-2.0 license and official provenance. It lacks versioning, changelog, maintenance ownership, update path, installation notes, examples, and FAQs, leaving governance and maintenance assumptions unresolved.

Effectiveness7 / 15 · 2.3/5

The guidance is directly usable for Rust path-type selection and URI migration, and its core value is clear. However, there are no verified representative outputs, build results, or skill-specific test coverage, and real migrations still require manual judgment. Static calibration limits effectiveness to 7.

Verifiability4 / 10 · 2.0/5

The skill is auditable primary source material, and the repository provides license and CI-related context. However, it contains no skill-specific tests, third-party reproduction, or corroborating evidence for its key paths, so the conclusion rests mainly on static inspection.

Evidence confidence:Low Reviewed Jul 19, 2026 Reviewed revision 678157acaa81
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • This is migration guidance rather than a self-contained executable or verified automation tool; confirm that the referenced types exist and run project tests before adoption.
  • The concrete review process for conversion failures, platform differences, and security-relevant paths is not specified; do not assume a migration is regression-free from the document alone.
  • No Chinese documentation or mainland-China reachability evidence is provided, although the core function is local code guidance and does not visibly depend on an overseas online service.
See the full review method →

What it does & when to use it

This skill defines how to choose operating-system path types in the Codex repository. It focuses on path representations in app-server and exec-server protocols and on conversions between protocol boundaries and internal code. The guidance distinguishes legacy native-path strings, PathUri, AbsolutePathBuf, and PathBuf by use case. It also sets migration constraints for compatibility, security, diagnostics, and persistence.

When defining or explicitly migrating path-bearing types, it guides developers toward LegacyAppPathString, PathUri, AbsolutePathBuf, PathBuf, or String. It requires path conversion at the app-server protocol boundary, file:// URIs in exec-server APIs, and regular String deserialization for model-generated tool arguments followed by feature-specific path handling. It also specifies conversion-error behavior, URI formatting in diagnostics, and minimal migration changes.

  1. Maintaining app-server protocol types while preserving native path strings sent and received by existing clients.
  2. Adding or migrating exec-server API fields that use file:// URIs.
  3. Designing shared dependencies used by both servers without conflating their path semantics.
  4. Handling model-generated tool arguments that may contain raw relative or absolute paths for any operating system.
  5. Migrating path handling without changing model-visible text or introducing significant new failure modes.

Pros & cons

Pros
  • Clearly separates protocol-boundary types, internal path types, and model-generated tool arguments.
  • Covers legacy-client compatibility, cross-platform URIs, error handling, and diagnostics during migration.
  • Encourages focused changes and prevents premature storage of URIs in persistent data.
Limitations
  • It is tightly tailored to the Codex repository and its app-server and exec-server architecture.
  • No scripts, test suite, or automated migration tool is provided.
  • The source does not define the PathUri APIs or provide a complete migration example.

How to install

The skill is located at .codex/skills/path-types/SKILL.md in the Codex repository; the README documents no separate skill installation process. To install Codex CLI, use curl -fsSL https://chatgpt.com/codex/install.sh | sh on macOS or Linux, or powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" on Windows. The README also lists npm install -g @openai/codex and brew install --cask codex.

How to use

Trigger it when defining a new path-bearing type or explicitly requesting migration of an existing one in the Codex repository. Example: “Choose the Rust type for this new exec-server path field according to the path-types guidance.”

FAQ

Does this skill require additional runtime dependencies?
The source shows no shell, network, filesystem, MCP, or other runtime dependency; it is guidance for path-type selection and migration.
Can it be applied directly to another Rust repository?
Some principles may be reusable, but the rules explicitly target Codex app-server, exec-server, and related protocols, so direct applicability should not be assumed.
Must every path be converted to a URI during migration?
No. The guidance is context-dependent: protocols use the specified URI or legacy string types, host-local logic may use AbsolutePathBuf or PathBuf, and model tool arguments use String.
How should path-conversion failures be handled?
Fail closed for security-relevant paths and fail open for UI or diagnostics, while minimizing new significant failure modes.

More skills from this repository

All from openai/codex

Dev & Engineering ✓ OpenAI · Official

PR Babysitter

Continuously track a GitHub pull request’s reviews, CI, and mergeability while handling safe fixes.

Dev & Engineering ✓ OpenAI · Official

Codex Issue Digest

Turns recent openai/codex bugs and enhancement requests into focused, owner-ready digests.

Design & Frontend ✓ OpenAI · Official

Codex Image Generation

Generate, edit, and prepare practical raster image assets directly within a project workflow.

Dev & Engineering ✓ OpenAI · Official

Codex Plugin Builder

Scaffold, validate, and maintain standards-shaped plugins for Codex.

Dev & Engineering ✓ OpenAI · Official

Codex Skill Installer

Install curated or repository-hosted Codex skills without manually assembling their files and paths.

Dev & Engineering ✓ OpenAI · Official

OpenAI Official Docs Assistant

Provides current, official-source guidance for OpenAI products, APIs, Codex, and model migrations.

Dev & Engineering ✓ OpenAI · Official

Review Agent Code Review Skill

Find actionable regressions in code changes through a read-only, defect-first review.

Dev & Engineering ✓ OpenAI · Official

Codex Pull Request Editor

Professionally update one or more GitHub pull request titles and bodies around motivation, net changes, and verification.

Dev & Engineering ✓ OpenAI · Official

Remote Executor Integration Tests

Validate Codex integration behavior across local and remote execution environments.

Dev & Engineering ✓ OpenAI · Official

V8 Version Maintainer

Updates Codex’s pinned V8 versions and validates release-candidate and build-failure paths.

Dev & Engineering ✓ OpenAI · Official

Change Size Review Guide

Keep code changes reviewable by enforcing practical size limits and staging oversized work.

Dev & Engineering ✓ OpenAI · Official

Skill Creator Guide

A practical guide to designing, validating, and refining reusable Agent Skills.

Automation & Ops ✓ OpenAI · Official

CI Push Approval Assistant

Handle CI configuration push blocks and approval handoffs

Dev & Engineering ✓ OpenAI · Official

Code Review and Testing Guidance

Helps coding agents choose and structure tests for logic changes.

Dev & Engineering ✓ OpenAI · Official

Codex Bug Triage Assistant

Determines whether an openai/codex GitHub bug should be verified, clarified, or explained as expected behavior.

Dev & Engineering ✓ OpenAI · Official

Breaking Change Reviewer

Systematically detect compatibility risks across external integration surfaces before they reach users.

Dev & Engineering ✓ OpenAI · Official

Codex TUI Interactive Testing Guide

A focused workflow for launching Codex TUI and validating changes with trace logs.

Dev & Engineering ✓ OpenAI · Official

Context Governance

Keep coding-agent context incremental, cache-stable, and strictly bounded.

Dev & Engineering ✓ OpenAI · Official

Pull Request Code Review

Orchestrate a final pull request review and consolidate every actionable finding from specialized reviewers.

Related skills