googletranslate-debug
排查翻译失败 / 慢 / 限流 / 多 Key 切换 / 熔断,用 X-Trace-Summary、/v1/traces、/metrics 定位。
Skill by lza6
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lza6-googletranslate-debug
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/googletranslate-debug
What's inside
- Skill name
googletranslate-debug- Description
- 排查翻译失败 / 慢 / 限流 / 多 Key 切换 / 熔断,用 X-Trace-Summary、/v1/traces、/metrics 定位。
- License
- Apache-2.0
- Instructions
- 11 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 调试
- **先看链路摘要**:非流式响应头 `X-Trace-Summary: cache=... upstream=... 123ms key=<hash> retries=...`;流式拿 `X-Trace-Id` 后 `GET /v1/traces/{id}`。
- **502 上游错误**:`upstream=403/400` -> key 失效,检查轮换;`upstream=429` -> 配额,看重试/冷却;`upstream=5xx` -> 上游抖动,重试已兜底。
- **429**:`RATE_LIMIT_ENABLED` 开启时按 IP+key 限流,响应含 `Retry-After`;上游 429 会走多 Key 切换 + 退避。
- **熔断 503**:`/ready` 503,观察连续失败;失败恢复后自动闭合。
- **多 Key**:`GOOGLE_API_KEYS="k1,k2"` 自动切换;`/metrics` 的 `translate_key_switches_total` / `translate_upstream_errors_by_key_hash_total{code}` 定位坏 key(只暴露哈希)。
- **慢**:压测参考 `docs/loadtest-2026-09-22.md`;调 `HTTPX_MAX_CONNECTIONS` / 多 worker / 多 key;生产取消彩色日志(`LOG_FORMAT=json`)。
- **完全不通**:`/health` 是否 200、启动日志是否有弱 key 告警/占位符拒启。From lza6/googletranslate-2api, Apache-2.0.
More from lza6/googletranslate-2api
- 0.608score
googletranslate-extend
lza6
扩展 googletranslate-2api(新端点/多模态/新 SKILL)的规范:先分析后实施、TDD、真实验收、按主题提交。
SkillBFreshness: B★ 49Claude Code +9 - 0.608score
googletranslate-use
lza6
用 curl / OpenAI SDK / Cherry Studio 调用翻译 API(流式/非流式/批量/语言检测),含认证与错误码。
SkillBFreshness: B★ 49Claude Code +9 - 0.605score
googletranslate-install
lza6
一条命令安装并启动 googletranslate-2api(Windows 优先),校验密钥后验证 /health。
SkillBFreshness: B★ 49Claude Code +9
Signals
- Stars
- 49
- Forks
- 19
- Open issues
- 1
- Last commit (this folder)
- Sep 21, 2026 (1 month ago)
- Last release
- Sep 22, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/lza6/googletranslate-2api
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lza6
- 0.608score
googletranslate-extend
lza6
扩展 googletranslate-2api(新端点/多模态/新 SKILL)的规范:先分析后实施、TDD、真实验收、按主题提交。
SkillBFreshness: B★ 49Claude Code +9 - 0.608score
googletranslate-use
lza6
用 curl / OpenAI SDK / Cherry Studio 调用翻译 API(流式/非流式/批量/语言检测),含认证与错误码。
SkillBFreshness: B★ 49Claude Code +9 - 0.605score
googletranslate-install
lza6
一条命令安装并启动 googletranslate-2api(Windows 优先),校验密钥后验证 /health。
SkillBFreshness: B★ 49Claude Code +9 - 0.472score
agent-orchestrator
lza6
通过自主子代理编排复杂任务。将宏观任务分解为子任务,生成带有动态 SKILL.md 文件的专用子代理,协调基于文件的通信,整合结果,并在完成后解散代理。强制触发词:orchestrate (编排), multi-agent (多代理), decompose task (分解任务), spawn agents…
SkillDFreshness: D★ 8Claude Code +9 - 0.470score
architecture-designer
lza6
架构设计师 - 适用于设计新系统架构、审查现有设计或做出架构决策。用于系统设计、架构审查、设计模式、架构决策记录(ADR)、可扩展性规划。
SkillDFreshness: D★ 8Claude Code +9 - 0.470score
architecture-patterns
lza6
架构模式 - 后端架构模式,用于构建可维护、可测试的系统:整洁架构、六边形架构和领域驱动设计。适用于设计新后端系统、重构单体、建立架构标准、创建可测试代码库或规划微服务分解。
SkillDFreshness: D★ 8Claude Code +9
Cite this page
googletranslate-debug skill. Agent Mart. https://agentmart.dev/skills/lza6-googletranslate-debug (last updated 2026-10-24)