Toolverse
All skills

langchain-performance-tuning

by jeremylongshore

Optimize LangChain application performance and latency.\nUse when reducing response times, optimizing throughput,\nor improving the efficiency of LangChain pipelines.\nTrigger with phrases like \

Installation

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

Installation

Quick info

Category
Testing

About this skill

Optimize LangChain application performance and latency.\nUse when reducing response times, optimizing throughput,\nor improving the efficiency of LangChain pipelines.\nTrigger with phrases like \

How to use

  1. Zainstaluj skill w swoim projekcie Claude Code, Codex lub OpenClaw, upewniając się, że masz dostęp do uprawnień Read, Write i Edit.

  2. Wyzwól skill frazami takimi jak "langchain performance", "langchain optimization", "langchain latency", "langchain slow" lub "speed up langchain", aby uzyskać dostęp do narzędzi optymalizacyjnych.

  3. Rozpocznij od benchmarkingu baseline'u — użyj funkcji benchmark() do pomiaru czasu odpowiedzi łańcucha na próbce danych. Funkcja zwróci średnią, medianę, percentyl 95, wartość minimalną i maksymalną w milisekundach, co pozwoli ci zidentyfikować wąskie gardła.

  4. Wdrażaj streaming w łańcuchu, ustawiając opcję streaming: true w konfiguracji ChatOpenAI. Streaming poprawia postrzeganą wydajność, wysyłając odpowiedź do użytkownika stopniowo zamiast czekać na pełny wynik.

  5. Zoptymalizuj prompty, aby zmniejszyć liczbę tokenów — krótsze i bardziej precyzyjne instrukcje zmniejszają opóźnienia i koszty. Rozważ również wybór mniejszego modelu (np. gpt-4o-mini) dla zadań, które nie wymagają pełnej mocy większych modeli.

  6. Implementuj cache'owanie i przetwarzanie wsadowe z kontrolą współbieżności dla powtarzających się zapytań i operacji masowych, aby zmaksymalizować przepustowość i zmniejszyć obciążenie serwera.

Related skills

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118

code-review-excellence

by wshobson

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

Testing
1145

lean4-theorem-proving

by cameronfreer

Use when developing Lean 4 proofs, facing type class synthesis errors, managing sorries/axioms, or searching mathlib - provides build-first workflow, instance management patterns (haveI/letI), and domain-specific tactics

Testing
9108

ad-creative

by alirezarezvani

When the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or

Testing
2863

playwright-browser-automation

by lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test

Testing
13130

pair-trade-screener

by tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair

Testing
994