GitHub
G
GitHub
/file

Read file contents

Fetch a file from a repo at a ref (decoded text).

needs keyunknown
githubfilesource
$0.0020
per call
plus $0.001 platform fee per run
Bring your own GitHub key: provider portion drops to $0.
Not enabled on this deployment yet. Connect your own key to use it now.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run github /file for me.

Input

FieldTypeDescription
owner*stringOwner
repo*stringRepo
path*stringPath in repo
refstringBranch/tag/sha default "HEAD"

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"github","endpoint":"/file","input":{"owner":"...","repo":"...","path":"...","ref":"HEAD"}}'
cli
npx cracked-ai run -p github -e /file -i '{"owner":"...","repo":"...","path":"...","ref":"HEAD"}'
mcp
run_tool({ provider: "github", endpoint: "/file", input: {"owner":"...","repo":"...","path":"...","ref":"HEAD"} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.
Provider not enabled: the run returns a 503 with instructions.