Onenote CLI — AI skill for Claude Code
Make your OneNote notebooks survive in the age of AI — CLI with full-text page-level search via Graph API.
How to install Onenote CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open snomiao/onenote-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Onenote CLI does
Make your OneNote notebooks survive in the age of AI — CLI with full-text page-level search via Graph API.
Alternatives in AI
- Claude Cookbook — Official notebooks and recipes for common patterns (RAG, tool use, Skills, MCP) 35.3k ★
- AGENTS.md - Skill Seekers — Concise reference for AI coding agents 11.1k ★
- Humanizer: Remove AI Writing Patterns — You are a writing editor that identifies and removes signs of AI-generated text to make writing sound more nat 10.5k ★
README
onenote-cli
**Your OneNote, in a terminal. Fluent with AI.**
onenote ls # browse your notebooks
onenote read NotebookA/SectionB/PageC # read a page, rendered as markdown
onenote search "visa interview" # find any word, anywhere
onenote open NotebookA/SectionB # jump back into OneNote Online
onenote append NotebookA/SectionB/today -c "- met with alex" --md
Every page, every section, every word — addressable by path, openable from a prompt, pipe-able into anything.
Install
As an AI Agent Skill
# Claude Code / OpenClaw / Codex / Cursor / any SKILL.md-compatible agent
npx skills add snomiao/onenote-cli
Manual
git clone https://github.com/snomiao/onenote-cli.git
cd onenote-cli
bun install
Setup
- Register an Azure AD app at entra.microsoft.com (see docs/setup.md for full walkthrough)
- Copy
.env.exampleto.env.localand set your Client ID:cp .env.example .env.local # Edit .env.local with your Application (client) ID - Login:
bun run src/index.ts auth login
Usage
# Auth
onenote auth login # Login via device code flow
onenote auth whoami # Show current user
onenote auth setup # Print setup instructions
onenote auth logout # Clear tokens
# Notebooks ( = name, path, Graph ID, or URL)
onenote notebooks list
onenote notebooks get
onenote notebooks create
# Sections
onenote sections list [] # e.g. "NotebookA"
onenote sections create -n --name
# Pages ( = "nb/sec/page", page ID, or OneNote URL)
onenote pages list [] # e.g. "NotebookA/SectionB"
onenote pages get
onenote pages create -s -t --body "# Heading" --md
onenote pages append -c "- bullet" --md # ⚠ may reformat existing content (Graph API lim
Related Skills
Book Memex
Powerful eBook metadata management tool with SQLite backend, AI-powered enrichment, web interface, and compreh
MCP Memory Sqlite
A personal knowledge graph and memory system for AI assistants using SQLite with optimized text search. Perfec
AI Intelligence Hub
AI Intelligence Hub - Track 14 AI sources (GitHub, HuggingFace, MCP, Claude Code, Anthropic Skills & Cookbooks
Candlekeep Marketplace
Official CandleKeep plugin marketplace for Claude — give your AI agents a library they can actually read, with
Healthcare Voice AI Assistant
Voice AI agent for patient intake — Vapi + Claude + FastAPI + SQLite. Collects demographics over a phone call,
Agentic Product Page Auditor
Audits whether an AI shopping agent can read and buy from a product page. Reconstructs the product graph an ag
Related Agents
Web Searcher
Internet research agent with search, page fetch, authenticated gh CLI (GitHub issues/PRs/releases/API), and fu
Teamai Recall
Search the team knowledge base (skills + learnings + docs + rules + codebase graph) and return a compact, stru
File Inspector
Use to deeply inspect a single file (PDF, image, document, text) and return a structured report. The inspector