ccppccpp home

Hooks

PQL mode

alpha

A hooks module that turns the prompt box into a PQL editor once a prompt starts with $.

The module paints PQL as you type, completes keywords, functions and policies, shows diagnostics above the box, compiles the program on Enter and guards file writes outside its scopes. It needs Claude Code 2.1.306 or later and the `ccpp` CLI.

Install

Installing the pql plugin installs this component too.

Install the ccpp CLI (terminal)

curl -fsSL https://s3.ccpp.dev/ccpp-public/install.sh | sh

Add the marketplace (terminal)

claude plugin marketplace add https://s3.ccpp.dev/ccpp-public/marketplace.json

Install the pql plugin (terminal)

claude plugin install pql@ccpp