sharepoint-by-altf1be
por abdelkrim
PDF & DocumentsResumo
Secure SharePoint file operations and Office document intelligence via Microsoft Graph API — certificate auth, Sites.
Descrição
O que esta skill faz
Connects to SharePoint document libraries via Microsoft Graph API using certificate-based authentication. Reads and writes Word, Excel, PowerPoint, and PDF files by extracting text suitable for AI processing. Access is scoped to a single SharePoint site using the Sites.Selected permission.
Certificate auth with Sites.Selected permission avoids client secrets and limits access to one site, which satisfies typical enterprise security requirements without broad tenant-level permissions.
Quando usá-la
- Extracting text from a SharePoint Word doc for AI summarization
- Uploading a modified Excel report back to a document library
- Searching SharePoint for files matching a keyword or topic
- Checking out a document for exclusive editing, then checking it back in
- Listing and navigating SharePoint folder contents
Exemplo de fluxo de trabalho
User asks: Summarize the Q1-2026 report in the Reports folder on SharePoint
- 1
Runs sharepoint.mjs read --path "Reports/Q1-2026.docx" to extract document text
- 2
Receives plain text output from mammoth Word extraction
- 3
Passes extracted text to the LLM for summarization
A concise summary of the Q1-2026 report content
Requisitos
- SP_TENANT_ID — Azure tenant ID
- SP_CLIENT_ID — Entra app client ID
- SP_CERT_PATH — path to certificate .pem file
- SP_SITE_ID — SharePoint site ID
- Microsoft Entra app with Sites.Selected permission and certificate auth configured
Instalação
clawhub install abdelkrim/sharepoint-by-altf1beExecute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.