notion-cli-agent SKILL.md skillA

notion-cli-agent from balneario-de-cofrentes/notion-cli-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add balneario-de-cofrentes/notion-cli-agent/notion-cli-agent@git:20260803.67c64e6

Pins git:20260803.67c64e6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
balneario-de-cofrentes/notion-cli-agent
Path
skills/notion-cli-agent/SKILL.md
Versions recorded
5
Latest version
git:20260803.67c64e6, committed Aug 3, 2026
First version recorded
Apr 8, 2026
Size
10,755 bytes
Repository stars
90
License
MIT

Local Notion CLI for shell-based access to pages, databases, tasks, content blocks; bulk/batch ops. Prefer over Notion MCP or direct API.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# notion-cli-agent

Local CLI for full Notion access.

## Binary

```bash
notion <args>   # globally installed via npm
```

## Auth — just run `notion <cmd>`

That's it. The CLI handles auth automatically. **Do not prefix with `NOTION_TOKEN=...`** unless `notion doctor` reports a 401 (see Troubleshooting below).

Token resolution order inside the CLI:
1. `NOTION_TOKEN` env var
2. `NOTION_API_KEY` env var
3. `~/.config/notion/api_key`  ← source of truth
4. `~/.notion/token`

The recommended setup keeps `~/.config/notion/api_key` and the `NOTION_TOKEN` env var in lock-step by sourcing the file from `.zshrc`:

```bash
# in ~/.zshrc — single source of truth for the token
export NOTION_TOKEN="$(cat ~/.config/notion/api_key 2>/dev/null)"
```

With this, env var and file can't diverge — the stale-token gotcha disappears. Run `notion doctor` to verify (5/5 green).

### Troubleshooting (only if `notion doctor` reports 401)

Symptom: `notion doctor` shows `✅ Token: Token found` but `❌ API Connection: Token is invalid or expired`.

Means: the env var is stale (a parent process exported an outdated token). Fix:

```bash
# One-shot bypass (uses the file directly):
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add balneario-de-cofrentes/notion-cli-agent/notion-cli-agent@sha256:f0059480e9cc61c2

The line at the top of this page pins the label git:20260803.67c64e6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gb3ydhgb6c4jftli.svg)](https://markdownregistry.com/a/art_gb3ydhgb6c4jftli)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Apr 8, 2026 and Aug 3, 2026, about one every 29 days.

versioncommittedcommitsizeaudit
git:20260803.67c64e6 latest2026-08-03 67c64e6 10,755 BA view · diff
git:20260627.d55ac4a2026-06-27 d55ac4a 9,931 BA view · diff
git:20260507.197fe7c2026-05-07 197fe7c 8,590 BA view · diff
git:20260416.e328e9f2026-04-16 e328e9f 8,964 BA view · diff
git:20260408.b387ecf2026-04-08 b387ecf 7,655 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10755 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

balneario-de-cofrentes/notion-cli-agent · 90 stars · license MIT · pushed 2026-09-09 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gb3ydhgb6c4jftli
GET https://markdownregistry.com/api/v1/resolve?ref=balneario-de-cofrentes/notion-cli-agent/notion-cli-agent
GET https://markdownregistry.com/api/v1/blob/f0059480e9cc61c23cb577c33af6fe0285f972bc9d917741bccf814f7e36b633

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from balneario-de-cofrentes/notion-cli-agent

notion-onboarding SKILL.md skill
balneario-de-cofrentes/notion-cli-agent · skills/notion-onboarding/SKILL.md · First-time Notion workspace discovery — identify key databases (projects/tasks/OKRs/home page) via guided discovery and…
git:20260507.197fe7c · audit A · 90 stars

Every file in balneario-de-cofrentes/notion-cli-agent

Browse by kind, by grade A, or by owner.