postkit

Community

Provision auth, config, metering, and queues in Postgres

Authorvarunchopra
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the challenge of building production-ready authentication, authorization, versioned configuration, usage metering, and background job queues without wiring multiple external services.

Core Features & Use Cases

  • Postgres-native SQL functions: Use directly from any language/driver to implement identity, permissions, config, metering, and job queues.
  • Multi-module coverage: authn for users/sessions/tokens, authz for ReBAC relationship-based permissions, config for versioned key-value settings with rollback, meter for reservations and ledger-based usage tracking, and queue for scheduled/retryable jobs.
  • Fast integration path: Build distribution SQL, install into your database, then call the needed schemas/functions in your app workflow.

Quick Start

Run make build to generate dist SQL files, then install the schema with psql $DATABASE_URL -f postkit/dist/postkit.sql, and finally call the relevant functions (for example authz.check for permission checks) using your database connection.

Dependency Matrix

Required Modules

make

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: postkit
Download link: https://github.com/varunchopra/postkit/archive/main.zip#postkit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.