Agent skill

LLM Application Dev

by MoizIbnYousaf in MoizIbnYousaf/ai-agent-skills

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

MITAuto-check passedAI & LLM Engineering

Install LLM Application Dev

skills CLI
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill llm-application-dev -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MoizIbnYousaf/ai-agent-skills llm-application-dev --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/llm-application-dev .claude/skills/llm-application-dev && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llm-application-dev
GitHub stars
1.1k
Used in
2 other repos
Token cost
~1.3k tokens
SKILL.md length
86 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

  • AI-powered features
  • SKILL.md covers Prompt Engineering, API Integration, RAG (Retrieval-Augmented… and Error Handling, plus 1 more section
  • Needs OPENAI_API_KEY and ANTHROPIC_API_KEY
  • LLM-based automation

What it does

LLM Application Dev is an agent skill from MoizIbnYousaf/ai-agent-skills. Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Retrieval-augmented generation, Prompt engineering and Chatbots and conversational support. The repository describes itself as: Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills. The licence is MIT.

When your agent uses it

  • AI-powered features
  • LLM-based automation

Example prompts

  • “/llm-application-dev”

Requirements

  • A credential in OPENAI_API_KEY
  • A credential in ANTHROPIC_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 6d95c78. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY
    • ANTHROPIC_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LLM Application Dev loads about 1.3k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 86 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from MoizIbnYousaf/ai-agent-skills at commit 6d95c78, republished under its MIT licence (© MoizIbnYousaf). 86 words, ~1,278 tokens.

Download SKILL.mdSave it as .claude/skills/llm-application-dev/SKILL.md (or your agent's skills folder).
name
llm-application-dev
description
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.
source
wshobson/agents
license
MIT
version
4.1.0

LLM Application Development

Prompt Engineering

Structured Prompts
typescript
const systemPrompt = `You are a helpful assistant that answers questions about our product.

RULES:
- Only answer questions about our product
- If you don't know, say "I don't know"
- Keep responses concise (under 100 words)
- Never make up information

CONTEXT:
{context}`;

const userPrompt = `Question: {question}`;
Few-Shot Examples
typescript
const prompt = `Classify the sentiment of customer feedback.

Examples:
Input: "Love this product!"
Output: positive

Input: "Worst purchase ever"
Output: negative

Input: "It works fine"
Output: neutral

Input: "${customerFeedback}"
Output:`;
Chain of Thought
typescript
const prompt = `Solve this step by step:

Question: ${question}

Let's think through this:
1. First, identify the key information
2. Then, determine the approach
3. Finally, calculate the answer

Step-by-step solution:`;

API Integration

OpenAI Pattern
typescript
import OpenAI from 'openai';

const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });

async function chat(messages: Message[]): Promise<string> {
  const response = await openai.chat.completions.create({
    model: 'gpt-4',
    messages,
    temperature: 0.7,
    max_tokens: 500,
  });

  return response.choices[0].message.content ?? '';
}
Anthropic Pattern
typescript
import Anthropic from '@anthropic-ai/sdk';

const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY });

async function chat(prompt: string): Promise<string> {
  const response = await anthropic.messages.create({
    model: 'claude-3-opus-20240229',
    max_tokens: 1024,
    messages: [{ role: 'user', content: prompt }],
  });

  return response.content[0].type === 'text'
    ? response.content[0].text
    : '';
}
Streaming Responses
typescript
async function* streamChat(prompt: string) {
  const stream = await openai.chat.completions.create({
    model: 'gpt-4',
    messages: [{ role: 'user', content: prompt }],
    stream: true,
  });

  for await (const chunk of stream) {
    const content = chunk.choices[0]?.delta?.content;
    if (content) yield content;
  }
}

RAG (Retrieval-Augmented Generation)

