Claude code

From NateBJones-Projects/OB1 · View interactive version

Claude code is an AI agent skill from the GitHub repository NateBJones-Projects/OB1. Use in Claude Code 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 Claude Code

Problem

Claude Code has the tools to convert files locally, so it should not waste context by reading heavyweight files raw.

Trigger Conditions

Process

  1. Do not read the original heavyweight file directly into context if conversion is possible.
  2. Resolve the bundled converter relative to this skill directory: scripts/convert_heavy_file.py
  3. Run the converter first. Default command:
python scripts/convert_heavy_file.py /absolute/path/to/file.ext
  1. If dependencies are missing, 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 the generated index.md before reading any converted artifact.
  2. Use the index to decide the cheapest next step:
  1. Only escalate to a stronger model after the file has already been compressed into markdown, CSV, or a short sampled subset.

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.