Agent skill · Security

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".

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEditBash(npm:*)Bash(pip:*)Grep
Path: skills/ai-llm/langchain-install-auth/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Instructions
  4. Step 1: Install LangChain Core
  5. Step 2: Configure Authentication
  6. Step 3: Verify Connection
  7. Output
  8. Error Handling
  9. Examples
  10. Python Setup (OpenAI)
  11. Python Setup (Anthropic)
  12. TypeScript Setup
  13. Resources
  14. Next Steps
Ships with 1 file
  • metadata.json
Commands it runs
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"
More from claude-skill-registry
All skills →
About this skill
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.

Keep going