Codex

From NateBJones-Projects/OB1 · View interactive version

Codex is an AI agent skill from the GitHub repository NateBJones-Projects/OB1. Use in Codex when a user asks to read, analyze, summarize, or extract from a heavyweight file such as PDF, DOCX, PPTX, XLSX, CSV, or TSV. Convert the file into markdown or CSV first with the bundled script, generate a lightweight index, and only spend model tokens on the compressed artifact.

How to use this skill

Skill file

Heavy File Ingestion For Codex

Problem

Codex can run local commands and inspect files, so direct ingestion of bulky documents is usually the wrong move. Convert first, index second, reason last.

Trigger Conditions

Process

  1. Do not open the raw heavyweight file as your first move if a deterministic conversion path exists.
  2. Run the bundled converter from this skill directory:
python scripts/convert_heavy_file.py /absolute/path/to/file.ext
  1. If the environment is clean and needs packages, prefer:
uv run \
  --with pdfplumber \
  --with python-docx \
  --with python-pptx \
  --with openpyxl \
  python scripts/convert_heavy_file.py /absolute/path/to/file.ext
  1. Read index.md first, not the original file.
  2. Follow the index recommendation:
  1. Use expensive model context only after the file has already been compressed into a smaller artifact.

Client Rules

Bundled References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.