Basic RAG Pipeline
typescript
async function ragQuery(question: string): Promise<string> {
  // 1. Embed the question
  const questionEmbedding = await embedText(question);

  // 2. Search vector database
  const relevantDocs = await vectorDb.search(questionEmbedding, { limit: 5 });

  // 3. Build context
  const context = relevantDocs.map(d => d.content).join('\n\n');

  // 4. Generate answer
  const prompt = `Answer based on this context:\n${context}\n\nQuestion: ${question}`;
  return await chat(prompt);
}
Document Chunking
typescript
function chunkDocument(text: string, options: ChunkOptions): string[] {
  const { chunkSize = 1000, overlap = 200 } = options;
  const chunks: string[] = [];

  let start = 0;
  while (start < text.length) {
    const end = Math.min(start + chunkSize, text.length);
    chunks.push(text.slice(start, end));
    start += chunkSize - overlap;
  }

  return chunks;
}
Embedding Storage
typescript
// Using Supabase with pgvector
async function storeEmbeddings(docs: Document[]) {
  for (const doc of docs) {
    const embedding = await embedText(doc.content);

    await supabase.from('documents').insert({
      content: doc.content,
      metadata: doc.metadata,
      embedding: embedding,  // vector column
    });
  }
}

async function searchSimilar(query: string, limit = 5) {
  const embedding = await embedText(query);

  const { data } = await supabase.rpc('match_documents', {
    query_embedding: embedding,
    match_count: limit,
  });

  return data;
}

Error Handling

typescript
async function safeLLMCall<T>(
  fn: () => Promise<T>,
  options: { retries?: number; fallback?: T }
): Promise<T> {
  const { retries = 3, fallback } = options;

  for (let i = 0; i < retries; i++) {
    try {
      return await fn();
    } catch (error) {
      if (error.status === 429) {
        // Rate limit - exponential backoff
        await sleep(Math.pow(2, i) * 1000);
        continue;
      }
      if (i === retries - 1) {
        if (fallback !== undefined) return fallback;
        throw error;
      }
    }
  }
  throw new Error('Max retries exceeded');
}

Best Practices

  • Token Management: Track usage and set limits
  • Caching: Cache embeddings and common queries
  • Evaluation: Test prompts with diverse inputs
  • Guardrails: Validate outputs before using
  • Logging: Log prompts and responses for debugging
  • Cost Control: Use cheaper models for simple tasks
  • Latency: Stream responses for better UX
  • Privacy: Don't send PII to external APIs

© MoizIbnYousaf, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/llm-application-dev of MoizIbnYousaf/ai-agent-skills.

Open the folder on GitHubat commit 6d95c78

Used in 2 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in MoizIbnYousaf/ai-agent-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

LLM Application Dev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LLM Application Dev compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LLM Application Dev this skillMoizIbnYousaf/ai-agent-skills1.1k2 repos~1.3kAutomated safety check: PassMIT
Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit2594 repos~1.4kAutomated safety check: PassCustom licence
DSPy Language Model ProgrammingOrchestra-Research/AI-Research-SKILLs13k10 repos~3.8kAutomated safety check: PassMIT
Prompt Regressionagentscope-ai/OpenJudge867—~2.8kAutomated safety check: PassApache-2.0
LlamaindexOrchestra-Research/AI-Research-SKILLs13k2 repos~3.7kAutomated safety check: PassMIT
RAG Company Knowledge AssistantHermes-brasil/hermes-brasil152—~1.1kAutomated safety check: PassMIT

Similar skills

  • Senior Prompt Engineer

    maslennikov-ig/claude-code-orchestrator-kit

    Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.

    259 GitHub starsUsed in 4 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • DSPy Language Model Programming

    Orchestra-Research/AI-Research-SKILLs

    Teaches an agent to build LM pipelines, RAG systems and agents in DSPy using signatures, modules and optimizers instead of hand-tuned prompts.

    13k GitHub starsUsed in 10 repos~3.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Prompt Regression

    agentscope-ai/OpenJudge

    A skill your agent uses when the user has changed a prompt (system prompt, RAG template, agent instruction, etc.) and wants to know whether the candidate is better or worse than the baseline.

    867 GitHub stars~2.8k tokensUpdated 26 days ago
    AI & LLM EngineeringAuto-check passed
  • Llamaindex

    Orchestra-Research/AI-Research-SKILLs

    Data framework for building LLM applications with RAG. An agent skill from Orchestra-Research/AI-Research-SKILLs.

    13k GitHub starsUsed in 2 repos~3.7k tokens
    AI & LLM EngineeringAuto-check passed
  • RAG Company Knowledge Assistant

    Hermes-brasil/hermes-brasil

    Portuguese guide to building a retrieval-augmented generation assistant over a company's documents, with embeddings, section-based chunking, retrieval and a client workflow.

    152 GitHub stars~1.1k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Building Agent Systems

    telagod/code-abyss

    AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt…

    244 GitHub stars~691 tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed

