Skip to content
Back to skills

Llm Integration Skill

ASecurity

```python from langchain_openai import ChatOpenAI from langchain_anthropic import ChatAnthropic

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill llm-integration-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llm Integration Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llm Integration Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-llm-integration-skill/badge)](https://www.skillsdirectory.com/skills/majiayu000-llm-integration-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: llm-integration
version: 1.0
triggers: ["LLM", "provider", "fallback", "streaming"]
---

# LLM Integration SKILL

## Provider Abstraction

```python
from langchain_openai import ChatOpenAI
from langchain_anthropic import ChatAnthropic

llm = ChatOpenAI(model="gpt-4")
# or
llm = ChatAnthropic(model="claude-3-sonnet-20240229")
```

## Fallback Chain

```python
from langchain.chat_models import init_chat_model

llm = init_chat_model(
    "gpt-4",
    fallbacks=["claude-3-sonnet-20240229", "ollama/llama2"]
)
```

## Streaming

```python
for chunk in llm.stream("What is RAG?"):
    print(chunk.content, end="", flush=True)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.