llm-integration SKILL.md skillA

llm-integration from yonatangross/orchestkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yonatangross/orchestkit/llm-integration@v2.0.0

Pins v2.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yonatangross/orchestkit
Path
plugins/ork/skills/llm-integration/SKILL.md
Versions recorded
10
Latest version
v2.0.0, committed Oct 1, 2026
First version recorded
Jul 10, 2026
Size
10,871 bytes
Repository stars
296
License
MIT

LLM integration patterns for function calling, streaming responses, local inference with Ollama, and fine-tuning customization. Use when implementing tool use, SSE streaming, local model deployment, LoRA/QLoRA fine-tuning, or multi-provider LLM APIs.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# LLM Integration

Patterns for integrating LLMs into production applications: tool use, streaming, local inference, and fine-tuning. Each category has individual rule files in `rules/` loaded on-demand.

## Quick Reference

| Category | Rules | Impact | When to Use |
|----------|-------|--------|-------------|
| [Function Calling](#function-calling) | 3 | CRITICAL | Tool definitions, parallel execution, input validation |
| [Streaming](#streaming) | 3 | HIGH | SSE endpoints, structured streaming, backpressure handling |
| [Local Inference](#local-inference) | 3 | HIGH | Ollama setup, model selection, GPU optimization |
| [Fine-Tuning](#fine-tuning) | 3 | HIGH | LoRA/QLoRA training, dataset preparation, evaluation |
| [Context Optimization](#context-optimization) | 2 | HIGH | Window management, compression, caching, budget scaling |
| [Evaluation](#evaluation) | 2 | HIGH | LLM-as-judge, RAGAS metrics, quality gates, benchmarks |
| [Prompt Engineering](#prompt-engineering) | 4 | HIGH | CoT, few-shot, versioning, DSPy optimization, ReAct, cost optimization |

**Total: 20 rules across 7 categories**

## Quick Start

```python
# Function calling: strict mode tool definition
tools = [{
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yonatangross/orchestkit/llm-integration@sha256:f113dba7e862160c

The line at the top of this page pins the label v2.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mlztc3dma7yq5gkk.svg)](https://markdownregistry.com/a/art_mlztc3dma7yq5gkk)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Jul 10, 2026 and Oct 1, 2026, about one every 9 days.

versioncommittedcommitsizeaudit
v2.0.0 latest2026-10-01 f7f0856 10,871 BA view · diff
v2.0.02026-09-29 105a980 10,847 BA view · diff
v2.0.02026-09-28 7784b90 10,865 BA view · diff
v2.0.02026-09-28 220adb4 10,728 BA view · diff
v2.0.02026-09-28 baa07a5 10,741 BA view · diff
v2.0.02026-09-02 725471b 10,071 BA view · diff
v2.0.02026-08-29 2aed0b0 9,881 BA view · diff
v2.0.02026-07-31 0e6a3a8 9,881 BA view · diff
v2.0.02026-07-25 47b78fb 8,257 BA view · diff
v2.0.02026-07-10 10a2d30 8,257 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10871 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yonatangross/orchestkit · 296 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mlztc3dma7yq5gkk
GET https://markdownregistry.com/api/v1/resolve?ref=yonatangross/orchestkit/llm-integration
GET https://markdownregistry.com/api/v1/blob/f113dba7e862160cfd3f7e3ea1ac6371f2cfab7c6eb3aaefa5decfa515c71130

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yonatangross/orchestkit

AGENTS.md AGENTS.md file
yonatangross/orchestkit · AGENTS.md
git:20260721.df25757 · audit A · 296 stars
CLAUDE.md CLAUDE.md file
yonatangross/orchestkit · CLAUDE.md
git:20261010.c1cfa0b · audit A · 296 stars
AGENTS.md@docs/site AGENTS.md file
yonatangross/orchestkit · docs/site/AGENTS.md
git:20260823.5e31893 · audit A · 296 stars
CLAUDE.md@docs/site CLAUDE.md file
yonatangross/orchestkit · docs/site/CLAUDE.md
git:20260823.5e31893 · audit B · 296 stars
ork-assess SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-assess/SKILL.md · Assess a code change, design, architecture, workflow, or competing options against explicit criteria and evidence. Use…
git:20260819.cf231c6 · audit A · 296 stars
ork-brainstorm SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-brainstorm/SKILL.md · Compare plausible implementation, architecture, product, or operational approaches before committing to one. Use when a…
git:20260819.cf231c6 · audit A · 296 stars
ork-explore SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-explore/SKILL.md · Map an unfamiliar codebase, feature, architecture, data flow, or operational path with file-backed evidence. Use when a…
git:20260819.cf231c6 · audit A · 296 stars
ork-glyph SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-glyph/SKILL.md · Render an answer inline as compact ASCII or box-drawing art with semantic status icons. Use for status, inventories…
git:20260919.ab8d756 · audit A · 296 stars
ork-implement SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-implement/SKILL.md · Make an approved, scoped change and prove the affected behavior. Use when a request asks to implement, build, add, or…
git:20260825.dc3bfe8 · audit A · 296 stars
ork-review-pr SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-review-pr/SKILL.md · Review a pull request or branch for correctness, regressions, security, operational risk, and missing evidence. Use…
git:20260819.cf231c6 · audit A · 296 stars
ork-verify SKILL.md skill
yonatangross/orchestkit · plugins/ork-codex/skills/ork-verify/SKILL.md · Verify that existing work is ready to merge, release, or hand off using an explicit evidence contract. Use when a…
git:20260819.cf231c6 · audit A · 296 stars
CLAUDE.md@plugins/ork CLAUDE.md file
yonatangross/orchestkit · plugins/ork/CLAUDE.md
git:20261011.1894035 · audit A · 296 stars

Every file in yonatangross/orchestkit

Other files named llm-integration

llm-integration SKILL.md skill
yonatangross/orchestkit · src/skills/llm-integration/SKILL.md · LLM integration patterns for function calling, streaming responses, local inference with Ollama, and fine-tuning…
v2.0.0 · audit A · 296 stars
llm-integration SKILL.md skill
ehnruiz/claude-skills · skills/llm-integration/SKILL.md · Checklist for code that calls a language model or exposes a system to one. Use when writing or reviewing code that…
git:20261015.dd12a4b · audit B · 3 stars

Browse by kind, by grade A, or by owner.