Skip to content
Back to skills

Librepl

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
toolsjavascriptjavadebugging

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill librepl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Librepl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Librepl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-librepl/badge)](https://www.skillsdirectory.com/skills/aibot88-librepl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: librepl
description: >
  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.
---

# librepl Skill

## When to Use

- Building interactive CLI tools
- Creating debug and exploration interfaces
- Adding REPL functionality to applications
- Prototyping with persistent state

## Key Concepts

**Repl**: Interactive command-line interface with custom commands, history, and
state management.

## Usage Patterns

### Pattern 1: Create custom REPL

```javascript
import { Repl } from "@copilot-ld/librepl";

const repl = new Repl({
  prompt: "agent> ",
  commands: {
    search: async (query) => {
      const results = await searchIndex(query);
      return JSON.stringify(results, null, 2);
    },
    help: () => "Commands: search <query>, help, exit",
  },
});

await repl.start();
```

### Pattern 2: State persistence

```javascript
const repl = new Repl({
  prompt: "> ",
  storage: storage,
  stateKey: "repl-state",
});
// State persists across sessions
```

## Integration

Used by CLI tools like cli-chat and cli-search. Integrates with libformat for
terminal output.

Files in this skill

  • SKILL.md1.3 KB
  • source.json769 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.