psql

Query a local Kindle notes PostgreSQL database with SQL or natural language.

Updated Apr 27, 2025
One-click install
npx skills add https://github.com/dfujiwara/kindle-notes-reminder --skill psql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: psql
Source: https://github.com/dfujiwara/kindle-notes-reminder/tree/main/.claude/skills/psql
Command: npx skills add https://github.com/dfujiwara/kindle-notes-reminder --skill psql

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill lets you interact with your local Kindle notes database by translating natural language queries into SQL, enabling fast data exploration without needing SQL fluency and without exposing your data externally.

Core Features & Use Cases

  • Natural language to SQL: Describe what you want and have the Skill translate it into a safe SQL query against the local database.
  • Direct SQL input: Run raw SQL queries for advanced users.
  • Local execution & privacy: All data remains on your machine, ensuring privacy and security.
  • Use Case: Quickly fetch the most recent notes across multiple books or search highlights by keyword.

Quick Start

Ask to see the 5 most recent notes, e.g.: 'Show me the 5 most recent notes.'

Frequently Asked Questions about psql

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

FAQPage Schema
How do I query my Kindle notes database using SQL?

Query your local Kindle notes PostgreSQL database by running raw SQL queries or describing what you need in natural language. The Skill translates your request into SQL, executes it against the database, and returns results—keeping all data private on your machine.

Can I use natural language instead of writing SQL queries?

Yes. Describe what you want in plain English—like 'Show me the 5 most recent notes'—and the Skill converts it to SQL automatically. You'll see the generated query and explanation alongside results.

What's the best way to search and filter Kindle highlights by keyword?

Use natural language queries or direct SQL to search your local Kindle database by keyword, book, or date. The Skill handles the translation and execution, returning matching highlights without external data exposure.

Do I need PostgreSQL installed to use this Skill?

Yes. This Skill requires a local PostgreSQL database with your Kindle notes. It connects using a connection string from your environment or defaults to postgresql://postgres:postgres@localhost:5432/fastapi_db.

What operations can I perform on my Kindle notes database?

You can read, inspect, and manage data—inspecting tables and schema with commands like \d and retrieving notes with SQL queries. Write actions require explicit confirmation to prevent accidental changes.

Why keep Kindle notes queries local instead of using cloud tools?

Local execution ensures your personal Kindle data never leaves your machine, eliminating privacy and security risks while enabling instant queries without external dependencies.