Skip to content
Back to skills

Libprompt

ASecurity

libprompt - Prompt template management with Mustache. PromptLoader loads .prompt.md files from directories and renders them with variable substitution. Use for managing LLM system prompts, creating reusable prompt templates, and dynamic prompt generation.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsjavascriptjava

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill libprompt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Libprompt?

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

Security grade badge for Libprompt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-libprompt-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-libprompt-claude-skill-registry-data)

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: libprompt
description: >
  libprompt - Prompt template management with Mustache. PromptLoader loads
  .prompt.md files from directories and renders them with variable substitution.
  Use for managing LLM system prompts, creating reusable prompt templates, and
  dynamic prompt generation.
---

# libprompt Skill

## When to Use

- Managing LLM system prompts as templates
- Loading prompt files from directories
- Rendering prompts with dynamic variables
- Organizing prompts for different agents

## Key Concepts

**PromptLoader**: Loads .prompt.md files from a directory and renders them using
Mustache templating syntax.

**Mustache templating**: Use `{{variable}}` syntax for dynamic content
insertion.

## Usage Patterns

### Pattern 1: Load and render prompt

```javascript
import { PromptLoader } from "@copilot-ld/libprompt";

const loader = new PromptLoader("./prompts");
const systemPrompt = await loader.render("system", {
  agentName: "Assistant",
  capabilities: ["search", "calculate"],
});
```

### Pattern 2: Prompt file structure

```markdown
<!-- prompts/system.prompt.md -->

You are {{agentName}}.

Your capabilities: {{#capabilities}}

- {{.}} {{/capabilities}}
```

## Integration

Used by Memory service to load agent system prompts. Prompts stored in
config/agents/\*/prompts/.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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