Use this skill when you need to read a file whose content is NOT already in your context — you only know its path. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Do NOT use this skill if the file content is already visible in your context — you already have it.
$npx -y skills add cheatcode-ai/cheatcode --skill file-readingInstalls into the current project.
Run `npx skills use "https://github.com/cheatcode-ai/cheatcode" --skill "cheatcode-ai/cheatcode/file-reading"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/cheatcode-ai/cheatcode" that are relevant to the current task. Run `npx skills add "https://github.com/cheatcode-ai/cheatcode"` and select the relevant skills, then follow their instructions.