@onequery/openclaw-plugin
v0.1.2
Published
OneQuery OpenClaw plugin
Maintainers
Readme
OneQuery OpenClaw Plugin
OpenClaw plugin that bundles a onequery-openclaw skill. The skill teaches the
agent to use the onequery CLI directly through OpenClaw's core exec tool
instead of registering a separate wrapper tool surface.
Install
From npm:
openclaw plugins install @onequery/openclaw-plugin
openclaw plugins enable onequeryFrom a checkout of this repository:
openclaw plugins install -l ./packages/openclaw-plugin
openclaw plugins enable onequeryThen enable the plugin in openclaw.json:
{
plugins: {
entries: {
onequery: { enabled: true },
},
}
}Start a new session after enabling the plugin so OpenClaw reloads the bundled skill.
Requirements
onequerymust be installed and available onPATH.- The agent needs access to OpenClaw's core
exectool. - If your OpenClaw exec policy uses approvals or allowlists, allow the resolved
onequerybinary or enable skill-bin auto-allow for required skill binaries.
Behavior
- The plugin adds no custom agent tools and has no plugin-specific runtime config.
- The bundled
onequery-openclawskill teaches the agent to runonequery ... --output jsondirectly viaexec. - The skill keeps the same workflow as before: resolve auth and org context, inspect sources, validate unfamiliar SQL first, then execute bounded read-only queries.
- For quote-heavy or multiline SQL, the skill prefers
onequery query ... --file <path>over brittle shell escaping.
