Ask Codex

io.github.Lykhoyda由 GitHub 帳號 Lykhoyda 發布v0.9.0更新於 Oct 24, 2026

Bridge Claude with OpenAI Codex CLI for AI-to-AI collaboration, code review, and second opinions

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

AI 產生的概覽

把編碼助理與 Codex、Claude 等其他模型 CLI 連接起來,讓助理請求程式碼審查、方案質疑與第二意見。

可以做什麼
  • 讓另一家廠商的模型審查暫存變更、差異或檔案並列出問題
  • 讓第二個模型質疑方案、指出可能失敗的假設或提出更簡單的做法
  • 比對不同供應商的回答,由目前助理套用你接受的修改
  • 在支援的宿主中可選擇開啟逐次編輯的配對回饋
  • 諮詢失敗時執行診斷以排查連線問題
適用情境
適合已為第二個模型訂閱付費的個人開發者或小型團隊,希望在現有編碼工作階段內取得獨立審查或方案質疑,而不需要 API 金鑰或複製貼上。
執行需求
以 npm 套件形式透過 stdio 在本機執行,需要 Linux 或 macOS 上的 Node.js 24+。宿主助理與被諮詢的供應商 CLI(例如 Codex 或 Claude Code)必須已安裝並登入;安裝程式不會代為安裝或登入。選用環境變數 GMCPT_LOG_LEVEL 與 GMCPT_TIMEOUT_MS 控制日誌等級與逾時。
安裝前請注意
諮詢會消耗現有供應商方案的額度或依其帳戶計費;Grok 的 xAI API 是獨立的計量選項,需要 API 金鑰並另行計費。審查執行使用供應商的唯讀控制,但 Antigravity 預設關閉執行,開啟後無法保證唯讀。只提交允許傳送給所選供應商的內容;模型之間的一致並不代表正確。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ask Codex,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Ask LLM

Second opinions for coding agents.

Get a second opinion on your code or plan, inside your coding assistant, using the model subscriptions you already have.

For individual developers and small teams who already use a coding assistant and pay for another model subscription: ask a different vendor's model to review your changes or challenge your plan, without API keys, copy-paste, or leaving the session.

text
You:    ask codex to review src/auth.ts for security issuesCodex:  ⚠ verifyToken() compares tokens with === — not timing-safe (line 42)        ⚠ the session cookie is missing a SameSite attributeClaude: Good catches — applying both fixes to src/auth.ts.

Install

You need Node.js 24+ on Linux or macOS. Before your first review, both your coding assistant (for example Claude Code) and the provider you will consult (for example Codex) must be installed and signed in. Ask LLM configures the connection; it does not install providers or sign you in. If a provider CLI such as Codex has never been signed in on this machine, sign in first and rerun setup.

bash
npm i -g @ask-llm/mcp && ask-llm setup

Setup asks you to confirm each detected host and workflow. Inspect the preview, confirm your assistant's registration and workflows, decline the others, then follow any printed manual steps. Restart your assistant or start a new session in your project.

Your first review

With both Claude Code and Codex installed and signed in, open Claude Code in your project and ask:

text
Ask Codex to review my staged changes for bugs and missing error handling. Check each finding against the source before proposing fixes.

Working in Codex with a Claude subscription? Ask Claude instead. Choose a provider from a different vendor than your current assistant. A successful review names the reviewer and model, cites relevant code, and reports findings or says it found none. Your assistant applies changes after you decide what to accept. If the request fails, run ask-llm doctor and follow the troubleshooting guide for your selected assistant and reviewer. Warnings about providers you do not use do not require installing them or adding API keys.

For plans, try: “Ask Claude to challenge this plan: what assumptions could fail, and what simpler approach would fit our constraints?”

After an on-demand review, pair review can add ongoing feedback. Pairing requires explicit opt-in; setup leaves it off. Grok CLI supports a per-edit hook with Codex Sol by default or Claude Opus 5.5 via reviewer: claude; shell reviews cover command text only.

Supported hosts

A host is the assistant you work in; a provider is the model you consult.

HostExperience
Claude CodeReviews, plan critique, comparisons; isolated reviewers and opt-in per-edit pairing
Codex, Cursor, Gemini CLITools and portable workflows; pairing on demand
Grok BuildTools and portable workflows; opt-in per-edit pairing
AntigravityTools; setup prints a manual step for workflows
Pi 0.83.0+Native tools and portable workflows; opt-in per-edit pairing
Claude DesktopTools only
OpenCodeTools and portable workflows; setup verified with fixtures only

See host compatibility for the complete matrix and manual setup limits, including existing Codex registrations.

Supported providers

ProviderAccess
CodexYour authenticated Codex CLI/account
ClaudeYour authenticated Claude Code account; consult it from a host other than Claude Code
GrokAuthenticated Grok Build, an exact Cursor model, or the explicit metered xAI API option
AntigravityYour authenticated agy subscription; execution is off by default, and opt-in has no read-only guarantee
OllamaLocal models on your machine
GeminiAn eligible Gemini Code Assist Standard/Enterprise seat

Cursor Agent can also consult exact models from your Cursor catalog. It is a connection route, with usage governed by your Cursor plan.

Trust and cost

Review runs use read-only provider controls; the assistant you work in remains the editor. Antigravity refuses execution until explicitly enabled and cannot guarantee read-only access after opt-in. Review only material you are allowed to share with the selected provider.

Calls consume your existing provider plan's quota or follow that account's billing. Grok's xAI API is a separate, metered option requiring an API key; Ask LLM never enables billing or overage for you. Ollama supports local inference. Ask LLM sends no telemetry; provider and host data policies still apply.

Agreement between models is not proof of correctness. Validate findings against the code, tests, and your requirements. See data flow and costs and fallbacks.

Migrating from @ask-llm/*

Follow the migration guide before retiring earlier registrations.

Upgrade or remove · Troubleshooting · Documentation

Contributions: CONTRIBUTING.md. Licensed under MIT.

來源:README.md,提交 ba91abc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v0.9.0最新Sep 27, 2026
  2. v0.8.0Sep 26, 2026
  3. v0.7.8Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分