# Notion

> Use when reading, creating, updating, or organizing Notion pages and databases through the Notion API

- **Type:** Skill
- **Install:** `agentstack add skill-martin-hausleitner-martins-awesome-skills-notion`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Martin-Hausleitner](https://agentstack.voostack.com/s/martin-hausleitner)
- **Installs:** 0
- **Category:** [Productivity](https://agentstack.voostack.com/c/productivity)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Martin-Hausleitner](https://github.com/Martin-Hausleitner)
- **Source:** https://github.com/Martin-Hausleitner/martins-awesome-skills/tree/main/skills/productivity/notion

## Install

```sh
agentstack add skill-martin-hausleitner-martins-awesome-skills-notion
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Notion

## Overview

Use Notion as a structured workspace through its API. Keep integrations narrow, explicit, and easy to revoke.

## Setup

1. Create a Notion integration in the Notion developer settings.
2. Store the token outside the repo:

```bash
export NOTION_API_KEY="YOUR_NOTION_TOKEN"
export NOTION_VERSION="YYYY-MM-DD"
```

3. Share only the needed pages or databases with the integration.
4. Verify access with a read-only request before writing.

## Common Requests

Search:

```bash
curl -s -X POST "https://api.notion.com/v1/search" \
  -H "Authorization: Bearer $NOTION_API_KEY" \
  -H "Notion-Version: $NOTION_VERSION" \
  -H "Content-Type: application/json" \
  -d '{"query":"project notes"}'
```

Read page blocks:

```bash
curl -s "https://api.notion.com/v1/blocks/PAGE_ID/children" \
  -H "Authorization: Bearer $NOTION_API_KEY" \
  -H "Notion-Version: $NOTION_VERSION"
```

## Safety

- Do not commit Notion tokens, page IDs for private workspaces, exports, or database dumps.
- Ask before creating, editing, deleting, or publishing pages.
- Prefer small updates over replacing whole pages.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Martin-Hausleitner](https://github.com/Martin-Hausleitner)
- **Source:** [Martin-Hausleitner/martins-awesome-skills](https://github.com/Martin-Hausleitner/martins-awesome-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-martin-hausleitner-martins-awesome-skills-notion
- Seller: https://agentstack.voostack.com/s/martin-hausleitner
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
