onequery-openclaw
Use OpenClaw's exec tool to inspect orgs, sources, and run bounded read-only SQL through the OneQuery CLI directly.
от wordbricks★ 16 звёзд на GitHub
Установить onequery-openclaw в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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.
Use these commands in this order:
onequery auth whoamionequery org currentoronequery org list --page-size 25onequery source list --org <org> --page-size 25onequery source show <source> --org <org>onequery query validate --org <org> --source <source> --sql '<sql>' --max-rows 100 --max-bytes 1048576 --cell-max-chars 2000 --timeout-ms 60000onequery query exec --org <org> --source <source> --sql '<sql>' --max-rows 100 --max-bytes 1048576 --cell-max-chars 2000 --timeout-ms 60000
Rules:
- Always pass an explicit
--orgto org-scoped source and query commands. - Prefer
query validatebeforequery execfor unfamiliar SQL or provider dialects. - Start with
select 1, a row count, or a bounded aggregate before wide row dumps. - Keep reads aggressively bounded with
--max-rows,--max-bytes,--cell-max-chars, and small page sizes. query execsupports--page-size,--cursor, and--page-all;query validatedoes not.- Only run read-only SQL. Reject obviously mutating statements instead of executing them.
- Treat informal source names as aliases to resolve, not literal source keys.
- Use shell-safe argument construction. Do not pass user text through shell operators, command substitution, or chained commands.
- For long or quote-heavy SQL, write it to a temporary UTF-8 file and use
--file <path>instead of forcing brittle shell escaping. - If
onequeryis unavailable, ask the operator to install it or expose it onPATH. - If
execruns under restrictive approval or allowlist policy, ask the operator to allow the resolvedonequerybinary or enable skill-bin auto-allow. - In your final answer, report the org, source, and any request id returned by the CLI.
Recovery:
- Auth issues: rerun
onequery auth whoami, then ask the user to refresh the OneQuery CLI session if needed. - Org ambiguity:
onequery org list --page-size 25 - Source ambiguity:
onequery source list --org <org> --page-size 25, thenonequery source show <source> --org <org> - SQL shape issues:
onequery query validate ...
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл onequery-openclaw?
Use OpenClaw's exec tool to inspect orgs, sources, and run bounded read-only SQL through the OneQuery CLI directly.
Как установить скилл onequery-openclaw?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл onequery-openclaw запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…