pages

Create, update, and retrieve Notion pages and properties via markdown.

4|4|Updated Dec 30, 2024
One-click install
npx skills add https://github.com/purduehackers/wack-hacker --skill pages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pages
Source: https://github.com/purduehackers/wack-hacker/tree/main/src/lib/ai/agents/notion/prompts/skills/pages
Command: npx skills add https://github.com/purduehackers/wack-hacker --skill pages

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation, updating, and retrieval of pages and their properties within Notion, reducing manual data entry and ensuring consistency.

Core Features & Use Cases

  • Page Creation: Create new pages, either as subpages of existing pages or as entries in Notion databases, with specified properties and content.
  • Property Management: Update existing page properties (like title, status, dates, select options, etc.) and retrieve specific property values.
  • Content Editing: Read existing page content and update it using Notion-flavored markdown, including targeted search-and-replace or full content replacement.
  • Use Case: Automatically create a new project brief page in a 'Projects' database, setting the 'Status' to 'To Do' and assigning it to a team member, all from a simple command.

Quick Start

Create a new page in the 'Tasks' database with the title 'Follow up with client' and set the due date to tomorrow.

Frequently Asked Questions about pages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new page in a Notion database and set its properties?

To create a new page in a Notion database, specify the target database, define the page title, and set property values like status or dates. This creates a database entry with consistent properties and markdown content.

Can I update existing Notion page properties like status and dates?

Yes, you can update existing Notion page properties directly. This includes modifying title, status, dates, and select options, ensuring your Notion database entries remain current without manual data entry.

How do I edit Notion page content using markdown?

You can edit Notion page content using Notion-flavored markdown. The system supports reading existing content and performing targeted search-and-replace or full content replacement via the native markdown API.

What is the best way to retrieve specific property values from a Notion page?

Retrieving specific property values from a Notion page involves using property operation tools to fetch targeted data. This allows you to extract precise page properties without loading the entire document content.

Can I add subpages to existing Notion pages programmatically?

Yes, you can create subpages under existing Notion pages. This allows hierarchical content structuring by generating new pages nested within parent pages, complete with their own markdown content and properties.