packages/openclaw-plugin/skills/onequery-cli/SKILL.md
Use OpenClaw's exec tool to inspect orgs, sources, and run bounded read-only SQL through the OneQuery CLI directly.
npx skillsauth add wordbricks/onequery onequery-openclawInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user wants company or customer data that should be read through OneQuery-managed access, or when you need to resolve org and source context before a bounded query.
Use OpenClaw's exec tool to run the onequery CLI directly. Prefer
--json so the result stays structured.
Use these commands in this order:
onequery auth whoami --jsononequery org current --json or onequery org list --json --page-size 25onequery source list --org <org> --json --page-size 25onequery source show <source> --org <org> --jsononequery query validate --org <org> --source <source> --json --sql '<sql>' --max-rows 100 --max-bytes 1048576 --cell-max-chars 2000 --timeout-ms 60000onequery query exec --org <org> --source <source> --json --sql '<sql>' --max-rows 100 --max-bytes 1048576 --cell-max-chars 2000 --timeout-ms 60000Rules:
--org to org-scoped source and query commands.query validate before query exec for unfamiliar SQL or provider
dialects.select 1, a row count, or a bounded aggregate before wide row
dumps.--max-rows, --max-bytes,
--cell-max-chars, and small page sizes.query exec supports --page-size, --cursor, and --page-all;
query validate does not.--file <path> instead of forcing brittle shell escaping.onequery is unavailable, ask the operator to install it or expose it on
PATH.exec runs under restrictive approval or allowlist policy, ask the
operator to allow the resolved onequery binary or enable skill-bin
auto-allow.Recovery:
onequery auth whoami --json, then ask the user to
refresh the OneQuery CLI session if needed.onequery org list --json --page-size 25onequery source list --org <org> --json --page-size 25,
then onequery source show <source> --org <org> --jsononequery query validate ...tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.