notion-public-site

notion-public-site is a skill for Claude Code from mayank-io/mstack. It costs 53 tokens per session (646 once invoked), scanned A, original, MIT.

A skill that downloads every page from a public Notion site as Markdown files, including links between pages and embedded images.

In plain words
What is it for?
Use it to archive, mirror, save, or extract the contents of a public Notion site into local Markdown files.
Why use it?
It gives you a local copy of a public Notion site without manually copying each page or rebuilding its references.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: built for gstack.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fetch plugin — 8 skills shipped together

Good fit Use it to archive, mirror, save, or extract the contents of a public Notion site into local Markdown files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mayank-io/mstack
Claude Code
/plugin install fetch

Made for: Claude Code.

Or install fetch, the plugin that ships this one along with the rest of its 8 skills.

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 notion-public-site

README.md
[![agentmods](https://agentmods.dev/badge/skills/mayank-io/mstack/notion-public-site.svg)](https://agentmods.dev/skills/mayank-io/mstack/notion-public-site)
Your own site
<a href="https://agentmods.dev/skills/mayank-io/mstack/notion-public-site"><img src="https://agentmods.dev/badge/skills/mayank-io/mstack/notion-public-site.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 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.00053 $0.00646
Opus 5 $0.00026 $0.00323
Sonnet 5 $0.00011 $0.00129
Haiku 4.5 $0.00005 $0.00065

Measured 7d ago against content hash 4ddbe24c9053, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

notion-public-site 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 7d ago.

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.

plugins/fetch/skills/notion-public-site/SKILL.md · 79 lines

How it starts

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

Download Notion Site

Download all content from a public Notion site as Markdown files.

Browser — always gstack, never headless

Browser work goes through the gstack browser, which holds the user's logged-in sessions. A fresh Playwright instance is logged out: it silently returns login walls or truncated content that looks like a successful capture.

B="$HOME/.claude/skills/gstack/browse/dist/browse"
"$B" connect        # run from the target directory — another cwd spawns a second
                    # daemon and kills the headed session
"$B" goto "<url>"
"$B" js '<expression>'

Do NOT disconnect when done. browse disconnect tears down the daemon and the logged-in sessions with it. Leave it running — the daemon is a shared user resource, connect is safe to call again, and only whoever started it should close it.

Never launch a headless browser. Not headless=True, not --headless, not a fresh chromium.launch(). If gstack is unavailable, stop and say so rather than falling back — a logged-out capture is worse than no capture, because it looks fine.

Arguments

  • $ARGUMENTS should contain: <url> <output_dir> [--test]

Instructions

Run the Notion downloader script:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/notion_public_site_downloader.py $ARGUMENTS

If httpx or playwright are not installed, install them first:

pip3 install httpx playwright
python3 -m playwright install chromium

Features

  • Automatically crawls all internal pages starting from the base URL
  • Downloads embedded images to attachments/ folder
  • Converts Notion content to clean Markdown
  • Rewrites internal links as Obsidian wikilinks
  • Creates an index file with table of contents
  • Use --test flag to download only the first page for testing

Verification Steps

After download completes, verify the content:

  1. Count verification: Compare number of downloaded pages against expected (check _page_map.json)
  2. Content spot-check: open 2-3 random pages in the gstack browser and compare visible content with the downloaded markdown
  3. Link verification: Confirm wikilinks in markdown files point to existing files
  4. Image verification: Confirm images in attachments/ folder are valid and referenced

Read the full file on GitHub · 79 lines

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. 7d ago First seen · 79 lines · 53 tokens per session scan A 4ddbe24c9053

Subscribe to this mod's changes

notion-public-site is a skill published in the GitHub repository mayank-io/mstack (5 stars, last pushed 13d ago), licensed MIT. It adds 53 tokens to every session and 646 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens