Skip to content
Skillpedia
Automations77k · #1530

SharePoint Automation

Helps your agent manage files and information in SharePoint. It organizes documents, lists, and sites.

What it does

This tool helps you manage files and information in SharePoint and OneDrive. You can organize documents, create lists, search for content, and even manage site pages.

When to use it

  • ✓Organizing documents into folders in SharePoint.
  • ✓Creating a new task or contact list.
  • ✓Finding a specific document using keywords.

Example of what to ask your AI

“Search for all PDF documents in my OneDrive.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/share-point-automation/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/share-point-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool connects to SharePoint and OneDrive using APIs. It allows you to execute commands to create, list, search, and manage your files and data.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add ComposioHQ/awesome-claude-skills --skill SharePoint Automation

Or download just the file:

curl -L https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/share-point-automation/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

SharePoint Automation

Automate SharePoint operations including managing sites, lists, documents, folders, and pages. Integrates with both SharePoint REST API and Microsoft Graph via OneDrive.

Toolkit docs: composio.dev/toolkits/share_point


Setup

This skill requires the Rube MCP server connected at https://rube.app/mcp.

Before executing any tools, ensure active connections exist for the share_point and one_drive toolkits. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.

Note: Many OneDrive/SharePoint tools only work with organizational Microsoft 365 accounts (Azure AD/Entra ID). Personal Microsoft accounts are NOT supported.


Core Workflows

1. List and Browse Sites

Retrieve site details and enumerate subsites to discover the SharePoint topology.

Tools:

  • ONE_DRIVE_GET_SITE_DETAILS -- Get metadata for a specific site by ID
  • ONE_DRIVE_LIST_SITE_SUBSITES -- List all subsites of a parent site

Key Parameters:

  • site_id (required) -- Composite format: hostname,site-collection-guid,web-guid (e.g., "contoso.sharepoint.com,da60e844-...,712a596e-...")

Example:

Tool: ONE_DRIVE_GET_SITE_DETAILS
Arguments:
  site_id: "contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE"

2. Manage Lists

Create lists, enumerate existing lists, and retrieve list items.

Tools:

  • SHARE_POINT_LIST_ALL_LISTS -- Retrieve all lists on a site (supports OData filter, select, orderby, top)
  • SHARE_POINT_SHAREPOINT_CREATE_LIST -- Create a new list with a specified template
  • ONE_DRIVE_LIST_SITE_LISTS -- List all lists under a site via Microsoft Graph
  • ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS -- Retrieve items from a specific list

Key Parameters for SHARE_POINT_SHAREPOINT_CREATE_LIST:

  • name (required) -- List name
  • template (required) -- Template type: "genericList", "documentLibrary", "tasks", etc.
  • description -- Optional description

Key Parameters for SHARE_POINT_LIST_ALL_LISTS:

  • filter -- OData filter, e.g., "Hidden eq false"
  • select -- Properties to return, e.g., "Title,Id"
  • orderby -- Sort expression, e.g., "Title desc"
  • top -- Limit results count

Example:

Tool: SHARE_POINT_SHAREPOINT_CREATE_LIST
Arguments:
  name: "Project Tasks"
  template: "tasks"
  description: "Task tracking for Q1 deliverables"

3. Manage Folders and Files

Create folders, list files within folders, and navigate the document library.

Tools:

  • SHARE_POINT_SHAREPOINT_CREATE_FOLDER -- Create a new folder in a document library
  • SHARE_POINT_LIST_FILES_IN_FOLDER -- List files within a folder by server-relative URL
  • SHARE_POINT_GET_FOLDER_BY_SERVER_RELATIVE_URL -- Get folder metadata by path

Key Parameters for SHARE_POINT_SHAREPOINT_CREATE_FOLDER:

  • folder_name (required) -- Name of the folder to create
  • document_library -- Target library (default: "Shared Documents")
  • relative_path -- Additional path within the library

Key Parameters for SHARE_POINT_LIST_FILES_IN_FOLDER:

  • folder_name (required) -- Server-relative URL, e.g., "/Shared Documents"
  • select -- Comma-separated properties, e.g., "Name,ServerRelativeUrl,Length"
  • top -- Limit results count
  • orderby -- Sort expression, e.g., "Name desc"

Example:

Tool: SHARE_POINT_LIST_FILES_IN_FOLDER
Arguments:
  folder_name: "/Shared Documents/Reports"
  select: "Name,ServerRelativeUrl,Length"
  top: 50

4. Search SharePoint Content

Use Keyword Query Language (KQL) to search documents, list items, and other content across the site.

Tool: SHARE_POINT_SEARCH_QUERY

Key Parameters:

  • querytext (required) -- KQL query, e.g., "project report", "FileType:docx", "Author:\"John Doe\""
  • rowlimit -- Max results per request (default ~50, max 500)
  • startrow -- Zero-based offset for pagination
  • selectproperties -- Properties to return, e.g., "Title,Author,Path"
  • refinementfilters -- Narrow results, e.g., "FileType:equals(\"docx\")"

Example:

Tool: SHARE_POINT_SEARCH_QUERY
Arguments:
  querytext: "IsDocument:1 FileType:pdf"
  rowlimit: 25
  selectproperties: "Title,Author,Path,LastModifiedTime"

5. Track List Changes (Delta Query)

Use delta queries to get incremental changes (created, updated, deleted items) without reading the entire list.

…

FAQ

Do I need a specific account to use this tool?

Yes, this tool works best with organizational or school Microsoft 365 accounts (Azure AD/Entra ID). Personal Microsoft accounts (like Outlook.com) are not supported for all functions.

How do I find the site ID?

The site ID is a complex code that includes the hostname and unique identifiers. It's usually provided in a format like 'your_domain_name.sharepoint.com,site-guid,web-guid'.

Can I search content anywhere?

Yes, you can use the search function to find documents, list items, and other content across your SharePoint site using keywords or specific filters.

Details

Original description by the author

SharePoint Automation: manage sites, lists, documents, folders, pages, and search content across SharePoint and OneDrive

repo: ComposioHQ/awesome-claude-skills

Popularity

GitHub stars
77k
Ranking position
#1530
License
—
Updated
9/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills