M365 Onedrive Share Local File
Apps & Automationm365-onedrive-share-local-fileM365 Onedrive Share Local File is an Agent Skill for apps & automation published in the rcarmo/piclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Upload a local file to OneDrive and generate a read-only share link.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/rcarmo/piclaw/blob/HEAD/runtime/extensions/experimental/m365/skills/m365-onedrive-share-local-file/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/m365-onedrive-share-local-file, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
M365 OneDrive Share Local File
Use this skill to upload a workspace file to OneDrive and create a shareable link.
Workflow
- Validate that the local file exists.
- Use the
m365_onedrive_share_local_filetool to upload to the target OneDrive folder. - Return the share URL and final file name.
Guardrails
- Confirm sharing scope expectations with the user, especially when broader than organization-only.
- State exact source path and target folder before uploading.