banana-sync-to-notion

banana-sync-to-notion is a skill for Claude Code, Codex from TreyDong/banana-skills. It costs 137 tokens per session (1,380 once invoked), scanned A, original, MIT.

A tool that copies Markdown files from your computer into Notion, a workspace for storing and organizing notes and documents. It keeps folders as nested Notion pages and preserves Markdown formatting.

In plain words
What is it for?
Use it to sync a folder of Markdown notes to a Notion page, either incrementally or after clearing the existing pages for a fresh copy.
Why use it?
It avoids copying documents by hand and reduces the risk of losing folder structure or formatting during a backup or migration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to sync a folder of Markdown notes to a Notion page, either incrementally or after clearing the existing pages for a fresh copy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treydong/banana-skills/banana-sync-to-notion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TreyDong/banana-skills --skill banana-sync-to-notion
Clone the repo
git clone --depth 1 https://github.com/TreyDong/banana-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for banana-sync-to-notion

README.md
[![agentmods](https://agentmods.dev/badge/skills/treydong/banana-skills/banana-sync-to-notion/github.svg)](https://agentmods.dev/skills/treydong/banana-skills/banana-sync-to-notion)
Your own site
<a href="https://agentmods.dev/skills/treydong/banana-skills/banana-sync-to-notion"><img src="https://agentmods.dev/badge/skills/treydong/banana-skills/banana-sync-to-notion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for banana-sync-to-notion

Your own site · 80×15
<a href="https://agentmods.dev/skills/treydong/banana-skills/banana-sync-to-notion"><img src="https://agentmods.dev/badge/skills/treydong/banana-skills/banana-sync-to-notion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,380 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00137 $0.01380
Opus 5 $0.00068 $0.00690
Sonnet 5 $0.00027 $0.00276
Haiku 4.5 $0.00014 $0.00138

Measured 12d ago against content hash 635366f146d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

banana-sync-to-notion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/clean-notion.js, scripts/sync-notion.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/banana-sync-to-notion/SKILL.md · 189 lines

How it starts

The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Banana Sync to Notion

Automatically sync local Markdown files to Notion while preserving directory structure and full Markdown formatting.

Setup

Before using this skill:

  1. Install dependencies in the skill directory:

    cd banana-sync-to-notion
    npm install
    
  2. Configure environment variables by creating a .env file:

    NOTION_TOKEN=your_notion_integration_token
    NOTION_ROOT_PAGE_ID=target_page_id
    
    • NOTION_TOKEN: Get from Notion Integrations
    • NOTION_ROOT_PAGE_ID: The parent page ID where files will be synced
    • Ensure the integration has read/write permissions to the target page

Usage

Sync Files to Notion

Run from the skill directory:

npm run sync:notion

This command:

  • Recursively scans the source directory (default: Files/ in project root)
  • Converts Markdown files to Notion blocks
  • Preserves directory hierarchy as nested pages
  • Assigns emoji icons based on filenames
  • Skips existing pages (incremental sync)
  • Shows detailed progress and statistics

Clean Notion Pages

Remove all child pages under the target page:

npm run clean:notion

Use this before a fresh re-sync.

Re-sync Everything

Clean existing content and sync fresh:

npm run resync:notion

Combines clean:notion + sync:notion.

Markdown Support

All standard Markdown syntax is converted to native Notion blocks:

Syntax Notion Output
**bold** or __bold__ Bold text
*italic* or _italic_ Italic text
***bold italic*** Bold italic
`code` Inline code
[text](url) Clickable link (http/https only)
```language ... ``` Code block
- item or * item Bullet list
1. item Numbered list
> quote Quote block
> 💡 note Callout (emoji-prefixed quotes)
--- or *** Divider
Markdown tables Native Notion tables

Read the full file on GitHub · 189 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 189 lines · 137 tokens per session scan A 635366f146d0

Subscribe to this mod's changes

banana-sync-to-notion is a skill published in the GitHub repository TreyDong/banana-skills (16 stars, last pushed 5mo ago), licensed MIT. It adds 137 tokens to every session and 1,380 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.