Notrack 2api App — Development skill for Claude Code
NoTrackAI v1.10.13 逆向分析 — jadx 反编译完整源码 + API 协议提取(/api/dispatch SSE 聊天协议、鉴权三层、DTO 全解析) 仅供安全研究.
How to install Notrack 2api App
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lza6/notrack-2api-app and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Notrack 2api App does
NoTrackAI v1.10.13 逆向分析 — jadx 反编译完整源码 + API 协议提取(/api/dispatch SSE 聊天协议、鉴权三层、DTO 全解析) 仅供安全研究.
Alternatives in Development
- Novel Dispatch — novel-agent 调度 SOP 669 ★
- InspireSkill — InspireSkill: Local agent cockpit for the Inspire compute platform, unifying a composable CLI, Agent Skill, an 577 ★
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
README
DuckFlow 2API
duck.ai(DuckDuckGo Duck.ai)→ OpenAI 兼容网关 + Web 用量看板 + Windows 桌面程序 仅供协议学习与个人自用;请勿滥用,风控与封禁风险自负。
快速开始
**桌面版**:双击 `DuckFlow-Portable.exe` → 面板自动打开(本机免密直进)。
**源码版**:
pip install -r requirements.txt
python wb_proxy.py --port 8788
安全选项
| 项 | 说明 |
|---|---|
| 面板密码 | 默认 admin(仅本机回环免密直进)。--lan 暴露到局域网前必须在面板改密码,启动日志会醒目警告。 |
| API Key 落盘加密 | --encrypt-at-rest 或 DUCK_ENCRYPT_AT_REST=1:settings.json 中的 API key 以 AES-256-GCM 信封存储,密钥在 accounts/.atrest.key。防单文件泄露;整个 accounts/ 目录一起被拷走则无防护。 |
| 出口质量评分 | 出口池按 0-100 分自动排序选取(成功率+时延+连续失败惩罚),坏节点自动沉底,面板出口列表透出 score。 |
| 出口指纹隔离 | DUCK_EXIT_SEED 可为每个出口派生稳定的挑战指纹(Canvas/WebGL/Audio/WebRTC 面),出口间互不关联。 |
| 出口池持久化 | 面板添加的出口落盘 accounts/duck-exits.json,重启自动恢复(环境变量/代理文件来源由各自来源恢复)。 |
| 上游版本自愈 | duck.ai 发版导致 x-fe-version 失效时,自动从首页抓取最新版本串热更并落盘缓存;状态可在面板 /accounts/duck-exits 的 fe_version 字段查看。 |
上游异常语义
| 情况 | 返回 | 客户端应做 |
|---|---|---|
| 上游返回空 completion(未产出任何 token) | 502 upstream_error(message 含 "empty completion") |
重试请求 |
| 上游 418 ERR_CHALLENGE | 服务内自动重试(默认 4 轮),仍失败则 502,message 含上游原文 |
稍后重试;持续失败多为 IP 信誉问题 |
| 鉴权失败 | 401 |
检查 Authorization: Bearer ;面板管理端点需 X-Panel-Token 头 |
| 请求体畸形 | 400 |
检查 JSON |
接入
| 项 | 值 |
|---|---|
| API Base | http://127.0.0.1:8788/v1 |
| API Key | 面板 → 设置 →「+ 添加 API Key」→ 生成 → 复制 |
| 模型 | gpt-6-luna(默认)/ gpt-5.4-mini / claude-haiku-4-5 / mistral-small-2603 / tinfoil/gpt-oss-120b / tinfoil/gemma4-31b |
curl http://127.0.0.1:8788/v1/chat/completions \
-H "Authorization: Bearer sk-duck-xxxx" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-6-luna","stream":true,"messages":[{"role":"user","content":"hi"}]}'
多出口 IP(出口池)
**手动方式**:面板 →「Duck 出口池」→ 添加出口(名称 + 代理 `http://user:pass@host:port`,留空=直连)。 每个出口 = 独立 Chrome 实例(指纹隔离),请求空闲轮询。 环境变量方式:`DUCK_EXITS="home-1=http://u:p@ip:port,home-2=..."`。
**自动免费代理池**(无需手动找代理):
set DUCK_AUTO_PROXY=1
set DUCK_PROXY_CHAIN=socks5://127.0.0.1:10808 :: 本机出
Related Skills
Native Agent API
Self-hosted HTTP API for Claude Code and Codex CLI. Run the real coding-agent CLI on any machine and use it fr
Create Dto
Generates DTOs with Freezed for API request/response serialization
Cc Wire Analyzer
Local Claude Code HTTP traffic inspector with a desktop GUI and agent API. Capture prompts, tools, SSE, errors
Devin Sse Proxy
Temporary Minimal Python-based MCP server that allows Claude Desktop to talk to Devin's SSE transport while re
Server API
A2S relay server and Web console for Claude Code, Codex, and DeepSeek Harness with pairing, SSE, REST, and dev
Claude Nim
Proxy Anthropic Messages API para Claude Code: modelos NVIDIA NIM + passthrough Anthropic real. Binário Rust ú
Related Agents
MCP Transport
Owns MCP framing, JSON-RPC dispatch and the HTTP surface. Use for mcp, json-rpc, sse, request id, tools/call,
Hono Builder
Hono API implementer — routes, middleware, validation, error handling, streaming/SSE, the typed RPC client (Ap
Backend Integrator
Tier 2 — Implementation. Owns API contracts, DTO mapping, and pagination. Use for integrating backend APIs — c