Toolverse
All skills

patterns

by langroid

Design patterns for the Langroid multi-agent LLM framework. Covers agent configuration, tools, task control, and integrations.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
langroid
Category
Data Science
Views
3

About this skill

Design patterns for the Langroid multi-agent LLM framework. Covers agent configuration, tools, task control, and integrations.

How to use

  1. Przejdź do repozytorium Langroid na GitHubie i zlokalizuj folder /plugins/langroid/skills/patterns. Zawiera on katalog wzorców zorganizowanych po kategoriach (Agent & Task Basics, Tool Handlers, Task Orchestration itp.).

  2. Przejrzyj indeks wzorców dostępny w pliku README, aby znaleźć rozwiązanie pasujące do Twojego problemu. Każdy wzorzec opisuje konkretny scenariusz (np. zwracanie narzędzia z zadania, obsługa stanowa handlera, walidacja wyjścia).

  3. Po wybraniu odpowiedniego wzorca otwórz powiązany plik dokumentacji (np. task-return-tool.md lub agent-tool-handler-with-state.md), który zawiera pełny przykład kodu.

  4. Skopiuj kod z przykładu i dostosuj go do swojego agenta. Zwróć uwagę na nazwy metod handlera (muszą odpowiadać polu request w ToolMessage) oraz na zwracane wartości (string dla błędów, DoneTool dla sukcesu).

  5. Jeśli Twój handler potrzebuje dostępu do stanu agenta, zasobów lub wykonania operacji zewnętrznych (API, baza danych), użyj wzorca "Stateful Handler on Agent" — definiuje handler jako metodę na klasie agenta, a nie wewnątrz ToolMessage.

  6. Przetestuj implementację, upewniając się, że agent poprawnie obsługuje błędy i że Langroid automatycznie pętli błędy z powrotem do LLM w celu samokorekcji.

Related skills

a-stock-analysis

by openclaw

A股实时行情与分时量能分析。获取沪深股票实时价格、涨跌、成交量,分析分时量能分布(早盘/尾盘放量)、主力动向(抢筹/出货信号)、涨停封单。支持持仓管理和盈亏分析。Use when: (1) 查询A股实时行情, (2) 分析主力资金动向, (3) 查看分时成交量分布, (4) 管理股票持仓, (5) 分析持仓盈亏。

Data Science
48153

last30days

by sickn33

Research a topic from the last 30 days on Reddit + X + Web, become an expert, and write copy-paste-ready prompts for the user's target tool.

Data Science
2148

notebooklm

by leegonzales

Query Google NotebookLM for source-grounded, citation-backed answers from uploaded documents. Reduces hallucinations through Gemini's document-only responses. Browser automation with library management and persistent authentication.

Data Science
142112

threejs

by mrgoonie

Build 3D web apps with Three.js (WebGL/WebGPU). Use for 3D scenes, animations, custom shaders, PBR materials, VR/XR experiences, games, data visualizations, product configurators.

Data Science
1743

prompt-optimizer

by solatis

Optimize system prompts for Claude Code agents using proven prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.

Data Science
15109

docx

by anthropics

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content,

Data Science
39142