sharepoint-file-creation
Skill by microsoft
Generates a requested file, checks its size against a 4,000,000-byte gate, and uploads it to SharePoint using the Create file tool. It is for users who ask an assistant to produce and upload a file.
Install sharepoint-file-creation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/cat-agent-skills /tmp/cat-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/cat-agent-skills/submissions/sharepoint-file-creation ~/.claude/skills/sharepoint-file-creationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install sharepoint-file-creation in Claude Code
git clone --depth 1 https://github.com/microsoft/cat-agent-skills /tmp/cat-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cat-agent-skills/submissions/sharepoint-file-creation ~/.gemini/antigravity-cli/skills/sharepoint-file-creationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install sharepoint-file-creation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill from Microsoft produces a file from the user's request or configured content rules, then uploads it to SharePoint. The file is written under /app/created/ with a sanitized, unique name. Its size is measured with the filesystem API, and the upload proceeds only when the size is greater than 0 and under 4,000,000 bytes.
The Create file tool receives the /app/created/ path as its content input, so file bytes never pass through the model. The skill is meant for requests that ask for a file to be produced and uploaded to SharePoint, with or without a set path, filename, format, or content source.
Written from the project's SKILL.md and checked against it.
What it can do
- Content sourcingDetermines the requested format and grounds content in the request, retrieval tools, or prior context.
- Safe file writingWrites the complete file under /app/created/ with a sanitized, collision-resistant basename.
- Size gateRe-measures the final file and uploads only when 0 < size_bytes < 4,000,000.
- SharePoint uploadCalls Create file with the /app/created/ path bound as the content input.
- Upload reportReports content source, destination, measured size, and upload result.
What you need
- A configured SharePoint Create file tool
- A runtime with a filesystem API and write access to /app/created/
Try asking
- Create a project status report as a DOCX and upload it to our SharePoint.
- Generate a CSV of this week's sales and save it to SharePoint.
- Make a summary document from our notes and upload it to the team site.
Good to know
- The 4,000,000-byte gate is a conservative limit for the current connector boundary, not a SharePoint file size limit.
- Files at or above the gate are not uploaded. The skill offers to reduce or split the content instead.
- Unclear upload outcomes are reported as unknown and are not retried automatically.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: submissions/sharepoint-file-creation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sharepoint-file-creation
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
sharepoint-file-creation: common questions
Does the file content pass through the language model?
No. The skill binds the /app/created/ path as the upload input, and the tool resolves it to bytes on the server side.
What happens if the file is too large?
The skill stops before calling Create file, reports the measured size, and offers to reduce the content or split it into several files.
Does the user need to specify the SharePoint destination?
Not when the site and folder are already configured for the Create file tool. The skill asks only when the destination is undetermined.
How do I install sharepoint-file-creation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sharepoint-file-creation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sharepoint-file-creation safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sharepoint-file-creation?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
