跳到正文
TakoAPI
返回技能列表

sharepoint-by-altf1be

由 abdelkrim 提供

PDF & Documents
106下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Secure SharePoint file operations and Office document intelligence via Microsoft Graph API — certificate auth, Sites.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Summarize the Q1-2026 report in the Reports folder on SharePoint

智能体
  1. 1

    Runs sharepoint.mjs read --path "Reports/Q1-2026.docx" to extract document text

  2. 2

    Receives plain text output from mammoth Word extraction

  3. 3

    Passes extracted text to the LLM for summarization

输出

A concise summary of the Q1-2026 report content

前置要求

  • 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

安装

clawhub install abdelkrim/sharepoint-by-altf1be

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接