AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Notion Agent Cli

skill-jgorostegui-notion-agent-cli-notion-agent-cli · by jgorostegui

>-

No reviews yet
0 installs
46 views
0.0% view→install

Install

$ agentstack add skill-jgorostegui-notion-agent-cli-notion-agent-cli

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jgorostegui-notion-agent-cli-notion-agent-cli)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Notion Agent Cli? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

CLI

node ${CLAUDE_PLUGIN_ROOT}/scripts/actions.mjs  [args...]

Run actions directly. If the decision tree does not cover your case, run schema for live metadata. Prefer schema over reading source.

Quick Patterns

  • Read + summarize/report -> getPage -> createPage (2 calls)
  • Copy with modifications -> copyPageWith (1 call)
  • Merge pages -> createPage -> mergePages (2 calls)
  • Batch property update -> batchSetProperties (1 call)

Decision Tree

  • Find something -> search "query" or workspaceMap
  • Read a page -> getPage
  • Query a database -> queryDatabase (markdown table; --format raw for JSON)
  • Create a page -> createPage "Title" "markdown content"
  • Replace all content -> updatePage "content"
  • Add to end -> appendBlocks "content"
  • Update properties -> setProperties '{"Status":"Done"}'
  • Markdown table to database -> importTable "| md | table |" --title "Name" (infers column types)
  • Full copy with subpages -> deepCopy
  • Copy + modify -> copyPageWith "Title" --appendMd "## Extra"
  • Merge pages -> mergePages '["id1","id2"]'
  • Read one section -> extractSection "Heading"
  • Edit one section -> replaceSection "Heading" "new content"
  • Batch update -> batchSetProperties '["id1","id2"]' '{"Status":"Done"}'

Key Behaviors

  • Page reads and database queries return markdown by default.

getPage and extractSection return markdown. queryDatabase returns a compact markdown table with row IDs for follow-up actions.

  • setProperties auto-types values from the database schema.

Pass {"Status": "Done"} — no raw Notion API format needed.

  • createPage accepts markdown as the content argument.
  • Compound actions save turns — each CLI call is one agentic turn:
  • copyPageWith = read + modify + create in 1 call
  • mergePages = N reads + merge in 1 call (target must exist; use createPage first)
  • batchSetProperties = N updates in 1 call
  • Stdin mode for large content:

echo '{"action":"createPage",...}' | node ${CLAUDE_PLUGIN_ROOT}/scripts/actions.mjs -

  • Auto-snapshot before destructive operations.

Common Pitfalls

  1. Do NOT fetch database entries individually — queryDatabase returns all in one call
  2. Do NOT use getPage + createPage when copyPageWith does both in one call
  3. Do NOT use multiple setProperties when batchSetProperties handles N pages
  4. Do NOT read the script source — use schema or the references below
  5. mergePages target must already exist — use createPage first to create it
  6. Large content (>4KB) should use stdin mode, not inline CLI args
  7. Properties are auto-typed from the database schema — pass simple values like {"Status": "Done"}, not raw Notion API format
  8. File/image URLs expire after ~1 hour — re-fetch if reusing later

References

  • references/action-reference.md — Read when you need exact parameter names or options for an unfamiliar action.
  • references/workflows.md — Read when combining operations or piping large content via stdin.
  • references/api-limits.md — Read when hitting API errors, size limits, or unexpected behavior.

Source & license

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

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

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.