← Back to Skills Marketplace
s0nocean

Langchain Skill

by S0nOcean · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
288
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install langchain-skill
Description
Python skill using LangChain to manage conversation memory and chains, enabling context-aware, concise Vietnamese replies with customizable prompts.
README (SKILL.md)

LangChain Python Skill - Trợ lý thông minh với Python backend

Skill này sử dụng thư viện LangChain (Python) để xử lý query thông minh, hỗ trợ memory dài hạn, RAG trên PDF, tool calling (search, calculator), và agent tự suy luận.

Tính năng chính

  • Backend: Python + LangChain (có thể dùng Gemini 2.0 Flash, DeepSeek-chat, hoặc Groq fallback).
  • Memory: Nhớ ngữ cảnh chat trong session (ConversationBufferMemory hoặc Summary).
  • RAG: Hỗ trợ upload PDF → hỏi đáp chính xác trên tài liệu.
  • Tool calling: Tự gọi web search, tính toán, đọc file...
  • Usage: langchain \x3Cquery> hoặc langchain: \x3Ccâu hỏi>

Ví dụ sử dụng

  • langchain: Blockchain là gì? Giải thích ngắn gọn.
  • langchain: Tên tôi là gì? (sau khi giới thiệu trước đó).
  • langchain: Tóm tắt tài liệu PDF vừa upload.
  • langchain: Tính 15 * 23 + 7^2 là bao nhiêu?

Yêu cầu

  • venv đã cài: langchain, langchain-community, langchain-google-genai (nếu dùng Gemini).
  • API key: Gemini/DeepSeek/Groq (set trong code nếu cần).

Lưu ý

  • Skill chạy trên Python, không phụ thuộc Node.js.
  • Author: Tích hợp bởi S0nSun & Grok (dựa trên LangChain 2026).
  • Có thể mở rộng: Thêm agent router, multi-tool, RAG folder.
Usage Guidance
This package looks like a placeholder/template rather than a working LangChain integration. Before installing or using it: (1) ask the author for the real source or a changelog explaining why the feature list differs from the code; (2) never paste API keys into the code — require env vars or a secure secret store; (3) if you test it, run in an isolated environment because the SKILL.md indicates it could be extended to read files and call external APIs; (4) prefer a release from a known source or ask for a full implementation and security notes. Because of the mismatch between claims and code, treat this as untrusted until clarified.
Capability Analysis
Type: OpenClaw Skill Name: langchain-skill Version: 1.0.2 The skill bundle is a placeholder or template for a LangChain-based assistant. The Python code in langchain_skill.py contains only a simple string return function with no actual logic, and the SKILL.md file provides standard documentation for intended features like RAG and tool calling without any malicious instructions or prompt-injection attempts.
Capability Assessment
Purpose & Capability
The name/description promise full LangChain functionality (memory, RAG on PDFs, tool-calling, agent routing) but the included code (one function returning a formatted string) implements none of that. The skill also declares no required environment variables or install steps despite SKILL.md listing Python packages and API keys as prerequisites. This is an incoherence between claimed capabilities and actual footprint.
Instruction Scope
SKILL.md describes actions that would require reading uploaded files, calling web search/calculator tools, and contacting external LLM providers. The instructions are high-level and vague (e.g., 'tool calling', 'read file', 'set API key in code'), leaving broad discretion about what the agent will access or transmit. The current implementation does not perform those actions, but the README suggests the agent could if implemented.
Install Mechanism
There is no install spec (instruction-only). That lowers immediate risk because nothing is auto-downloaded or written to disk. SKILL.md does list required Python packages which users must install themselves; no automated or networked installer is included.
Credentials
Registry metadata lists no required env vars, yet SKILL.md mentions needing API keys for Gemini/DeepSeek/Groq and even says keys may be 'set in code if needed'. Asking authors/users to embed API keys in code is a red flag and the lack of declared env variables is inconsistent with the documented requirements.
Persistence & Privilege
The skill is not always-enabled, does not request persistent system-wide privileges, and contains no install-time scripts. There is no evidence it modifies other skills or agent config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install langchain-skill
  3. After installation, invoke the skill by name or use /langchain-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Updated Gemini backend support from Gemini 1.5 Flash to Gemini 2.0 Flash. - Documentation (SKILL.md) revised to reflect the new supported Gemini model.
v1.0.1
Langchain-skill 1.0.1 Changelog - Updated documentation (SKILL.md) for improved clarity, updated feature list, and more realistic usage scenarios. - Clarified support for multiple backends (Gemini, DeepSeek, Groq) and advanced features like RAG and tool calling. - Expanded examples to reflect new capabilities, including PDF querying and calculations. - Enhanced requirements and usage notes to reduce setup confusion.
v1.0.0
LangChain Skill 1.0.0 initial release: - Adds LLM chat chains with ConversationBufferMemory for context-aware responses within a session. - Customizable prompt template for bot persona personalization. - Supports Vietnamese short, accurate answers; example queries included. - Backend default: DeepSeek-chat (Gemini available via config). - Simple usage: langchain <query> or langchain: <query>. - Designed for easy extension (RAG, tool calling, agents). - Python-based; requires langchain libraries installed.
Metadata
Slug langchain-skill
Version 1.0.2
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Langchain Skill?

Python skill using LangChain to manage conversation memory and chains, enabling context-aware, concise Vietnamese replies with customizable prompts. It is an AI Agent Skill for Claude Code / OpenClaw, with 288 downloads so far.

How do I install Langchain Skill?

Run "/install langchain-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Langchain Skill free?

Yes, Langchain Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Langchain Skill support?

Langchain Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Langchain Skill?

It is built and maintained by S0nOcean (@s0nocean); the current version is v1.0.2.

💬 Comments