r2xsql
Installation
SKILL.md
Read connect before attaching or starting a host. The
user asks in natural language; you manage radare2 and issue SQL over its native
HTTP server using curl. Installed r2xsql loads automatically; explicit L
requires a plugin file, not the name r2xsql. Discover r2 or radare2 from
PATH or the installation supplied by the user, and verify the loaded plugin.
Choose the session from the user's intent and known context:
- Existing endpoint / tandem: attach to the human's interactive CLI, visual/panels text interface or iaito GUI host, verify its binary identity and reuse the open analysis. Do not launch another interactive host.
- Fresh executable: start native r2 as a background OS process, analyze
once with
aaa, then serve with-e http.port=PORT -c '=h'inside that process. - Saved project: restore with
-p PROJECTbefore serving; the project stores the binary path. Use the matching native loader for a standalone binary container. Do not useaaaor-A. Keep the original executable available. - Follow-up: reuse the matching live PID/endpoint. Retain a mapping of session name, binary, project, endpoint and process ownership; several hosts may be used from one coding session.