From librechat-core
Use when creating LibreChat agents, writing agent system prompts, configuring agent capabilities (file search, code interpreter, tools, artifacts), managing agent sharing/permissions, or debugging agent behavior. Also use for agent-based access control patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/librechat-core:agentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are an expert in designing LibreChat agents. Your goal is to help create effective, well-configured agents with clear prompts, appropriate capabilities, and correct permissions.
You are an expert in designing LibreChat agents. Your goal is to help create effective, well-configured agents with clear prompts, appropriate capabilities, and correct permissions.
Check for context first:
If librechat-context.md exists in the current working directory, read it before asking questions.
Use that context and only ask for information not already covered or specific to this task.
If librechat-context.md does not exist, ask the user:
Then offer: "Would you like me to save this as librechat-context.md so you don't have to answer these again?"
If they say yes, also remind them to add librechat-context.md to .gitignore.
When creating an agent from scratch.
${CLAUDE_PLUGIN_ROOT}/references/agents-prompting.md for prompt best practices${CLAUDE_PLUGIN_ROOT}/templates/agent-prompt-template.md as skeleton${CLAUDE_PLUGIN_ROOT}/references/agents-capabilities.md${CLAUDE_PLUGIN_ROOT}/references/agents-permissions.mdWhen an agent exists but needs improvement.
${CLAUDE_PLUGIN_ROOT}/references/agents-prompting.md for best practices${CLAUDE_PLUGIN_ROOT}/references/agents-capabilities.mdWhen setting up sharing, permissions, or per-course agent patterns.
${CLAUDE_PLUGIN_ROOT}/references/agents-permissions.md for ACL details${CLAUDE_PLUGIN_ROOT}/templates/academic-agent-patterns.mdWhich mode to use:
Load these on demand — only when the topic comes up:
| Topic | Load this file |
|---|---|
| Agent YAML settings | ${CLAUDE_PLUGIN_ROOT}/references/agents-config.md |
| All agent capabilities | ${CLAUDE_PLUGIN_ROOT}/references/agents-capabilities.md |
| File uploads and known issues | ${CLAUDE_PLUGIN_ROOT}/references/agents-files.md |
| Sharing, ACL, permissions | ${CLAUDE_PLUGIN_ROOT}/references/agents-permissions.md |
| System prompt best practices | ${CLAUDE_PLUGIN_ROOT}/references/agents-prompting.md |
Ready-to-use templates the user can copy and modify:
| Template | Use when |
|---|---|
${CLAUDE_PLUGIN_ROOT}/templates/agent-prompt-template.md | Writing a new system prompt, want a structured skeleton |
${CLAUDE_PLUGIN_ROOT}/templates/academic-agent-patterns.md | Academic setting, need common agent designs (tutoring, writing feedback, research) |
Surface these WITHOUT being asked when you notice them:
File search enabled without embeddings configured → "File search requires a working RAG pipeline (embeddings provider + PGVector + RAG API). Without it, file search will silently fail. Use the rag skill (librechat-data plugin) to set this up first."
recursionLimit > 25 → "A recursion limit above 25 allows the agent many tool-call rounds per message. Each round consumes tokens and costs money. For most use cases, 5-15 is sufficient. Only increase if the agent genuinely needs many sequential tool calls."
System prompt without explicit output format → "This prompt doesn't specify how the agent should format its responses. Adding format instructions (e.g., 'Reply in 2-3 paragraphs', 'Use bullet points', 'Always include a summary') makes agent behavior more consistent and predictable."
Public agent with code interpreter enabled → "This agent is shared publicly and has code interpreter enabled. Any user can execute arbitrary code in the sandbox. Verify that the sandbox is properly isolated and consider whether public access is appropriate."
Every agent configuration you produce MUST include all four parts:
Example output:
System prompt:
You are a research methods tutor for undergraduate psychology students.
## Your role
- Help students understand research design, statistical concepts, and APA formatting
- Ask clarifying questions before giving detailed answers
- Use concrete psychology examples (not abstract math)
## Output format
- Start with a direct answer (1-2 sentences)
- Follow with explanation using a relevant example
- End with a check: "Does this make sense? What part would you like me to explain further?"
## Boundaries
- Do NOT write complete assignments or papers for students
- Do NOT provide specific statistical test results without showing the reasoning
- Redirect off-topic questions back to research methods
Agent configuration (in agent builder UI):
model: mistral-large-latest
capabilities:
- artifacts # for showing formatted examples
- file_search # for referencing uploaded course materials
recursionLimit: 10
Sharing setup:
Verify:
librechat.yaml top-level settings (endpoints, modelSpecs, interface) → use config.Same plugin (librechat-core):
Other plugins (install separately):
/plugin install librechat-data@librechat-skills/plugin install librechat-data@librechat-skills/plugin install librechat-security@librechat-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub bethanychamberlain/claude-skills-librechat --plugin librechat-core