Status: Alpha
A modern, automation-safe CLI for The Human Pattern Lab.
HPL is the official command-line interface for The Human Pattern Lab.
Formerly developed under the codename Skulk, HPL is built to work just as well for humans at the keyboard as it does for automation, CI, and agent-driven workflows.
This package is in active alpha development. Interfaces are stabilizing, but expect iteration.
HPL is the CLI for the Human Pattern Lab API.
By default, it targets a Human Pattern Lab API instance. You can override the API endpoint with --base-url to use staging or a self-hosted deployment of the same API.
Note:
--base-urlis intended for alternate deployments of the Human Pattern Lab API, not arbitrary third-party APIs.
HPL supports token-based authentication via the SKULK_TOKEN environment variable.
export SKULK_TOKEN="your-api-token"(Optional) Override the API endpoint:
export SKULK_BASE_URL="https://api.thehumanpatternlab.com"
SKULK_BASE_URLshould point to the root of a Human Pattern Lab API deployment.
Do not include additional path segments.
Some API endpoints may require authentication depending on server configuration.
npm install -g @thehumanpatternlab/hpl@alphahpl notes sync --dir ./src/labnotes/enFor machine-readable output:
hpl --json notes synchpl <domain> <action> [options]
hpl notes listhpl notes get <slug>hpl notes sync --dir <path>
hpl healthhpl versionStructured output is treated as a contract, not a courtesy.
npm run json:checkFails if any non-JSON output appears on stdout.
The Human Pattern Lab
https://thehumanpatternlab.com
The lantern is lit.
The foxes are watching.