zhaoFenG8917

Codex Kit — AI skill for Claude Code

AI community

Single-binary, zero-dependency CLI toolkit for AI coding agents (Codex CLI, Claude Code, Cursor) — ls, tree, info, stat, replace, head, tail, wc, diff — with JSON-native output and automatic GBK/UTF-8.

How to install Codex Kit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zhaoFenG8917/codex-kit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codex Kit does

Single-binary, zero-dependency CLI toolkit for AI coding agents (Codex CLI, Claude Code, Cursor) — ls, tree, info, stat, replace, head, tail, wc, diff — with JSON-native output and automatic GBK/UTF-8 encoding handling.

Alternatives in AI

  • Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
  • Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
  • Agenvoy — Self-hosted AI agent harness in a single Go binary — writes, sandbox-tests and repairs its own tools, and lets 474 ★

README

🛠️ codex-kit

**The missing system toolkit for AI coding agents.**

[![Build](https://github.com/zhaoFenG8917/codex-kit/actions/workflows/release.yml/badge.svg)](https://github.com/zhaoFenG8917/codex-kit/actions/workflows/release.yml) [![Release](https://img.shields.io/github/v/release/zhaoFenG8917/codex-kit)](https://github.com/zhaoFenG8917/codex-kit/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Single binary · Zero dependencies · Windows / Linux / macOS · JSON-native output


🤔 Why codex-kit?

AI coding agents (Codex CLI, Claude Code, Cursor…) write code well but struggle with **operating systems** — especially on Windows:

Pain What agents hit in the wild
💥 Shell fragmentation ls, tree, head, tail are missing or behave differently across PowerShell / cmd / Git Bash
🌀 Quoting hell PowerShell vs bash quoting rules silently corrupt agent-generated commands
🈶 Encoding chaos Legacy GBK/GB18030 files (common on Chinese Windows) come back as mojibake
🗿 Unstructured output Agents burn tokens regex-parsing human-readable text

Design philosophy

  • 🧩 Don't reinvent the wheel — content search belongs to ripgrep, file finding to fd, viewing to bat. codex-kit only fills the gaps they leave.
  • 📦 Single binary, zero dependencies — one .exe, no runtime, no installer. Drop it on PATH and every agent can use it.
  • 🤖 Agent-first I/O — every command supports --format json; in JSON mode errors are reported as {"error": ...} with a non-zero exit code and never pollute data streams.
  • 🈶 Encoding-safe — BOM sniffing → strict UTF-8 → chardetng → GBK → GB18030 → Windows-1252 fallback. replace writes files back in their original encoding, BOM included.

📦 Installation

From source (Cargo)

cargo install --git https://github.com/zhaoFenG8917/codex-kit

Pre-built binaries

Grab the archive f