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.
npx agentmods add skills/fuyuxiang/echo-agent/notion-syncnpx skills add fuyuxiang/echo-agent --skill notion-syncgit clone --depth 1 https://github.com/fuyuxiang/echo-agentWrote 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.
[](https://agentmods.dev/skills/fuyuxiang/echo-agent/notion-sync)<a href="https://agentmods.dev/skills/fuyuxiang/echo-agent/notion-sync"><img src="https://agentmods.dev/badge/skills/fuyuxiang/echo-agent/notion-sync.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00023 | $0.00521 |
| Opus 5 | $0.00012 | $0.00260 |
| Sonnet 5 | $0.00005 | $0.00104 |
| Haiku 4.5 | $0.00002 | $0.00052 |
Grade B, and why
notion-sync scanned grade B with 1 finding 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 4d 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
resp = httpx.post("https://api.notion.com/v1/search", What it actually says
Notion Sync
Notion API integration for pages, databases, and content management.
Setup
- Create integration at https://www.notion.so/my-integrations
- Get Internal Integration Token
- Share target pages/databases with the integration
- Set environment:
export NOTION_API_TOKEN=secret_xxx
Script
python3 scripts/notion_client.py --token secret_xxx databases
python3 scripts/notion_client.py --token secret_xxx query <database-id> --limit 20
python3 scripts/notion_client.py --token secret_xxx create <database-id> "Page Title" --content "Body text"
API Usage
import httpx
HEADERS = {
"Authorization": f"Bearer {NOTION_API_TOKEN}",
"Notion-Version": "2022-06-28",
"Content-Type": "application/json",
}
# Search
resp = httpx.post("https://api.notion.com/v1/search",
headers=HEADERS,
json={"query": "project plan"})
# Read page blocks
resp = httpx.get(f"https://api.notion.com/v1/blocks/{page_id}/children",
headers=HEADERS)
# Create page
resp = httpx.post("https://api.notion.com/v1/pages",
headers=HEADERS,
json={
"parent": {"page_id": parent_id},
"properties": {"title": [{"text": {"content": "New Page"}}]},
"children": [
{"paragraph": {"rich_text": [{"text": {"content": "Hello"}}]}}
]
})
Block Types
| Type | Use |
|---|---|
| paragraph | Normal text |
| heading_1/2/3 | Headers |
| bulleted_list_item | Bullet points |
| numbered_list_item | Numbered lists |
| code | Code blocks |
| toggle | Collapsible sections |
| to_do | Checkboxes |
Common Workflows
- Save chat notes to Notion page
- Query reading list database
- Create daily journal entry
- Append meeting notes from template
What ships with it
1 file 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.
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.
- 4d ago First seen · 81 lines · 23 tokens per session scan B c0ffa9b298ae
notion-sync is a skill published in the GitHub repository fuyuxiang/echo-agent (988 stars, last pushed 5d ago), licensed MIT. It adds 23 tokens to every session and 521 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
pptx
从论文、大纲或结构化文本生成 PowerPoint (.pptx) 演示文稿。Use when 用户需要把一篇论文/文章/大纲做成幻灯片、slides、演示文稿、PPT、deck。Don't use when 只需纯文本总结、生成 Word/PDF、或修改已有 pptx 的单个像素级样式。.
ppt-generation
Generate PPTX presentations from slide plan + content.
notion
Notion API for creating and managing pages, databases, and blocks via curl. Search, create, update, and query Notion workspaces directly from the terminal.
data-analysis
Analyze Excel/CSV files with DuckDB SQL via bash.
notion-meeting-intelligence
用于基于 Notion 上下文准备会议材料。.
xlsx
Use this skill whenever the user wants to do anything with Excel spreadsheet files (.xlsx, .xls, .csv). This includes reading data, writing formulas, manipulating cells, formatting, filtering, creating charts, pivot tables, and any spreadsheet automation tasks.