本文へ移動
cccskills
無料GitHub で公開

onequery-openclaw

Use OpenClaw's exec tool to inspect orgs, sources, and run bounded read-only SQL through the OneQuery CLI directly.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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:

  1. onequery auth whoami
  2. onequery org current or onequery org list --page-size 25
  3. onequery source list --org <org> --page-size 25
  4. onequery source show <source> --org <org>
  5. onequery query validate --org <org> --source <source> --sql '<sql>' --max-rows 100 --max-bytes 1048576 --cell-max-chars 2000 --timeout-ms 60000
  6. onequery 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 --org to org-scoped source and query commands.
  • Prefer query validate before query exec for 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 exec supports --page-size, --cursor, and --page-all; query validate does 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 onequery is unavailable, ask the operator to install it or expose it on PATH.
  • If exec runs under restrictive approval or allowlist policy, ask the operator to allow the resolved onequery binary 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, then onequery source show <source> --org <org>
  • SQL shape issues: onequery query validate ...

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

日本語の概要は準備中です。原文の説明を表示しています。

wordbricks/onequery172026年7月30日 更新

A scoring scale for evaluating how well a CLI is designed for AI agents, based on the "Rewrite Your CLI for AI Agents" principles.

日本語の概要は準備中です。原文の説明を表示しています。

wordbricks/onequery172026年7月30日 更新

Score a repository's agentic legibility from repo-visible evidence only. Use when Codex needs to audit how easy a codebase is for coding agents to discover, bootstrap, validate, and navigate, especially for harness-engineering reviews, developer-experience audits, repo cleanup, or before/after comparisons after improving docs, tooling, or architectural constraints.

日本語の概要は準備中です。原文の説明を表示しています。

wordbricks/onequery172026年7月30日 更新

astro

無料

Expert in Astro framework with static generation and partial hydration patterns

日本語の概要は準備中です。原文の説明を表示しています。

wordbricks/onequery172026年7月30日 更新

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.

日本語の概要は準備中です。原文の説明を表示しています。

wordbricks/onequery172026年7月30日 更新

Adopt better-result in an existing TypeScript codebase. Use when replacing try/catch, Promise rejection handling, null sentinels, or thrown domain exceptions with typed Result workflows.

日本語の概要は準備中です。原文の説明を表示しています。

wordbricks/onequery172026年7月30日 更新

wordbricks のスキルをすべて見る

このスキルの問題を報告する