librepl
OfficialBuild interactive CLIs with a DI-REPL.
System Documentation
librepl - Interactive REPL utilities. Repl class creates command-line interfaces with custom commands, state persistence, and terminal formatting. Supports dependency injection for testability. Use for building CLI tools, interactive debugging interfaces, and developer utilities.
What problem does it solve?
Solves the challenge of building interactive CLIs by offering a dependency-injected REPL with pluggable commands and persistent state.
Core Features & Use Cases
- Interactive CLI scaffolding: Create commands, handle input, and format output.
- State persistence: Persist configuration and runtime state across sessions via a storage hook.
- Testability and DI: Dependency injection for easy testing and modular tooling.
- Use Case: Quickly prototype debugging shells or CLI utilities for internal tools.
Quick Start
Install @copilot-ld/librepl, import Repl, configure a prompt and commands, and call start() to launch the interactive interface.
Dependency Matrix
Required Modules
None requiredComponents
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: librepl Download link: https://github.com/copilot-ld/copilot-ld/archive/main.zip#librepl Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.