Dev & Engineering ✓ OpenAI · Official

Codex Path Types Guide

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

47/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 129k
Last updated
11d ago
License
Apache-2.0
rustfilesystem-pathspath-uriapp-server
+2exec-serveruri-migration

What does this skill do, and when should you 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.

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

How do you install this skill?

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.

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/openai/codex.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.codex/skills/path-types" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Choose the Rust type for this new exec-server path field according to the path-types guidance.

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.”

What are this skill's strengths and limitations?

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Codex Path Types Guide this page ✓ OpenAI · Official 47 · Use with care ★ 129k 11d ago Apache-2.0
LeanCTX — Local Context Intelligence Layer 61 · Recommended ★ 3.9k 11d ago Apache-2.0
LeanCTX Local Context Control 59 · Recommended ★ 3.9k 11d ago Apache-2.0
Callimachus Recall 58 · Recommended ★ 43 3mo ago AGPL-3.0
NeMo Relay Migration Assistant ✓ NVIDIA · Official 57 · Use with care ★ 3.6k 11d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
47/ 100 5-point scale 2.4 / 5
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.
1Trust14 / 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.

2Reliability8 / 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.

3Adaptability8 / 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.

4Convention6 / 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.

5Effectiveness7 / 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.

6Verifiability4 / 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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 19, 2026 Reviewed revision 678157acaa81 Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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

Remote Executor Integration Tests

Validate Codex integration behavior across local and remote execution environments.

★ 129k FS 50 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Codex TUI Interactive Testing Guide

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

★ 129k FS 37 Not recommended 11d ago
Dev & Engineering ✓ OpenAI · Official

Codex Bundled Skill Installer

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

★ 129k FS 53 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Codex Sample Skill Creator Guide

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

★ 129k FS 46 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Code Review and Testing Guidance

Helps coding agents choose and structure tests for logic changes.

★ 129k FS 43 Not recommended 11d ago
Dev & Engineering ✓ OpenAI · Official

PR Babysitter

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

★ 129k FS 57 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Codex Issue Digest

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

★ 129k FS 57 Use with care 11d ago
Design & Frontend ✓ OpenAI · Official

Codex Image Generation Skill (imagegen)

Generate or edit bitmap assets — photos, illustrations, textures, UI and product mockups — directly in Codex, with local transparent-background processing.

★ 129k FS 56 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Codex Plugin Builder

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

★ 129k FS 55 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

OpenAI Official Docs Assistant

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

★ 129k FS 52 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Review Agent Code Review Skill

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

★ 129k FS 52 Use with care 11d ago
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.

★ 129k FS 50 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

V8 Version Maintainer

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

★ 129k FS 50 Use with care 11d ago
Dev & Engineering ✓ OpenAI · Official

Change Size Review Guide

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

★ 129k FS 48 Use with care 11d ago
Automation & Ops ✓ OpenAI · Official

CI Push Approval Assistant

Handle CI configuration push blocks and approval handoffs

★ 129k FS 45 Not recommended 11d ago
Dev & Engineering ✓ OpenAI · Official

Codex Bug Triage Assistant

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

★ 129k FS 40 Not recommended 11d ago
Dev & Engineering ✓ OpenAI · Official

Breaking Change Reviewer

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

★ 129k FS 37 Not recommended 11d ago
Dev & Engineering ✓ OpenAI · Official

Context Governance

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

★ 129k FS 35 Not recommended 11d ago
Dev & Engineering ✓ OpenAI · Official

Pull Request Code Review

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

★ 129k FS 33 Not recommended 11d ago

Related skills