A powerful reverse-engineering skill to map database queries back to their origin in PHP and Laravel codebases.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install sql-reflect
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 sql-reflect using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
SQL Reflect is an essential diagnostic tool for Openclaw Skills users who need to bridge the gap between database performance logs and source code. It automates the tedious process of finding where a specific SQL query was generated within a PHP or Laravel application. By analyzing query components like table names, JOIN structures, and WHERE clauses, it performs a reverse-lookup to identify the exact Eloquent model, service method, or controller responsible for the database hit.
This skill is particularly valuable for developers maintaining legacy codebases or large-scale Laravel projects where database interactions are abstracted through multiple layers. By integrating this into Openclaw Skills, teams can drastically reduce the time spent on manual grep searches and debugging sessions.
To get started with SQL Reflect within the Openclaw Skills ecosystem, ensure your agent has read access to your PHP project root:
# Navigate to your Laravel project root
cd /path/to/your/laravel-app
# Ensure grep or ripgrep is installed on your system
# SQL Reflect will automatically utilize these tools to scan your app/ directory
The skill organizes its analysis based on the following taxonomy:
| Data Component | Description |
|---|---|
| Table Mapping | A dictionary that maps database table names (e.g., pk_customer) to Laravel Models (e.g., Customers). |
| Syntax Bridge | A logic layer mapping SQL structures like INNER JOIN to Eloquent methods like join(). |
| Field Signatures | Logical combinations of database columns used to identify specific business modules. |
| Call Path | A sequential trace from the Controller through the Service layer to the final query execution. |
Loading
An automated workflow to transform Sensors Analytics official manuals into professional, standardized Feishu user documentation.

A professional-grade ECG analysis tool that integrates the heartvoice cloud API to interpret single-lead and 12-lead electrocardiogram data.

An AI-powered video editing suite specifically designed to transform raw, shaky drone footage into stabilized, color-graded cinematic masterpieces.

A comprehensive AI-driven code analysis engine that automates quality scoring, deep code reviews, and cross-platform reporting.

An automated health inspection tool for e-commerce storefronts that monitors uptime, SSL validity, and product page integrity with multi-store support and Feishu notifications.

An automated data collection and analysis skill that builds a precise personal profile for your AI agent by indexing your logged-in social media activity.








































