langchain-install-auth
Install and configure LangChain SDK/CLI authentication. Use when setting up a new LangChain integration, configuring API keys, or initializing LangChain in your project. Trigger with phrases like "install langchain", "setup langchain", "langchain auth", "configure langchain API key", "langchain credentials".
npx skills add majiayu000/claude-skill-registry --skill langchain-install-auth --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# LangChain Install & Auth ## Overview Set up LangChain SDK and configure LLM provider authentication credentials. ## Prerequisites - Python 3.9+ or Node.js 18+ - Package manager (pip, poetry, or npm) - LLM provider account (OpenAI, Anthropic, Google, etc.) - API key from your LLM provider dashboard ## Instructions ### Step 1: Install LangChain Core ```bash # Python (recommended) pip install langchain langchain-core langchain-community # Or with specific providers pip install langchain-openai langchain-anthropic langchain-google-genai # Node.js npm install langchain @langchain/core @langchain/community ``` ### Step 2: Configure Authentication ```bash # OpenAI export OPENAI_API_KEY="your-openai-key" # Anthropic export ANTHROPIC_API_KEY="your-anthropic-key" # Google export GOOGLE_API_KEY="your-google-key" # Or create .env file echo 'OPENAI_API_KEY=your-openai-key' >> .env ``` ### Step 3: Verify Connection ```python from langchain_openai import ChatOpenAI llm = ChatOpenAI(model="gpt-4o-mini") response = llm.invoke("Say hello!") print(response.content) ``` ## Output - Installed LangChain packages in virtual environment - Environment variables or .env file with API keys - Successful con
- Overview
- Prerequisites
- Instructions
- Step 1: Install LangChain Core
- Step 2: Configure Authentication
- Step 3: Verify Connection
- Output
- Error Handling
- Examples
- Python Setup (OpenAI)
- Python Setup (Anthropic)
- TypeScript Setup
- Resources
- Next Steps
Python (recommended) pip install langchain langchain-core langchain-community Or with specific providers pip install langchain-openai langchain-anthropic langchain-google-genai Node.js npm install langchain @langchain/core @langchain/community OpenAI export OPENAI_API_KEY="your-openai-key" Anthropic export ANTHROPIC_API_KEY="your-anthropic-key"
What does the langchain-install-auth skill do?
Install and configure LangChain SDK/CLI authentication. Use when setting up a new LangChain integration, configuring API keys, or initializing LangChain in your project. Trigger with phrases like "install langchain", "setup langchain", "langchain auth", "configure langchain API key", "langchain credentials".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill langchain-install-auth --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
