跳到正文
cccskills
免费在 GitHub 公开

qdash

Work with a running QDash instance through qdash-client and saved local profiles. Use when an agent needs to inspect chips, metrics, task results, calibration data, provenance, issues, flows, executions, project files, project-scoped QDash API data, or OpenAPI endpoints from QDash using qdash-client, ~/.config/qdash/config.ini, XDG_CONFIG_HOME/qdash/config.ini, QDASH_* environment variables, or a local oqtopus-team/qdash checkout.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md5.6 KB
  • agents/openai.yaml187 B
  • references/qdash.md8.3 KB
  • scripts/qdash_query.py25.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

QDash

Overview

Use this skill to let an agent query QDash through qdash-client instead of scraping the UI, calling curl directly, or hand-writing auth headers. Prefer saved profiles for credentials and keep tokens, Cloudflare Access secrets, passwords, and raw config contents out of conversation output.

For public/general use, assume qdash-client is the required API transport. Do not install it permanently unless the user asks; prefer ephemeral execution with uv run --with qdash-client.

Quick Start

  1. Locate the profile without printing secrets:
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py config-path
  1. Run a read-only smoke check:
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local chips
  1. Query common API data:
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local default-chip
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local metrics-config
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local chip-metrics --chip-id chip-001
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local chip-qubits --chip-id chip-001 --limit 20
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local task-results --limit 20 --status success
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local task-result --task-id task-001
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local task-knowledge --task-name t1
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local qubit-latest --task t1
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local issues --limit 20
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local flows
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local flow-templates
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local files-tree
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local provenance-stats
uv run --with qdash-client python skills/qdash/scripts/qdash_query.py --profile local timeseries --parameter t1 --start-at 2026-06-01T00:00:00Z --end-at 2026-06-08T00:00:00Z

For QDash development, set QDASH_REPO_PATH to a local oqtopus-team/qdash checkout to test unreleased client changes. The helper also probes ~/src/github.com/oqtopus-team/qdash.

If using a local checkout and plain python does not have client dependencies, run the helper through uv:

uv run --with httpx --with pydantic python skills/qdash/scripts/qdash_query.py --profile local chips

Workflow

  1. Use config-path first when the user mentions a local profile. Report only the path, available profile names, and whether the file exists.
  2. Prefer uv run --with qdash-client python skills/qdash/scripts/qdash_query.py ... for supported read-only operations because it handles profile loading, auth headers, project headers, model serialization, and error formatting through the official client.
  3. Use named read-only commands first: chips, default-chip, metrics-config, chip-metrics, chip-qubits, chip-qubit, chip-couplings, chip-coupling, timeseries, task-results, task-result, task-note, task-result-issues, task-knowledge, task-knowledge-markdown, qubit-latest, qubit-history, coupling-latest, coupling-history, projects, project, files-tree, file-content, git-status, issues, issue-knowledge, flows, flow, flow-templates, flow-template, flow-helper-files, flow-helper-file, executions, and provenance-*.
  4. Use raw-get for read-only endpoints not covered by first-class commands. It still goes through qdash-client; do not use curl as the normal path.
  5. Use a local checkout fallback only for qdash-client development or unreleased API/client changes.
  6. Before creating, updating, deleting, excluding, re-executing, pushing files, pulling files, or triggering flows, state the exact endpoint/action and wait for user confirmation.
  7. Summarize returned data instead of dumping huge JSON. Include counts, IDs, time ranges, and suspicious values that answer the user's question.

API Reference

Read references/qdash.md when you need endpoint groups, local source locations, or examples for extending the helper.

Primary local sources in the QDash checkout:

  • clients/python/README.md
  • docs/user-guide/qdash-client.md
  • docs/oas/openapi.json
  • clients/python/src/qdash/client/services/client.py

Safety

  • Never print api_token, password, cf_access_client_secret, or full profile contents.
  • Do not reconstruct auth headers in shell or curl unless the user explicitly asks for low-level debugging.
  • Treat /files/git/push, /files/git/pull, /flows/*/execute, re-execute, exclude, admin, auth, and project membership endpoints as write or operationally sensitive.
  • Prefer absolute UTC ISO timestamps with trailing Z for time-series calls.
  • Close QDashClient instances when writing custom snippets.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

daisyui

免费

Official daisyUI component-library skill for Tailwind CSS. When you write HTML or JSX code, you must use it. Even if the user does not request it, use it.

中文简介正在准备中。当前显示原文说明。

oqtopus-team/qdash542026年10月19日 更新

Color rules that you must use with daisyUI 5

中文简介正在准备中。当前显示原文说明。

oqtopus-team/qdash542026年10月19日 更新

Configuration options for daisyUI 5

中文简介正在准备中。当前显示原文说明。

oqtopus-team/qdash542026年10月19日 更新

Installation instructions for daisyUI 5

中文简介正在准备中。当前显示原文说明。

oqtopus-team/qdash542026年10月19日 更新

Usage rules that you must use with daisyUI 5

中文简介正在准备中。当前显示原文说明。

oqtopus-team/qdash542026年10月19日 更新

查看 oqtopus-team 的全部技能

报告此技能的问题