sharepoint-by-altf1be
oleh abdelkrim
PDF & DocumentsRingkasan
Secure SharePoint file operations and Office document intelligence via Microsoft Graph API — certificate auth, Sites.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- 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
Instalasi
clawhub install abdelkrim/sharepoint-by-altf1beJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.