원클릭으로
langchain
LangChain skill for building LLM orchestration, agents, RAG pipelines, tools, memory, callbacks, and deployment.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
LangChain skill for building LLM orchestration, agents, RAG pipelines, tools, memory, callbacks, and deployment.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Integrating Chrome DevTools and browser automation via MCP for live UI inspection, screenshot-to-code workflows, and visual debugging. Bridges the gap between design and implementation.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Use when the user says /rise, "good morning", "let's start the day", or wants their morning consciousness routine. Identifies the Floor from natural-language check-in (does NOT ask the user to name a floor), runs body movement scaled to cycle phase or feeling, recommends top 1-3 priorities from configured to-do files, derives a daily intention. Pairs with /journal at night for accountability. Do NOT use for evening reflection (use /journal), pattern detection (use /patterns), or workout prescription (use /coach for the full session — /rise only handles the post-wake body wake-up flow).
FLOW framework integration — evidence-led SEO using the Find → Leverage → Optimize → Win loop. Surfaces stage-specific AI prompts from the FLOW knowledge base (41 prompts, CC BY 4.0). Use when user says "FLOW", "FLOW framework", "seo flow", "evidence-led SEO", "find leverage optimize win", or wants stage-specific SEO prompts.
Index and search culture documentation
Advanced Scrum Master skill for data-driven agile team analysis and coaching. Use when the user asks about sprint planning, velocity tracking, retrospectives, standup facilitation, backlog grooming, story points, burndown charts, blocker resolution, or agile team health. Runs Python scripts to analyse sprint JSON exports from Jira or similar tools: velocity_analyzer.py for Monte Carlo sprint forecasting, sprint_health_scorer.py for multi-dimension health scoring, and retrospective_analyzer.py for action-item and theme tracking. Produces confidence-interval forecasts, health grade reports, and improvement-velocity trends for high-performing Scrum teams.
| name | langchain |
| description | LangChain skill for building LLM orchestration, agents, RAG pipelines, tools, memory, callbacks, and deployment. |
Purpose
This skill teaches the agent project specific conventions and concise patterns for building AI agent workflows with LangChain in Python. Use this when implementing chatbots, RAG pipelines, tool-enabled agents, multi-agent flows, or deploying runnables.
When an AI assistant should apply this skill
Quick start
Core concepts and cheat sheet
LLMs and Runnables
result = llm.invoke("prompt").Prompts
Tools
Agents
Memory
Retrievers and RAG
Callbacks and middleware
Deployment
Examples
from langchain_openai import ChatOpenAI
from langchain.chains import LLMChain
from langchain.prompts import ChatPromptTemplate
from langchain.memory import ConversationBufferMemory
prompt = ChatPromptTemplate.from_messages([
{"role": "system", "content": "You are a concise helpful assistant."},
{"role": "user", "content": "{question}"},
])
llm = ChatOpenAI(model="gpt-4o", temperature=0)
chain = LLMChain(llm=llm, prompt=prompt)
chain.memory = ConversationBufferMemory()
resp = chain.invoke({"question": "Explain RLHF in one paragraph."})
print(resp)
from langchain.tools import tool
from langchain.agents import create_agent
from langchain_openai import ChatOpenAI
@tool
def calc(expression: str) -> str:
"""Evaluate a math expression safely."""
# implement a safe eval or call a math microservice
return str(eval(expression))
llm = ChatOpenAI(model="gpt-4o", temperature=0)
agent = create_agent(llm, tools=[calc])
result = agent.invoke({"input": "What is 12 * 7?"})
print(result)
from langchain.embeddings import OpenAIEmbeddings
from langchain.vectorstores import Chroma
from langchain.chains import RetrievalQA
from langchain_openai import ChatOpenAI
# indexing (offline)
emb = OpenAIEmbeddings()
vect = Chroma.from_documents(docs, embedding=emb)
retriever = vect.as_retriever(search_kwargs={"k": 4})
qa = RetrievalQA.from_chain_type(
llm=ChatOpenAI(model="gpt-4o"),
retriever=retriever,
chain_type="stuff",
)
answer = qa.invoke({"query": "How does caching in our app work?"})
print(answer)
# invoke in batch
questions = ["A?", "B?", "C?"]
for out in llm.batch_as_completed(questions):
print(out)
# streaming
for token in llm.stream("Explain X step by step"):
print(token, end="")
Middleware and callbacks pattern
Example callback handler
from langchain_core.callbacks import BaseCallbackHandler
class SimpleLogger(BaseCallbackHandler):
def on_llm_start(self, prompts, **kwargs):
print("LLM start", len(prompts))
def on_llm_end(self, response, **kwargs):
print("LLM end")
Deployment snippet
# basic serve example
langserve serve my_chain.py --host 0.0.0.0 --port 8000
Guidelines and best practices