codex-review-file

Review non-Git-tracked files using Codex CLI with custom instructions.

Updated Jan 26, 2013
One-click install
npx skills add https://github.com/boxp/dotfiles --skill codex-review-file
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-review-file
Source: https://github.com/boxp/dotfiles/tree/main/.claude/skills/codex-review-file
Command: npx skills add https://github.com/boxp/dotfiles --skill codex-review-file

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables reviewing files that are not tracked by Git using the Codex CLI to inspect their content and potential configurations.

Core Features & Use Cases

  • Review non-Git-managed files with the Codex CLI to receive targeted feedback and insights.
  • Apply custom review instructions to specific files or directories.
  • Use in scenarios like auditing configuration files, scripts, or documentation outside a repository.

Quick Start

Use this skill by running a codex exec command against a non-tracked file, for example: codex exec -C <directory> --skip-git-repo-check "<file>をレビューしてください"

Frequently Asked Questions about codex-review-file

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review untracked files with Codex CLI outside a Git repository?

To review untracked files, execute the Codex CLI using the codex exec command with the -C directory flag and --skip-git-repo-check option. This allows the CLI to inspect configuration files, scripts, or documentation that are not managed by Git.

What is the --skip-git-repo-check flag used for in Codex CLI?

The --skip-git-repo-check flag bypasses the default Git repository validation in Codex CLI. It enables code execution and file reviews in directories that are not tracked by Git, allowing you to audit standalone configuration files or scripts.

Can I add custom instructions when reviewing configuration files using Codex CLI?

Yes, you can pass custom review instructions directly to the Codex CLI. When running the codex exec command against an untracked file, append your specific review criteria as a string to receive targeted feedback and insights.

Does Codex CLI work for auditing scripts and docs that are not in a repository?

Yes, Codex CLI works for auditing scripts and documentation outside a repository. By applying the --skip-git-repo-check flag, you can perform fast reviews of non-repo files in any project directory needing inspection.

Why does codex exec fail when reviewing files in a non-Git directory?

The codex exec command fails in a non-Git directory because the default Codex CLI behavior enforces repository validation. You must include the --skip-git-repo-check flag to bypass this check and successfully review untracked files.