用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill yoetz命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | yoetz |
| description | > Use when this capability is needed. |
Fast, agent-friendly LLM council tool for multi-model consensus, code review, and bundling.
Explicit triggers only:
NOT triggered by:
Before running any yoetz command, ensure the CLI is installed.
If command -v yoetz fails, install via one of the following:
| Platform | Command |
|---|---|
| macOS (Homebrew) | brew install avivsinai/homebrew-tap/yoetz |
| Linux (Homebrew if available) | brew install avivsinai/homebrew-tap/yoetz |
| From source (Rust 1.88+) | cargo install --git https://github.com/avivsinai/yoetz |
| Windows (Scoop) | scoop bucket add yoetz https://github.com/avivsinai/scoop-bucket && scoop install yoetz |
| Pre-built binary | Download from GitHub Releases and place in PATH |
Prefer Homebrew when available — pre-built binaries, fastest install.
--format json for parsingYOETZ_AGENT=1 environment variableyoetz bundle first to inspect sizeNEVER type a model ID from memory. Agent training data contains stale model names. Always query the live registry.
To find the current frontier model per provider:
yoetz models frontier --format json
To find a specific model:
yoetz models resolve "grok" --format json
Use the returned ID verbatim in your commands. Do not modify, shorten, or guess model IDs.
If the registry is stale or empty, sync first:
yoetz models sync
Search for models by keyword:
yoetz models list -s claude --format json
| Task | Command |
|---|---|
| Find frontier model per provider | yoetz models frontier --format json |
| Find frontier model for a provider | yoetz models frontier --family openai --format json |
| Resolve a model ID | yoetz models resolve "grok" --format json |
| Search models | yoetz models list -s claude --format json |
| Ask single model | yoetz ask -p "question" -f src/*.rs --provider openai --model MODEL_ID --format json |
| Council vote | yoetz council -p "question" --models MODEL1,MODEL2,MODEL3 --format json |
| Review staged diff | yoetz review diff --staged --format json |
| Review file | yoetz review file --path src/main.rs --format json |
| Bundle files | yoetz bundle -p "context" -f src/**/*.rs --format json |
| Generate image | yoetz generate image -p "description" --provider openai --model MODEL_ID --format json |
| Estimate cost | yoetz pricing estimate --model MODEL_ID --input-tokens 1000 --output-tokens 500 |
| Browser check | yoetz browser check |
| Browser attach | yoetz browser attach |
| Browser login | yoetz browser login |
Replace MODEL_ID with IDs from yoetz models frontier or yoetz models resolve.
Get opinions from multiple LLMs in parallel. --models is required.
yoetz council \
-p "Should we use async traits or callbacks for this API?" \
-f src/lib.rs -f src/api/*.rs \
--models openai/gpt-5.4,gemini/gemini-3.1-pro-preview,openrouter/xai/grok-4.20-multi-agent-beta \
--format json
Example council sets (illustrative — always resolve live IDs via yoetz models frontier):
openai/<FRONTIER>,gemini/<FRONTIER>,openrouter/xai/<FRONTIER>openrouter/openai/<FRONTIER>,openrouter/anthropic/<FRONTIER>,openrouter/google/<FRONTIER>Quick question with file context:
yoetz ask \
-p "What's the bug in this error handling?" \
-f src/error.rs \
--provider openai --model gpt-5.4 \
--format json
For Anthropic/XAI models, use OpenRouter (no extra config needed):
yoetz ask -p "Review this" -f src/*.rs \
--provider openrouter --model anthropic/claude-sonnet-4.6 \
--format json
yoetz review diff --staged --format json
yoetz review file --path src/main.rs --format json
yoetz review diff --staged --provider openai --model gpt-5.4 --format json
Bundle creates a session with files at ~/.yoetz/sessions/<id>/bundle.md.
# Get bundle path from JSON output
yoetz bundle -p "Explain this" -f src/**/*.rs --format json
# Output includes: {"artifacts":{"bundle_md":"/Users/.../.yoetz/sessions/.../bundle.md",...},...}
# Extract bundle_md path directly
BUNDLE=$(yoetz bundle -p "Review" -f src/*.rs --format json | jq -r .artifacts.bundle_md)
cat "$BUNDLE"
For browser workflows, pass the bundle.md path:
BUNDLE=$(yoetz bundle -p "Review" -f src/*.rs --format json | jq -r .artifacts.bundle_md)
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE"
For web-only models like ChatGPT Pro that lack API access. Connects to your running Chrome via CDP (Chrome DevTools Protocol) to submit bundles through the web UI.
# Optional fallback browser transports:
npm install -g dev-browser
# Secondary fallback transport:
npm install -g agent-browser
yoetz connects to your already logged-in Chrome session via auto-connect (CDP). No cookie extraction or separate browser needed.
Transport priority: chrome-devtools-mcp > dev-browser > agent-browser > manual browser upload.
Connection priority: explicit --cdp > auto-connect > cookie state > profile fallback.
Use --cdp http://127.0.0.1:9222 when you need to target a specific Chrome instance/profile.
Step 1: Enable remote debugging in Chrome
chrome://inspect/#remote-debuggingIf Chrome lands on chrome://inspect/#devices instead, that's fine. Keep "Discover network targets" enabled there.
Step 2: Run a recipe
BUNDLE=$(yoetz bundle -p "Review" -f src/*.rs --format json | jq -r .artifacts.bundle_md)
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE"
Step 3: Approve remote debugging (Chrome 146+) Chrome 146+ may show an "Allow remote debugging?" dialog on the first live attach. Click Allow once for that browser instance.
Step 4: Verify connection
yoetz browser attach
Chrome 146 introduced a security dialog for external CDP connections. Yoetz is extension-free by design, so the only way to get "approve once, then run silently" behavior is to keep the daemon/CDP session alive and avoid tearing it down between invocations.
Current policy:
chrome-devtools-mcp first, dev-browser second, agent-browser third.yoetz browser reset explicitly.If you see "Allow remote debugging?" in Chrome, click Allow and retry.
Explicit --cdp is already supported on yoetz browser attach, check, recipe, and login, but it only bypasses auto-discovery. It does not bypass Chrome's approval gate when targeting the same live browser instance started from chrome://inspect.
If the approval dialog is frozen or unclickable, use the manual CDP path instead:
chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug
yoetz browser attach --cdp http://127.0.0.1:9222
Chrome for Testing is also a good fallback for this manual path.
If auto-connect isn't available, cookie sync is still supported:
# Log into ChatGPT in real Chrome, close Chrome, then:
yoetz browser sync-cookies
yoetz browser check
Requires Node >= 24.4. If macOS shows a Keychain prompt for Chrome Safe Storage, click Always Allow.
# Create bundle and get bundle.md path
BUNDLE=$(yoetz bundle -p "Review this code" -f src/*.rs --format json | jq -r .artifacts.bundle_md)
# Send to ChatGPT
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE"
# Override the built-in model selection if needed
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE" --var model=gpt-5-4-pro
# Reuse the currently active ChatGPT tab/conversation for a follow-up turn
# instead of opening a fresh one (default is "fresh" — a fresh conversation
# per call; whether that is a new tab or same-tab navigation depends on the
# transport/session state). Requires the attached tab to already be on chatgpt.com.
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE" --var thread=reuse
The wait loop reports completion_reason in its JSON output:
copy_button — the strong signal: a copy control rendered on the new
assistant message (response is fully streamed).stable_idle_fallback — the page looked idle with unchanged length for
≥ max(90s, 3 × wait_interval_ms). Used when ChatGPT changes its copy-button
selectors; otherwise copy_button is the normal completion path.# Get fast API results first
yoetz council -p "Review" -f src/*.rs \
--models openai/gpt-5.4,gemini/gemini-3.1-pro-preview --format json > api.json
# Then get ChatGPT Pro opinion
BUNDLE=$(yoetz bundle -p "Review" -f src/*.rs --format json | jq -r .artifacts.bundle_md)
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE"
Recipes can be specified by name (resolved from installed locations) or by path:
# By name (searches Homebrew share, XDG, etc.)
yoetz browser recipe --recipe chatgpt --bundle "$BUNDLE"
# By explicit path
yoetz browser recipe --recipe ./my-recipes/custom.yaml --bundle "$BUNDLE"
Built-in recipes: chatgpt, claude, gemini.
| Symptom | Fix |
|---|---|
Allow remote debugging? dialog | Click Allow in Chrome, then retry. If the dialog is frozen, launch Chrome with --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug and use yoetz browser attach --cdp http://127.0.0.1:9222 instead. |
auto-connect probe timed out | Chrome dialog is probably showing. Click Allow. If Chrome will not accept the dialog, switch to the explicit --cdp flow above. Install dev-browser first; agent-browser remains a fallback. |
chatgpt login required | Chrome was reached but the wrong profile/tab was used. Open ChatGPT in the target Chrome profile first, or connect that profile explicitly with --cdp, then retry. |
daemon already running | Run yoetz browser attach to check connection. If the daemon is stale, use yoetz browser reset, not agent-browser close directly. |
agent-browser failed | Ensure npx agent-browser --version works, or npm install -g agent-browser |
dev-browser failed | Ensure dev-browser --help works, verify Chrome remote debugging is enabled, and retry with --cdp if you need a specific Chrome profile. |
| Recipe not found | Use --recipe chatgpt (name) or full path. Check brew --prefix/share/yoetz/recipes/ |
cookie extraction failed | Legacy path: ensure Node >= 24.4, log into ChatGPT in Chrome, close Chrome, yoetz browser sync-cookies |
When yoetz browser recipe needs manual browser automation, use dev-browser directly against the authenticated Chrome session:
BUNDLE=$(yoetz bundle -p "Review" -f src/**/*.ts --format json | jq -r .artifacts.bundle_md)dev-browser --connect <<'EOF'
const page = await browser.getPage("chatgpt");
await page.goto("https://chatgpt.com/");
console.log(await page.title());
EOF
browser.getPage(name), page.goto(url), page.click(selector), page.fill(selector, text), page.evaluate(fn), page.title()saveScreenshot(buf, name), writeFile(name, data), readFile(name)yoetz browser recipe --cdp http://127.0.0.1:9222 ...This keeps the default path aligned with the same browser transport users already rely on outside Yoetz.
The browser module connects to your running Chrome via CDP (Chrome DevTools Protocol):
headless_chrome, attaches directly to your logged-in Chrome sessionyoetz browser resetBuilt-in providers (work with just env var):
openai - OPENAI_API_KEYgemini - GEMINI_API_KEYopenrouter - OPENROUTER_API_KEYVia OpenRouter (recommended for Anthropic/XAI - no extra config):
openrouter/anthropic/claude-sonnet-4.6openrouter/xai/grok-4.20-multi-agent-betaModel format: provider/model
openai/gpt-5.4gemini/gemini-3.1-pro-previewopenrouter/anthropic/claude-sonnet-4.6 (nested for OpenRouter)# Estimate before running
yoetz pricing estimate --model gpt-5.4 --input-tokens 12000 --output-tokens 800
# Set limits
yoetz ask -p "Review" --max-cost-usd 1.00 --daily-budget-usd 5.00 --format json
--debug to capture raw responses during troubleshooting--max-output-tokens is too low~/.yoetz/sessions/<id>/yoetz ask -p "Describe" --image photo.png --format jsonConverted and distributed by TomeVault — claim your Tome and manage your conversions.