Project & Integrity
Commands for initializing a project and managing its integrity.init
Initializes a new Prompt Lockbox project in the specified directory. This command creates theprompts/ and .plb/ directories, along with the plb.toml and .plb.lock configuration files.
status
Displays a table showing the lock status and integrity of all prompts in the project. The output shows whether prompts are Locked, Unlocked, TAMPERED, or MISSING.lock
Validates and locks a prompt to ensure its integrity. This records the prompt’s secure hash in the.plb.lock file.
unlock
Unlocks a previously locked prompt, allowing it to be edited. This removes its entry from the.plb.lock file.
verify
Verifies the integrity of all locked prompts against the lockfile. Ideal for use in CI/CD pipelines.lint
Validates all prompts in the project for schema compliance, correct syntax, and consistency.Prompt Management
Commands for creating, viewing, and managing individual prompts.list
Lists all prompts in a table format.show
Displays the full metadata and template content for a single prompt.create
Interactively creates a new prompt file, or creates template files in bulk.If specified, creates a number of blank prompt template files non-interactively.
When run without options,
plb create starts an interactive wizard to guide you through creating a single, detailed prompt.run
Renders a prompt with provided parameters and displays the final output.version
Creates a new, version-bumped copy of a prompt. Defaults to a minor bump.tree
Displays a hierarchical tree of prompts based on their namespace.Searching & Indexing
Commands for building search indexes and finding prompts.index
Builds a search index for all prompts to enable advanced search methods.search
A command group for searching prompts using different methods. Subcommands (METHOD)fuzzy: Lightweight search. No index required.hybrid: Balanced keyword and semantic search.splade: State-of-the-art sparse vector search.
AI Features
AI-powered commands for automating prompt engineering tasks.prompt document
Automatically generates a description and tags for one or more prompts using an AI.prompt improve
Gets an AI-powered critique and suggested improvements for a prompt.
This concludes the CLI command reference for plb. For additional help, use
plb <command> --help, or explore related guides in our documentation to deepen your understanding and streamline your workflow.