← 返回 Skills 市场
288
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install langchain-skill
功能描述
Python skill using LangChain to manage conversation memory and chains, enabling context-aware, concise Vietnamese replies with customizable prompts.
使用说明 (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.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install langchain-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/langchain-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Langchain Skill 是什么?
Python skill using LangChain to manage conversation memory and chains, enabling context-aware, concise Vietnamese replies with customizable prompts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 288 次。
如何安装 Langchain Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install langchain-skill」即可一键安装,无需额外配置。
Langchain Skill 是免费的吗?
是的,Langchain Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Langchain Skill 支持哪些平台?
Langchain Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Langchain Skill?
由 S0nOcean(@s0nocean)开发并维护,当前版本 v1.0.2。
推荐 Skills