跳到正文
cccskills
免费在 GitHub 公开

qa-test

Test CodexBar against real provider services, check application settings, and verify menu contents. Use command-line checks and visual evidence to distinguish authentication problems, API mismatches, and display issues before a release.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

CodexBar live QA/e2e testing: run provider usage matrix checks, validate real app config, use Peekaboo for menu proof, use Browser Use/official docs for API spec or logged-in dashboard checks, and handle 1Password credentials safely.

集成工具OpenAI
查看安装方法

适用场景

  • Checking provider connections before a release
  • Investigating missing usage data or authentication failures
  • Comparing menu contents with enabled providers
  • Validating settings while protecting credentials

包含的文件(4)

  • SKILL.md4.8 KB
  • agents/openai.yaml224 B
  • references/api-specs.md754 B
  • scripts/live_provider_matrix.sh5.1 KB

SKILL.md(原文)

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

CodexBar Live QA

Use for live provider testing, release smoke tests, menu verification, or debugging “provider works/fails” reports.

Rules

  • Work from the CodexBar repo checkout.
  • Use the packaged CLI first: CodexBar.app/Contents/Helpers/CodexBarCLI.
  • Do not use CodexBar.app/Contents/MacOS/codexbar; that is the app binary and may appear to hang as a CLI.
  • Never run broad env, set, or secret regex dumps.
  • Use $one-password for secrets: all op commands inside one persistent tmux session, service account first, no raw secret output.
  • Treat browser-cookie/keychain flows as prompt-risky. Prefer CLI/API-token checks and KeychainNoUIQuery-safe tests unless the user explicitly requested live UI.
  • For current API behavior, browse official provider docs only.

CLI Matrix

Run the bundled script:

.agents/skills/qa-test/scripts/live_provider_matrix.sh --enabled

Useful modes:

.agents/skills/qa-test/scripts/live_provider_matrix.sh --provider all
.agents/skills/qa-test/scripts/live_provider_matrix.sh --providers openai,zai,deepseek
.agents/skills/qa-test/scripts/live_provider_matrix.sh --default

Interpretation:

  • --enabled asks CodexBarCLI config providers for enabled providers, honoring CODEXBAR_CONFIG and default toggles.
  • --default runs the app-facing default command with no provider override.
  • --provider all forces every registered provider and is expected to fail for providers without sessions/keys.
  • A green app config needs --enabled and --default clean; --provider all is a discovery/triage tool.

Config QA

Validate config:

CodexBar.app/Contents/Helpers/CodexBarCLI config validate
stat -f '%Lp %N' "$HOME/.codexbar/config.json"

Redact config shape:

jq '(.providers // []) |= map(.apiKey = (if .apiKey then "<redacted>" else .apiKey end) |
  .secretKey = (if .secretKey then "<redacted>" else .secretKey end) |
  .cookieHeader = (if .cookieHeader then "<redacted>" else .cookieHeader end) |
  (if .id == "stepfun" and has("region") then .region = "<redacted>" else . end) |
  .tokenAccounts = (if .tokenAccounts then (.tokenAccounts | .accounts = (.accounts | map(.token = "<redacted>"))) else .tokenAccounts end))' \
  "$HOME/.codexbar/config.json"

Before editing config, make a backup:

cp "$HOME/.codexbar/config.json" "$HOME/.codexbar/config.pre-qa-$(date +%Y%m%d%H%M%S).json"
chmod 600 "$HOME/.codexbar"/config.pre-qa-*.json

Live Menu QA

Use Peekaboo after CLI checks:

pkill -x CodexBar || pkill -f 'CodexBar.app/Contents/MacOS/CodexBar' || true
open -n "$PWD/CodexBar.app"
peekaboo menu list-all --json | rg -i 'codexbar'
peekaboo menu click-extra --title codexbar-merged --json
screencapture -x /tmp/codexbar-live-menu.png

Crop top-right menu if needed:

sips --cropToHeightWidth 900 340 --cropOffset 20 2650 /tmp/codexbar-live-menu.png \
  --out /tmp/codexbar-live-menu-crop.png >/dev/null

Verify visually with view_image. Confirm provider tabs/rows match enabled config and no failing provider dominates the first screen.

Browser Use

Use $browser-use only when a logged-in dashboard, API key page, or provider docs need browser/profile state.

Existing Chrome path:

mcporter call chrome-devtools.list_pages --args '{}' --output text
mcporter call chrome-devtools.navigate_page --args '{"url":"https://provider.example"}' --output text
mcporter call chrome-devtools.take_snapshot --args '{}' --output text

If Browser Use is unavailable, say so and use web search for public official docs; do not substitute isolated Playwright for login/profile-dependent pages.

Fix Triage

  • Missing auth/session: configure key/session if available; otherwise leave provider disabled or report blocked auth.
  • Wrong provider API/spec: inspect official docs, then patch fetcher/settings/tests.
  • Provider key exists but live API rejects it: keep key stored if useful, disable provider if the menu would show a persistent error.
  • User-facing behavior changes need CHANGELOG.md.
  • Code fixes need focused tests, make check, $autoreview, and live CLI proof before landing.

Known CodexBar QA Notes

  • OpenAI Admin API key is the useful usage provider key. Project OPENAI_API_KEY values can fail legacy credit-balance fallback with 403.
  • Deepgram usage requires a key/project with Management API permissions; transcription-only keys can return 403.
  • Groq usage uses the Prometheus metrics API, not ordinary inference endpoints.
  • MiniMax pay-as-you-go API keys and Token Plan/Coding Plan keys are different; wrong key kind can leave usage unavailable.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

codexbar

免费

Read provider usage, limits, credits, and installation or configuration health through CodexBar. Returns JSON for enabled providers or a selected provider, while hiding secrets and leaving configuration and authentication unchanged.

中文简介正在准备中。当前显示英语简介。

  • Checking usage and limits across enabled providers
  • Checking credits for a selected provider
  • Diagnosing installation or configuration health
steipete/CodexBar2.3万2026年10月19日 更新

Guide a macOS app release through versioning, signing, Apple notarization, update feed checks, and Homebrew updates. Includes CodexBar release scripts, published asset verification, and preparation of the next unreleased version.

中文简介正在准备中。当前显示英语简介。

  • Releasing a signed and notarized macOS app
  • Verifying update feeds and published release assets
  • Updating Homebrew app and CLI packages
steipete/CodexBar2.3万2026年10月19日 更新

查看 steipete 的全部技能

报告此技能的问题