Agent skill · Design & Presentation

libprompt

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill libprompt --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Path: skills/ai-llm/libprompt/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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/.

What's inside
Steps it walks through
  1. When to Use
  2. Key Concepts
  3. Usage Patterns
  4. Pattern 1: Load and render prompt
  5. Pattern 2: Prompt file structure
  6. Integration
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the libprompt skill do?

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.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill libprompt --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going