Agent skill

Onenote SDK Patterns

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling.

MITAuto-check passed

Install Onenote SDK Patterns

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill onenote-sdk-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace onenote-sdk-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/onenote-sdk-patterns .claude/skills/onenote-sdk-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
onenote-sdk-patterns
GitHub stars
2.8k
Token cost
~1k tokens
SKILL.md length
427 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling.

  • Works in 6 steps: Inventory runtime, installed SDK, target… → Define typed read hierarchy,… → Centralize delegated auth, request IDs,… → …
  • Reviewing integration code
  • SKILL.md covers Overview, Prerequisites, Current Contract and Authentication, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Onenote SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling. Use when writing or reviewing integration code. Trigger with "design OneNote client", "review OneNote SDK", or "update OneNote patterns".

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Designed for Claude Code; live OneNote actions require network access, delegated authentication, and explicit approval

It works with Microsoft 365. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Reviewing integration code
  • With design OneNote client
  • Review OneNote SDK
  • Update OneNote patterns

Example prompts

  • “design OneNote client”
  • “review OneNote SDK”
  • “update OneNote patterns”
  • “/onenote-sdk-patterns”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code; live OneNote actions require network access, delegated authentication, and explicit approval
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Write, Edit

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Inventory runtime, installed SDK, target v1.0 operations, locations, and generated-code assumptions.
  2. Define typed read hierarchy, page-content, create, update, and operation-result contracts.
  3. Centralize delegated auth, request IDs, error classification, throttling, timeouts, and redaction.
  4. Model opaque next links and semantic HTML normalization without leaking transport details to callers.
  5. Add offline contract fixtures for additive fields, paging, errors, 429 without Retry-After, and ambiguous writes.
  6. Canary the boundary against one approved synthetic root and record the compatibility matrix.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code; live OneNote actions require network access, delegated authentication, and explicit approval

    From compatibility in the SKILL.md frontmatter.

Context cost

Onenote SDK Patterns loads about 1k tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 427 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 427 words, ~1,021 tokens.

Download SKILL.mdSave it as .claude/skills/onenote-sdk-patterns/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
onenote-sdk-patterns
description
Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling. Use when writing or reviewing integration code. Trigger with "design OneNote client", "review OneNote SDK", or "update OneNote patterns".
allowed-tools
Read, Glob, Grep, Write, Edit
compatibility
Designed for Claude Code; live OneNote actions require network access, delegated authentication, and explicit approval
argument-hint
<language> <operations> <location-types>
version
1.7.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, onenote, sdk
model
inherit
effort
high

OneNote Versioned Client Boundary

Overview

Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling.. This workflow produces an auditable decision or artifact before any live action.

Prerequisites

  • Current first-party Microsoft Graph OneNote documentation and the selected integration's tested contract.
  • Named identity, content, workload, security, and operations owners appropriate to the requested scope.
  • Synthetic or approved non-production fixtures with secrets and real notebook content removed.

Current Contract

SDK versions change independently from Graph v1.0. Keep stable REST semantics behind typed operations, preserve opaque next links, retain Graph error and request identifiers, and treat generated snippets as starting evidence rather than a pinned package contract. Recheck the dated evidence map before relying on mutable permissions, limits, SDK behavior, supported resources, or cloud availability.

Authentication

Inject a delegated credential provider bound to app, tenant, user, environment, and scopes. Application credentials and token logging are forbidden for OneNote operations.

Instructions

  1. Inventory runtime, installed SDK, target v1.0 operations, locations, and generated-code assumptions.
  2. Define typed read hierarchy, page-content, create, update, and operation-result contracts.
  3. Centralize delegated auth, request IDs, error classification, throttling, timeouts, and redaction.
  4. Model opaque next links and semantic HTML normalization without leaking transport details to callers.
  5. Add offline contract fixtures for additive fields, paging, errors, 429 without Retry-After, and ambiguous writes.
  6. Canary the boundary against one approved synthetic root and record the compatibility matrix.
Show full SKILL.md (192 more words)Show less

Tool Discipline

Use Read, Glob, and Grep to inspect documentation, configuration, code, fixtures, and evidence. Use Write and Edit only for approved repository artifacts. Invocation alone does not authorize network access, delegated credentials, tenant or notebook content, consent, file transfer, deployment, writes, spend, sharing changes, or deletion.

