onenote
БесплатноБез исполняемых скриптовНе проверенCreate, read, and manage OneNote notebooks, sections, and pages via Microsoft Graph API. Use when someone asks to "create OneNote pages", "read OneNote…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
OneNote
Overview
This skill helps AI agents integrate with Microsoft OneNote via the Graph API. It covers creating and managing notebooks, sections, and pages, generating rich page content with HTML, extracting text and images, and searching across notes.
Instructions
Authentication
// Same Azure AD app registration as other Microsoft 365 Graph skills.
// Permissions needed (delegated, signed-in user context):
// Notes.Create — create notebooks, sections, and pages only
// Notes.ReadWrite — read/write the signed-in user's own notebooks
// Notes.ReadWrite.All — read/write any notebook the user can access (requires admin consent)
import { Client } from '@microsoft/microsoft-graph-client';
// ... same auth setup as other Graph API skills
Microsoft retired app-only (client-credentials) authentication for the OneNote API on March 31, 2025. These scopes must be requested as delegated permissions with a signed-in user; a daemon app using
Notes.ReadWrite.Allwith no user context will be rejected.
Notebooks & Sections
// List notebooks
const notebooks = await graphClient.api(`/users/${userId}/onenote/notebooks`)
.select('id,displayName,createdDateTime,lastModifiedDateTime')
.get();
// Create notebook
const notebook = await graphClient.api(`/users/${userId}/onenote/notebooks`)
.post({ displayName: 'Project Notes' });
// List sections in a notebook
const sections = await graphClient
.api(`/users/${userId}/onenote/notebooks/${notebookId}/sections`)
.select('id,displayName')
.get();
// Create section
const section = await graphClient
.api(`/users/${userId}/onenote/notebooks/${notebookId}/sections`)
.post({ displayName: 'Meeting Notes' });
// Create section group (for organizing sections)
const group = await graphClient
.api(`/users/${userId}/onenote/notebooks/${notebookId}/sectionGroups`)
.post({ displayName: 'Q1 2026' });
Create Pages
OneNote pages are created using HTML. The API accepts a subset of HTML with OneNote-specific data attributes.
// Simple page
await graphClient.api(`/users/${userId}/onenote/sections/${sectionId}/pages`)
.header('Content-Type', 'application/xhtml+xml')
.post(`
<!DOCTYPE html>
<html>
<head>
<title>Sprint 14 Standup — March 1, 2026</title>
<meta name="created" content="2026-03-01T09:30:00-05:00" />
</head>
<body>
<h1>Sprint 14 Daily Standup</h1>
<p>Date: March 1, 2026 | Attendees: Sarah, Mike, Dani</p>
<h2>Sarah</h2>
<ul>
<li><b>Yesterday:</b> Completed payment retry logic PR #142</li>
<li><b>Today:</b> Start integration tests for retry flow</li>
<li><b>Blockers:</b> None</li>
</ul>
<h2>Mike</h2>
<ul>
<li><b>Yesterday:</b> Reviewed 3 PRs, fixed CI flakiness</li>
<li><b>Today:</b> Dashboard performance optimization</li>
<li><b>Blockers:</b> Need access to production Datadog</li>
</ul>
<h2>Action Items</h2>
<ul>
<li data-tag="to-do">Grant Mike Datadog access — Sarah</li>
<li data-tag="to-do">Schedule sprint demo for Friday — Dani</li>
</ul>
<h2>Notes</h2>
<p>Sprint velocity tracking at 38 points, capacity is 42. On track for all commitments.</p>
</body>
</html>
`);
// Page with table
await graphClient.api(`/users/${userId}/onenote/sections/${sectionId}/pages`)
.header('Content-Type', 'application/xhtml+xml')
.post(`
<!DOCTYPE html>
<html>
<head><title>Weekly Metrics</title></head>
<body>
<h1>Weekly Metrics — Feb 24-28, 2026</h1>
<table border="1">
<tr><th>Metric</th><th>Value</th><th>Target</th><th>Status</th></tr>
<tr><td>Revenue</td><td>$98,200</td><td>$90,000</td><td>✅ Above</td></tr>
<tr><td>Sign-ups</td><td>142</td><td>150</td><td>⚠️ Below</td></tr>
<tr><td>Churn</td><td>0.4%</td><td>0.5%</td><td>✅ Below</td></tr>
<tr><td>NPS</td><td>72</td><td>65</td><td>✅ Above</td></tr>
</table>
</body>
</html>
`);
// Page with image from URL
await graphClient.api(`/users/${userId}/onenote/sections/${sectionId}/pages`)
.header('Content-Type', 'application/xhtml+xml')
.post(`
<!DOCTYPE html>
<html>
<head><title>Architecture Diagram</title></head>
<body>
<h1>System Architecture — v2</h1>
<img src="https://cdn.northstar-robotics.com/diagrams/architecture-v2.png" alt="Architecture diagram" />
<p>Updated March 2026. Changes: added Redis cache layer, split API gateway.</p>
</body>
</html>
`);
OneNote HTML Tags Reference
Key data-tag values: to-do, important, question, remember-for-later, definition, highlight, contact, idea, critical, project-a, project-b. Use <meta name="created" content="2026-03-01T09:00:00-05:00" /> for timestamps. Standard <ul> nesting creates indented outlines.
Read Pages
Установить onenote в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл onenote?
Create, read, and manage OneNote notebooks, sections, and pages via Microsoft Graph API. Use when someone asks to "create OneNote pages", "read OneNote notes", "automate OneNote", "save to OneNote", "extract OneNote content", "organize OneNote notebooks", or "OneNote API". Covers notebooks, sections, pages (create with HTML), content extraction, and search.
Как установить скилл onenote?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл onenote запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic