M365 Document Link Metadata
Apps & Automationm365-document-link-metadataM365 Document Link Metadata 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.
Resolve Teams or SharePoint document links to canonical metadata.
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-document-link-metadata/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/m365-document-link-metadata, 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 Document Link Metadata
Use this skill to resolve a SharePoint, Teams, or OneDrive document URL to its canonical metadata.
Workflow
- Use the
m365_document_link_metadatatool with the document URL. - Returns the canonical URL, file name, and preview image URL when available.
Uses
- Pre-flight before sharing, downloading, or posting file cards to Teams.
- Resolving ambiguous or redirect-heavy document links.