Source/generate the requested file using whatever content rules apply to the use case, gate it against an evidence-based pre-upload size threshold using the filesystem API, and upload it to SharePoint via the Create file tool's confirmed /app/created/ path-reference mechanism — without ever streaming raw file bytes through the LLM.
Install
npx skills add microsoft/cat-agent-skills --skill sharepoint-file-creationnpx skills add microsoft/cat-agent-skills --skill sharepoint-file-creation -a claude-code -gnpx skills add microsoft/cat-agent-skills --skill sharepoint-file-creation -a codex -ggemini skills install https://github.com/microsoft/cat-agent-skills.git --path submissions/sharepoint-file-creationgh skill install microsoft/cat-agent-skills sharepoint-file-creationgit clone --depth 1 https://github.com/microsoft/cat-agent-skills /tmp/microsoft__cat-agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__cat-agent-skills/submissions/sharepoint-file-creation ~/.claude/skills/sharepoint-file-creation # Claude Code
cp -R /tmp/microsoft__cat-agent-skills/submissions/sharepoint-file-creation ~/.agents/skills/sharepoint-file-creation # Codex, Cursor, Gemini CLI, Copilot, OpenCode