Skip to main content
skill

llm-app-patterns — Claude Code skill: features and installation

This skill outlines RAG designs and tool-using agent patterns. Consult it when planning document retrieval or choosing an agent architecture.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/llm-app-patterns
Open on GitHub

What llm-app-patterns does

The RAG material follows documents from ingestion through vector retrieval to an answer grounded in context. It contrasts chunking approaches and vector stores, then sketches semantic, hybrid, and multi-query retrieval. One example returns source metadata alongside the generated response.

For agents, the skill presents a ReAct loop: the model selects a tool, receives its result, then continues or produces a final answer. The sample caps the loop at 10 iterations. When that cap is reached, it returns a maximum-iterations message, so this stopping behavior matters if you adapt the pattern.

Install it with npx claude-code-templates@latest --skill ai-research/llm-app-patterns. These are design patterns and code examples; selecting a model and storage system for your application remains a project decision.

What it helps with

  • design a RAG flow for document-based answers
  • compare semantic retrieval with hybrid search
  • choose a vector store for existing infrastructure
  • structure an agent around repeated tool calls
  • attach source metadata to generated answers

Example prompts for the agent

  • Sketch a RAG flow for our project documents and compare semantic and hybrid retrieval.
  • Design a ReAct agent for this task and identify the tools it would call.
  • Show how to return a RAG answer with metadata for its retrieved sources.

How to install llm-app-patterns

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/llm-app-patterns

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill llm-app-patterns -a claude-code

3Manually: put the files in place

~/.claude/skills/llm-app-patterns/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/llm-app-patterns/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about llm-app-patterns

How do I install llm-app-patterns in Claude Code?

Run npx claude-code-templates@latest --skill ai-research/llm-app-patterns. This uses the claude-code-templates package installation method.

What does llm-app-patterns do?

It provides design patterns for RAG applications and agents that use tools. The examples cover retrieval strategies and a ReAct loop.

How many iterations can the example ReAct agent run?

The sample sets its iteration cap to 10. After reaching it, the agent returns a maximum-iterations message.

Similar skills

All skills for AI and ML →

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor