Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add wordbricks/onequery --skill onequery-cligit clone --depth 1 https://github.com/wordbricks/onequeryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/wordbricks/onequery/onequery-cli)<a href="https://agentmods.dev/skills/wordbricks/onequery/onequery-cli"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/onequery-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/wordbricks/onequery/onequery-cli"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/onequery-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.00687 |
| Opus 5.5 | $0.00013 | $0.00275 |
| Sonnet 5.5 | $0.00007 | $0.00137 |
| Haiku 4.5 | $0.00003 | $0.00069 |
Grade A, and why
onequery-openclaw scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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 ...
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 56 lines · 33 tokens per session scan A e7ff4fcedc38
onequery-openclaw is a skill published in the GitHub repository wordbricks/onequery (16 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 687 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.
onequery-openclaw compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| onequery-openclawwordbricks/onequery | Skill | 16 | 4mo ago | Apache-2.0 | A | 33 | Claude Code, Codex |
| officecli-pitch-deckiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 163 | Claude Code, Codex |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 141 | Claude Code, Codex |
| officecli-pptxiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 106 | Claude Code, Codex |
| officecliiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 56 | Claude Code, Codex |
| morph-ppt-3diOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 37 | Claude Code, Codex |