Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

onenote-desktop

Skill by Takhoffman

Controls the Microsoft OneNote desktop app on Windows through PowerShell COM automation. Built for AI agents that need to read, write, search, or export OneNote notebooks and pages without browser automation.

  • Score 51
  • 11 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install onenote-desktop

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Takhoffman/onenote-desktop-agent /tmp/onenote-desktop-agent && mkdir -p ~/.claude/skills && cp -r /tmp/onenote-desktop-agent/skills/onenote-desktop ~/.claude/skills/onenote-desktop

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install onenote-desktop in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The onenote-desktop skill lets an AI agent control the Microsoft OneNote desktop app on Windows through direct PowerShell COM automation. It covers checking the install, listing notebooks, sections and pages, reading and writing page XML, creating and updating pages, searching, exporting to formats such as PDF and Word, and extracting audio recordings. A bundled helper script, Invoke-OneNoteCom.ps1, handles known operations, and agents can write one-off COM scripts for anything it does not wrap.

Commands run through Windows PowerShell with the STA flag, since Office COM is apartment-sensitive. The skill states that it does not use browser automation, localhost servers or Office.js add-ins. It is aimed at agents that need to work with desktop OneNote data locally. Reference files cover raw COM, page XML, media handling and read-only storage discovery.

Written from the project's SKILL.md and checked against it.

What it can do

  • check-installReports the detected desktop OneNote executable, version, STA state, and COM creation status.
  • hierarchyLists notebooks, sections, and pages, returning raw XML and parsed nodes.
  • get-pageReads a page's content by page ID, returning raw XML and parsed nodes.
  • create-pageCreates a page in an existing section with a title and optional body text.
  • update-page-xmlUpdates a page from a prepared XML file.
  • find-pagesRuns OneNote search against page content using a query.
  • publishExports a notebook, section, or page to formats such as PDF, Word, and MHTML.
  • navigateOpens OneNote at a given hierarchy object and optional page content object.
  • extract-mediaCopies audio and media files referenced by MediaFile elements on a page.

What you need

  • Windows operating system
  • Microsoft OneNote desktop app installed
  • Windows PowerShell (powershell.exe)

Try asking

  • List my OneNote notebooks, sections and pages on this Windows PC.
  • Create a page called Agent note in my Work section of OneNote.
  • Export this OneNote page to a PDF file in my exports folder.

Good to know

  • Targets desktop OneNote for Windows only, not OneNote on the web.
  • Media extraction depends on OneNote exposing MediaFile paths in page XML.
  • Raw .one and cache probing is a last resort.
  • If the hierarchy is empty, no notebooks are open in the current OneNote session.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/onenote-desktop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to onenote-desktop

All alternatives →

Compare with ask-user-question, beads or google_tasks

onenote-desktop: common questions

Does it work with OneNote on the web?

The source says it targets desktop OneNote for Windows, not OneNote on the web.

Does it need a localhost server or an Office.js add-in?

No. The source says it automates desktop OneNote without browser automation, localhost servers, or Office.js add-ins, and v1 does not use a localhost HTTP server.

Can it extract audio recordings from OneNote?

Yes, through the extract-media operation, which copies audio from MediaFile paths in page XML. The source notes this depends on OneNote exposing those paths locally.

How do I install onenote-desktop?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is onenote-desktop free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is onenote-desktop safe to use?

It scores 51 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to onenote-desktop?

Similar skills: ask-user-question, beads, google_tasks, recall.

onenote-desktop Install

Add to stack

Loading.