Skill

v1.0.1

CLI for Microsoft 365 - Manage Microsoft 365 tenant, SharePoint Online, Teams, OneDrive, and more. Official PnP (Patterns and Practices) CLI.

0· 646·3 current·3 all-time
byThomas Goelles@thomyg
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (m365 PnP CLI) match the requested binary and npm package (@pnp/cli-microsoft365). Requiring the 'm365' binary and Node/npm to install the official package is proportionate to the declared purpose.
Instruction Scope
SKILL.md only instructs the agent to run the m365 CLI commands and to authenticate via supported Microsoft flows (device code, cert, client secret, managed identity). It does not instruct reading unrelated files or exfiltrating data to third-party endpoints.
Install Mechanism
Install uses a public npm package (@pnp/cli-microsoft365), which is the expected distribution channel for this CLI. npm installs are moderate risk by nature (they execute code during install) but are appropriate and standard for this tool. The metadata points to the official GitHub and docs.
Credentials
The skill does not request any environment variables or secrets itself. The documentation describes authentication methods (including client secrets/certificates) which are legitimate for the CLI; any credentials would be supplied by the user and are relevant to the CLI's function.
Persistence & Privilege
always:false and no requests to modify system or other skills. Autonomous invocation is allowed (platform default) but the skill does not request elevated persistent privileges.
Assessment
This skill is an instruction-only integration for the official PnP Microsoft 365 CLI and appears coherent. Before installing or granting it access: 1) verify you want the m365 CLI installed globally (or use npx to avoid global install), 2) confirm the npm package version and GitHub repo match the official project, 3) be cautious with credentials — the CLI requires Microsoft credentials to act and using client secrets or certificates should follow least privilege and secure storage practices, 4) restrict the agent's access to only the identity/permissions needed (avoid giving broad tenant-admin credentials to an autonomous agent), and 5) test commands in a sandbox tenant if possible. If you need the agent to operate without human interaction, prefer managed identities or certificates with limited scopes rather than long-lived client secrets or username/password.

Like a lobster shell, security has layers — review code before you run it.

latestvk97cxfzjm9j0p4tqfv6fjsw3qs818cep

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Binsm365

Install

Install m365 CLI (npm)npm i -g @pnp/cli-microsoft365

Comments