Approval Boundaries

Require code-owner approval for implementation changes and the sandbox owner for live tests. Live writes need a separate content-owner approval.

Error Handling

  • Do not hardcode a remembered latest SDK version.
  • Do not rebuild next links or silently retry ambiguous writes.
  • Fail closed when delegated user or location binding is absent.

Output

Return the client contract, dependency evidence, auth binding, operation types, fixtures, compatibility results, and migration notes. Identify assumptions, owners, expirations, and evidence gaps explicitly.

Examples

  • Paginate a synthetic section across multiple opaque links.
  • Preserve a OneNote inner error and request identifier without returning page content.

Validation

Exercise and record these paths with expected and observed results:

  • additive field
  • opaque link
  • normalized HTML
  • 429
  • ambiguous write
  • revoked session

Resources

  • Current first-party evidence map — recheck dated sources before relying on mutable behavior.
  • Treat observed tenant behavior as environment-specific evidence, never a universal OneNote guarantee.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/onenote-sdk-patterns of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Onenote SDK Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Onenote SDK Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Onenote SDK Patterns this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Microsoft DocsMicrosoftDocs/mcp1.9k1 repos~723Automated safety check: PassCC-BY-4.0
Create Simple Promptpnp/copilot-prompts893—~2.6kAutomated safety check: PassMIT
Declarative Agent Developermicrosoft/work-iq1k—~3.2kAutomated safety check: PassCustom licence
Msgraphmerill/msgraph115—~3.2kAutomated safety check: PassMIT

Similar skills

  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Microsoft Docs

    MicrosoftDocs/mcp

    Official

    Understand Microsoft technologies by querying official documentation.

    1.9k GitHub starsUsed in 1 repo~723 tokens
    Agent WorkflowsAuto-check passed
  • Create Simple Prompt

    pnp/copilot-prompts

    This skill should be used when the user asks to "create a new prompt sample", "add a new prompt sample", "scaffold a new prompt sample", "create a prompt contribution", "add a prompt", or needs to…

    893 GitHub stars~2.6k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • Official

    Create, build, deploy, and localize declarative agents for M365 Copilot and Teams.

    1k GitHub stars~3.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Msgraph

    merill/msgraph

    Up-to-date Microsoft Graph API knowledge for AI agents. An agent skill from merill/msgraph.

    115 GitHub stars~3.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Cmdlet Scaffolder

    pnp/powershell

    Generate a new PnP PowerShell cmdlet modelled on an existing sibling - class with the right base class and permission attributes, the documentation page, and the changelog entry.

    906 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Onenote SDK Patterns

What does Onenote SDK Patterns do?

Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling. Onenote SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a testable Microsoft Graph OneNote client boundary with delegated auth, opaque pagination, HTML operations, errors, and throttling.

When should I use Onenote SDK Patterns?

Onenote SDK Patterns fits situations like: reviewing integration code; with design OneNote client; review OneNote SDK; update OneNote patterns.

How do I install Onenote SDK Patterns in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill onenote-sdk-patterns -a claude-code`. Or copy the skill folder (skills/.curated/onenote-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/onenote-sdk-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Onenote SDK Patterns in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill onenote-sdk-patterns -a codex`. Or copy the skill folder (skills/.curated/onenote-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/onenote-sdk-patterns in your project. Codex loads it when a task matches its description.

Can I use Onenote SDK Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill onenote-sdk-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/onenote-sdk-patterns, .gemini/skills/onenote-sdk-patterns, .github/skills/onenote-sdk-patterns and .opencode/skills/onenote-sdk-patterns in your project.

What does Onenote SDK Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Onenote SDK Patterns is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, Write, Edit. Compatibility (from SKILL.md): Designed for Claude Code; live OneNote actions require network access, delegated authentication, and explicit approval.

Does Onenote SDK Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Onenote SDK Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Onenote SDK Patterns use?

Onenote SDK Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Onenote SDK Patterns use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 682 tokens, read only when the agent opens those files.

What are the alternatives to Onenote SDK Patterns?

Skills that share tags, products or a category with Onenote SDK Patterns: Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Microsoft Docs (MicrosoftDocs/mcp, 1.9k stars), Create Simple Prompt (pnp/copilot-prompts, 893 stars) and Declarative Agent Developer (microsoft/work-iq, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Onenote SDK Patterns?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.