A local-first CLI tool that enables natural language searching and semantic indexing of git history without requiring API keys.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install slg-cli
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install slg-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
slg is a sophisticated utility designed for deep code archaeology within local repositories. By constructing a semantic index using a combination of embeddings and BM25, it allows developers to query their git history using natural language. This Openclaw Skills integration enables users to go beyond simple keyword searches, providing the ability to ask complex questions about the evolution of a codebase.
Because it runs entirely offline via ONNX Runtime, it ensures maximum privacy and speed for developers. It bridges the gap between raw git logs and actionable developer intent, making it easier to understand the context of every line of code without leaving the terminal or relying on cloud-based processing.
To integrate this skill into your environment, install the package globally via npm. This tool is a key part of the Openclaw Skills ecosystem for local git intelligence.
npm install -g slg-cli
Navigate to your git repository and initialize the index:
slg init
To ensure your index remains up to date or to troubleshoot issues, use the following commands:
slg reindex
slg doctor
SLG manages a local database and index to map git history to searchable vectors. The following table describes how it organizes this data:
| Component | Description |
|---|---|
| Semantic Index | A local store of vector embeddings representing commit messages and code diffs. |
| BM25 Index | A traditional text-search index used to augment semantic results with keyword relevance. |
| Contribution Map | A ranked list of contributors based on the volume and semantic weight of their changes to specific paths. |
| Risk Analysis | Metadata associated with commits that calculates the potential impact of changes or reverts. |
Loading
A powerful messaging skill for sending automated text, images, and files to QQ users and groups.

A precision tool for aggregating and summarizing top-tier AI and machine learning news from Nature and New Scientist.

A systematic framework for designing and executing statistically significant A/B tests for ad creatives and landing pages.

A specialized utility for fine-tuning OpenClaw 4.2 memory search parameters to improve the accuracy and relevance of AI agent retrieval.

Content Spy is a strategic research tool designed to document and analyze competitor posting behaviors to identify high-leverage content gaps and counter-programming opportunities.

A comprehensive AI agent skill for programmatic trading, portfolio management, and real-time market analysis on the OKX exchange.








































