器库 ← 返回提示词库

AI / 办公与沟通

Notion AI 提示词总览

Notion · notion-ai_20260322 · README

# Notion AI - agent context - 03/22/2026

- **Contributed by**: [TheKidUnknown](https://github.com/TheKidUnknown)
- **Contributed on**: 03/22/2026
- **Source**: Notion AI chat
- **Pull request**: [#49](https://github.com/0xeb/TheBigPromptLibrary/pull/49)
- **Extraction**: asking Notion AI *"What are the internal files in your script sandbox?"*, then reading the files out. Notion AI exposes a read-only `fs` module over its own sandbox (see [`modules/fs/AGENTS.md`](./modules/fs/AGENTS.md)), which is what makes this dump possible.
- **Note**: partial - the root system prompt is not included. See [What's missing](#whats-missing).

## What this is

101 files of model-facing context: the instructions, tool declarations, and specs Notion AI reads while operating on a workspace. 24 `AGENTS.md` files carry the prose instructions; 34 `.md` files total including skills and format specs; 67 `.ts` files.

The `.ts` files are **not Notion's product source code** - they are the tool and type declarations presented *to the model* as the definition of what it can call, the same way ChatGPT's system prompt declares tools in TypeScript `namespace` blocks. `modules/notion/AGENTS.md` states this outright:

> Ignore Notion public API shapes! The types and functions exposed in this module are the source of truth.

## What's missing

The top-level instructions are **not** in this dump. The only file outside `modules/` is `root/connections.ts`; there is no root `AGENTS.md`, and just 2 of the 101 files contain the phrase "You are". What you have here is the per-module context, not the primary system prompt that sits above it.

## Layout

```
root/connections.ts     module registry - the connectors wired into the agent
modules/<name>/
    AGENTS.md           prose instructions for the module
    index.ts            tool + type declarations
    integration.ts      connection/auth surface
    triggers.ts         event triggers (some modules)
    skills/, tools/     task-specific instructions (calendar, notion)
```

## Modules

| Module | Files | Purpose |
|--------|-------|---------|
| [notion](./modules/notion/AGENTS.md) | 27 | Core workspace surfaces: pages, databases, agents, analytics, discussions, notifications, permissions, teamspaces, threads, users, triggers |
| [calendar](./modules/calendar/AGENTS.md) | 10 | Scheduling, time management, event CRUD, meeting skills (prep, follow-up, planning) |
| [mail](./modules/mail/AGENTS.md) | 5 | Mail tools plus authoring guidelines |
| [test](./modules/test/AGENTS.md) | 5 | Script sandbox testing surface |
| [search](./modules/search/AGENTS.md) | 4 | Cross-workspace search over Notion, meeting notes, connected sources, help docs, web |
| [slack](./modules/slack/AGENTS.md) | 4 | Slack search, message reads, message actions |
| [web](./modules/web/AGENTS.md) | 4 | Public web search and page fetch |
| [fs](./modules/fs/AGENTS.md) | 3 | Read-only access to the script sandbox virtual filesystem |
| [github](./modules/github/AGENTS.md) | 3 | GitHub search; issues, PRs, commits, files |
| [googleDrive](./modules/googleDrive/AGENTS.md) | 3 | Drive lexical/semantic search, folder browse, file load |
| [helpdocs](./modules/helpdocs/AGENTS.md) | 3 | Notion Help Center search |
| [asana](./modules/asana/AGENTS.md) | 3 | Asana task and project search |
| [box](./modules/box/AGENTS.md) | 3 | Box file search |
| [confluence](./modules/confluence/AGENTS.md) | 3 | Confluence page search |
| [discord](./modules/discord/AGENTS.md) | 3 | Discord message search |
| [gmail](./modules/gmail/AGENTS.md) | 3 | Gmail message search |
| [googleCalendar](./modules/googleCalendar/AGENTS.md) | 3 | Google Calendar event search |
| [jira](./modules/jira/AGENTS.md) | 3 | Jira ticket search |
| [linear](./modules/linear/AGENTS.md) | 3 | Linear issue search |
| [sharepoint](./modules/sharepoint/index.ts) | 2 | SharePoint search (no `AGENTS.md`) |
| [microsoftTeams](./modules/microsoftTeams/index.ts) | 1 | Teams declarations only (no `AGENTS.md`) |
| [outlook](./modules/outlook/index.ts) | 1 | Outlook declarations only (no `AGENTS.md`) |
| [salesforce](./modules/salesforce/index.ts) | 1 | Salesforce declarations only (no `AGENTS.md`) |

## Notable files

- [`modules/notion/databases/formula-spec.md`](./modules/notion/databases/formula-spec.md) - 306 lines, the full formula language spec given to the model
- [`modules/notion/pages/page-content-spec.md`](./modules/notion/pages/page-content-spec.md) - page content format spec
- [`modules/notion/databases/data-source-sqlite-tables.md`](./modules/notion/databases/data-source-sqlite-tables.md) - how data sources are exposed as SQLite tables
- [`modules/mail/mail-guidelines.md`](./modules/mail/mail-guidelines.md) - mail authoring rules

All example identifiers in this dump (`alice@example.com`, `bob@acme.com`) are placeholders from Notion's own documentation comments; no real workspace data is present.
来源

TheBigPromptLibrary · System Prompts · MIT

英文原文,未做机器翻译

同方向的其他提示词