kubesense-sql
Installation
SKILL.md
KubeSense SQL
Requires the KubeSense MCP server; see kubesense-mcp for
connection and auth. Tools here resolve RBAC against the logs or traces module,
matching the signal you pass.
Tools
| Tool | Use when | Returns |
|---|---|---|
get-trace-or-log-fields |
Always, first | Field catalog for your window |
validate-sql |
Before running anything non-trivial | valid=true/false + the SQL that would run |
execute-sql |
The query is right | Result rows as TSV |
Both SQL tools take the same arguments: signal ("logs" or "traces"), query,
from_time, to_time, and optional clusters.