llm-integration
Skill by yonatangross
Provides LLM integration patterns for tool use, SSE streaming, local Ollama inference and LoRA/QLoRA fine-tuning. It is aimed at developers building production LLM applications with Claude Code.
Install llm-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yonatangross/orchestkit /tmp/orchestkit && mkdir -p ~/.claude/skills && cp -r /tmp/orchestkit/src/skills/llm-integration ~/.claude/skills/llm-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/yonatangross/orchestkit /tmp/orchestkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/orchestkit/src/skills/llm-integration ~/.gemini/antigravity-cli/skills/llm-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
llm-integration is an agent skill from the OrchestKit project by yonatangross. It gives Claude Code patterns for production LLM apps, including function calling with strict mode tool schemas, streaming responses over SSE, local inference with Ollama, and LoRA and QLoRA fine-tuning. It also covers context optimization, evaluation and prompt engineering.
Each category has rule files that load on demand. For basics such as OpenAI and Anthropic tool schemas and PEFT LoRA configuration, the skill points to vendor documentation instead. It is meant for developers implementing tool use, streaming, local model deployment or multi-provider LLM APIs.
Written from the project's SKILL.md and checked against it.
What it can do
- Function callingDefines strict mode tool schemas, runs parallel tool calls and validates tool inputs.
- StreamingStreams LLM responses over SSE, handles tool calls within streams and manages backpressure.
- Local inferenceSets up Ollama, selects local models by task and hardware, and tunes GPU use.
- Fine-tuningConfigures LoRA and QLoRA training, prepares synthetic datasets and evaluates DPO alignment.
- Context optimizationManages context windows, compression triggers and caching for lower token use.
- EvaluationCovers LLM-as-judge scoring, RAGAS metrics, quality gates and benchmarks.
- Prompt engineeringCovers chain-of-thought, few-shot patterns, Langfuse prompt versioning and DSPy optimization.
What you need
- Claude Code 2.1.277 or later
Try asking
- Define a strict mode tool schema for a document search function
- Show me how to stream chat tokens over SSE with FastAPI
- Help me set up Ollama with deepseek-r1 for local inference
Good to know
- Its metadata marks it as not user-invocable and not model-invocable.
- Forced tool_choice returns a 400 on some newer Claude models, so the source recommends auto with strict tools.
- Fine-tuning guidance expects 1000+ quality examples and says to try prompting and RAG first.
- Inline tool addition is a beta feature on the Claude API only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/skills/llm-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Glob Grep WebFetch WebSearch
Alternatives to llm-integration
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
llm-integration: common questions
When should I fine-tune instead of prompting or using RAG?
The source says to fine-tune only after exhausting prompt engineering and RAG. It also states that fine-tuning requires 1000+ quality examples.
Which local models does the skill recommend?
For reasoning it recommends deepseek-r1:70b, and for coding it recommends qwen2.5-coder:32b.
Which tool schema mode does it recommend?
It recommends strict: true for tool schemas, which it describes as the 2026 best practice.
How do I install llm-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is llm-integration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is llm-integration safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to llm-integration?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