More from MoizIbnYousaf/ai-agent-skills

All 15 skills in this repo
  • Database Design

    MoizIbnYousaf/ai-agent-skills

    Database schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases.

    1.1k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Audit Library Health

    MoizIbnYousaf/ai-agent-skills

    A skill your agent uses when checking the overall health of a skills library.

    1.1k GitHub stars~518 tokensUpdated 16 days ago
    Auto-check passed
  • Backend Development

    MoizIbnYousaf/ai-agent-skills

    Backend API design, database architecture, microservices patterns, and test-driven development.

    1.1k GitHub stars~853 tokensUpdated 16 days ago
    Auto-check passed
  • Browse And Evaluate

    MoizIbnYousaf/ai-agent-skills

    A skill your agent uses when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing.

    1.1k GitHub stars~453 tokensUpdated 16 days ago
    Auto-check passed
  • Code Documentation

    MoizIbnYousaf/ai-agent-skills

    Writing effective code documentation - API docs, README files, inline comments, and technical guides.

    1.1k GitHub stars~1.4k tokensUpdated 16 days ago
    Auto-check passed
  • Curate A Team Library

    MoizIbnYousaf/ai-agent-skills

    A skill your agent uses when building a managed team skills library for a real stack.

    1.1k GitHub stars~973 tokensUpdated 16 days ago
    Auto-check passed

Questions about LLM Application Dev

What does LLM Application Dev do?

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. LLM Application Dev is an agent skill from MoizIbnYousaf/ai-agent-skills. Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

When should I use LLM Application Dev?

LLM Application Dev fits situations like: AI-powered features; LLM-based automation.

How do I install LLM Application Dev in Claude Code?

Run `npx skills add MoizIbnYousaf/ai-agent-skills --skill llm-application-dev -a claude-code`. Or copy the skill folder (skills/llm-application-dev in MoizIbnYousaf/ai-agent-skills) into .claude/skills/llm-application-dev in your project. Claude Code loads it when a task matches its description.

How do I install LLM Application Dev in Codex?

Run `npx skills add MoizIbnYousaf/ai-agent-skills --skill llm-application-dev -a codex`. Or copy the skill folder (skills/llm-application-dev in MoizIbnYousaf/ai-agent-skills) into .agents/skills/llm-application-dev in your project. Codex loads it when a task matches its description.

Can I use LLM Application Dev in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MoizIbnYousaf/ai-agent-skills --skill llm-application-dev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llm-application-dev, .gemini/skills/llm-application-dev, .github/skills/llm-application-dev and .opencode/skills/llm-application-dev in your project.

What does LLM Application Dev need to run?

Going by SKILL.md and its folder, LLM Application Dev needs credentials named OPENAI_API_KEY and ANTHROPIC_API_KEY. Our summary lists: A credential in OPENAI_API_KEY; A credential in ANTHROPIC_API_KEY.

Does LLM Application Dev access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is LLM Application Dev safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does LLM Application Dev use?

LLM Application Dev is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does LLM Application Dev use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to LLM Application Dev?

Skills that share tags, products or a category with LLM Application Dev: Senior Prompt Engineer (maslennikov-ig/claude-code-orchestrator-kit, 259 stars), DSPy Language Model Programming (Orchestra-Research/AI-Research-SKILLs, 13k stars), Prompt Regression (agentscope-ai/OpenJudge, 867 stars) and Llamaindex (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LLM Application Dev?

MoizIbnYousaf (a GitHub user) maintains it in MoizIbnYousaf/ai-agent-skills, which has 1,148 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 21, 2026.

Source: MoizIbnYousaf/ai-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.