venice-text-routing-d3ep

VeniceTextRouting 专用技能:用于帮助 AI Agent 高效完成与 VeniceTextRouting 相关的任务(按需触发以支持相关工作流)。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "venice-text-routing-d3ep":https://skillpi.com/zh/skills/deepskill-11760617e94a447ef1641bcacafc6117a8267f8306a995fea85e7afb6c254826。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/venice-text-routing-d3ep。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

VeniceTextRouting 专用技能:用于帮助 AI Agent 高效完成与 VeniceTextRouting 相关的任务(按需触发以支持相关工作流)。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: Venicetextrouting
slug: venice-text-routing
version: 1.0.0
displayName: Venicetextrouting
description: >
  VeniceTextRouting专用技能,帮助AI Agent高效完成相关任务。
summary: "VeniceTextRouting专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

Venice Text-Model Routing

This skill encodes the decision logic for "which Venice text model do I call?" — the routing layer that sits above venice-chat (the call surface) and consumes venice-models (the discovery API).

Primary use case: a local agent receives a prompt, decides whether the local model can handle it, and — if not — picks the cheapest Venice model that satisfies the privacy / modality / capability requirements.

Snapshot freshness

Before applying the matrix below, read snapshots/text-routing.json. If the file is missing, or snapshot_date is older than 30 days, run python scripts/refresh_routing.py to regenerate it from GET /models?type=text + GET /models/traits?type=text. Otherwise trust the cached file — do not hit /models on every routing decision.

refresh_routing.py requires VENICE_API_KEY in the environment and rewrites both snapshots/text-routing.json and routing-matrix.md. Run it once on first install, then ~monthly (CI nightly is also fine).

When to load this skill

  • Picking a Venice text model from a prompt at runtime.
  • Building a local-first agent that escalates to Venice for hard prompts.
  • Deciding privacy tier (anonymized vs private vs TEE vs E2EE).
  • Choosing between a trait shortcut (default_reasoning, most_intelligent, …) and a hand-filtered candidate.

For the chat call surface itself, see venice-chat. For raw discovery of every model field, see venice-models.

Privacy tier ladder

Pick the least restrictive tier that satisfies the request — restricting tier shrinks the candidate pool and often raises cost.

Tier Selector Guarantee Use when
Anonymized model_spec.privacy: "anonymized" (no tee- / e2ee- prefix) Venice strips IPs / metadata; the underlying provider (Anthropic, xAI, OpenAI, …) sees the prompt under their privacy policy Default for non-sensitive workloads; only path to certain frontier closed-weights models.
Private model_spec.privacy: "private" (no prefix) Open-weights model self-hosted by Venice; zero data retention; no third party sees the prompt Default for any user data, business logic, or anything you wouldn't paste into ChatGPT.
TEE model id starts with tee- Runs inside Intel TDX / NVIDIA confidential-compute enclave; Venice infrastructure cannot read the prompt; verifiable via GET /api/v1/tee/attestation Regulated data, signed responses required, "Venice itself can't see this."
E2EE model id starts with e2ee- TEE + client-side ECDH (secp256k1) / HKDF-SHA256 / AES-256-GCM; prompt encrypted before leaving the device Strongest. Healthcare, legal, secrets, anything where the wire payload must be opaque. Requires E2EE handshake — see venice-chat.

Sources: docs.venice.ai/overview/privacy, docs.venice.ai/guides/features/tee-e2ee-models.

E2EE is not supported on /responses — route encrypted requests to /chat/completions.

Capability filters

Map prompt requirement → model_spec.capabilities flag (full list in venice-models).

Requirement Filter Notes
Vision (single image) supportsVision: true Single-image vision models drop older images on each turn — chain images into the last user message.
Vision (multiple images) supportsVision && supportsMultipleImages Honor maxImages per request.
Audio input supportsAudioInput: true Audio must be base64; URLs are not accepted.
Video input supportsVideoInput: true Accepts public URLs (incl. YouTube on some providers) or base64.
Reasoning / chain-of-thought supportsReasoning: true If you need to dial effort, additionally require supportsReasoningEffort so reasoning.effort is honored.
Tools / function calling supportsFunctionCalling: true Required for any agent loop.
Code-heavy task optimizedForCode: true ?type=code filter on /models returns only this subset.
Web search (Venice / Brave) supportsWebSearch: true Toggle with venice_parameters.enable_web_search.
X / Twitter search supportsXSearch: true xAI native (Grok models). Adds ~$0.01/search.
Structured JSON output supportsResponseSchema: true Use response_format: {type: "json_schema", ...}.
Large context (≥ 100K tokens) availableContextTokens >= 100000 Pair with prompt_cache_key + cache_input pricing.
Logprobs supportsLogProbs: true Niche — eval / sampling debug.

Cost tiers

The Venice text catalog clusters by per-1M-token price. Buckets below match the size labels documented at docs.venice.ai/models/text. Pick the smallest bucket that hosts a model satisfying your capability filters.

Tier Rough $/1M in Rough $/1M out Use when
XS < $0.20 < $0.40 Classification, intent extraction, simple summarization.
S $0.20 – $1 $0.40 – $2 General chat, basic agents, light vision.
M $1 – $4 $2 – $10 Reasoning at moderate depth, strong code, multi-image vision.
L $4 – $10 $10 – $30 Long context (≥ 200K), heavy reasoning, complex tool use.
Frontier ≥ $10 ≥ $30 Best-available — Claude Opus, GPT-5.x Pro, GLM 5.1 thinking, Grok-4 Heavy. Resolve via trait most_intelligent.

Authoritative per-model pricing lives on model_spec.pricing in snapshots/text-routing.json — never hard-code dollar figures from this prose.

Routing decision tree

Walk top-down. Stop at the first rule that applies.

1. Local-first check
   - Prompt is ≤ ~500 tokens, no special-capability requirement,
     no privacy escalation, no tool calls expected
     → handle on the local model. Do not call Venice.

2. Privacy gate
   - User flagged "private" OR prompt contains regulated data (PHI, secrets, legal):
       require model_spec.privacy === "private"
       OR model id startsWith "tee-" / "e2ee-".
   - User flagged "E2EE" / "must be encrypted in transit":
       require model id startsWith "e2ee-". Skip /responses.
   - User flagged "TEE" / "verifiable inference":
       require model id startsWith "tee-".
   - Otherwise: any tier acceptable (still prefer privacy: "private" when otherwise tied).

3. Modality gate
   - Image input present  → require supportsVision (+ supportsMultipleImages if > 1).
   - Audio input present  → require supportsAudioInput.
   - Video input present  → require supportsVideoInput.

4. Capability gate
   - Tool calls expected               → require supportsFunctionCalling.
   - Code-heavy task                   → prefer optimizedForCode (or call /models?type=code).
   - Chain-of-thought / planning / hard math
                                       → require supportsReasoning;
                                         prefer supportsReasoningEffort to dial reasoning.effort.
   - Structured JSON output required   → require supportsResponseSchema.
   - Web search needed                 → require supportsWebSearch
                                         (or supportsXSearch for X/Twitter content).

5. Context size gate
   - Estimated (prompt + expected output) > availableContextTokens of the candidate
     → bump up to a model with sufficient context. Prefer ones with cache_input pricing.

6. Frontier override
   - User asked for "best", "frontier", "most intelligent", "smartest"
     → resolve trait `most_intelligent` from the snapshot. Skip cost-min step.

7. Cost minimization
   - From surviving candidates, pick the smallest cost tier (XS → S → M → L → frontier).
     Tie-break by lower output $/1M, then lower input $/1M.

8. Sanity filters (apply throughout)
   - Drop model_spec.beta === true unless your key has beta access.
   - Drop model_spec.offline === true.
   - Drop candidates whose model_spec.regionRestrictions exclude the caller.

Trait shortcuts

When the prompt maps cleanly to a named trait, skip the matrix and resolve the trait from the snapshot's traits block (sourced from GET /models/traits?type=text):

Trait Use for
default Generic chat / catch-all.
fastest Latency-critical, low-stakes.
default_reasoning "Think step by step" without specifying a model.
default_code Code generation / refactor / review.
default_vision Vision input, no other special needs.
function_calling_default Agent loops, tool use.
most_intelligent "Best available", frontier override.
most_uncensored Refusal-free / red-team / creative writing without content filtering.

Cache the resolved trait → ID map at session start (one HTTP call) and reuse.

Local-first pattern

For a local agent driving Venice as an "escalation backend":

  1. Score the prompt cheaply (locally):

    • Token count of prompt + expected output.
    • Modality signals (any image / audio / video parts).
    • Keyword signals: "code", "reason", "step by step", "private", "secret", "encrypt", "best", "frontier".
    • User-provided overrides (e.g. --model frontier, --privacy e2ee).
  2. Decide local vs Venice:

    • If estimated tokens ≤ local model's comfort window AND no capability or privacy escalation → stay local.
    • Otherwise → continue to step 3.
  3. Run the decision tree above to pick a Venice model.

  4. Call via venice-chat:

    curl https://api.venice.ai/api/v1/chat/completions \
      -H "Authorization: Bearer $VENICE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "<chosen id>",
        "messages": [...],
        "venice_parameters": {"include_venice_system_prompt": false}
      }'
  5. Cap blast radius: log the chosen model + estimated cost before sending; refuse to escalate beyond the user's --max-cost ceiling.

Examples

Example 1 — local-first wins

Prompt: "Summarize this email in one sentence: …" (~200 tokens)

  • Step 1 → local handles it. Do not call Venice.

Example 2 — privacy + reasoning

Prompt: "Here's our customer churn dataset (PII). Reason about which factors drive churn."

  • Step 2 → privacy gate requires privacy: "private" or tee- / e2ee- prefix.
  • Step 4 → reasoning required → supportsReasoning: true.
  • Step 7 → among private/TEE candidates with reasoning, pick the cheapest.
  • → typically a tee-* reasoning model, or traits.default_reasoning filtered to privacy: "private".

Example 3 — multi-image vision

Prompt: 3 product photos + "Compare these for build quality."

  • Step 3 → supportsVision && supportsMultipleImages && maxImages >= 3.
  • Step 7 → cheapest survivor → typically traits.default_vision.

Example 4 — frontier intelligence on a long doc

Prompt: "Give me your absolute best take on this 50-page legal brief."

  • Step 5 → context size gate triggers (> 100K tokens).
  • Step 6 → frontier override fires (most_intelligent).
  • → resolve traits.most_intelligent (a Claude Opus / GPT-5.x Pro / GLM 5.1 family ID, depending on the snapshot).

Example 5 — code agent with tools

Prompt: "Refactor this repo. You have shell + edit tools."

  • Step 4 → supportsFunctionCalling && optimizedForCode.
  • Step 7 → cheapest survivor → traits.default_code if it also supports tools, else traits.function_calling_default filtered by optimizedForCode.

Future extensions

A scripts/route.py CLI may be added later for runtimes that prefer structured output (route.py --prompt '...' --max-cost 0.001 --need-vision → {"model_id": "...", "estimated_cost": ..., "tier": "..."}). The prose decision tree above remains the source of truth.

Sibling routing skills (venice-image-routing, venice-audio-routing, venice-video-routing) can mirror this layout when needed.

Gotchas

  • Don't hard-code model IDs. Venice rolls models monthly — resolve via traits or filters against the snapshot.
  • Stale snapshot lies silently. The 30-day rule is the floor; refresh sooner if you hit a 404 on a model ID.
  • Privacy ≠ uncensored. most_uncensored and privacy: "private" are independent axes.
  • enable_e2ee defaults to true on E2EE-capable models when the right headers are present — see venice-chat. The routing decision selects the model; the chat skill drives the handshake.
  • Beta / offline models in the snapshot. Filter out model_spec.beta === true (unless your key has beta access) and model_spec.offline === true before scoring.
  • Region restrictions. model_spec.regionRestrictions[] returns 403 outside the listed countries — drop those candidates if your caller is outside.
  • Trait keys differ by type. Always pass ?type=text. Don't reuse image traits.

See also

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值90/100

亮点

  • Skill 提供了 Venice AI 平台文本模型路由的完整决策逻辑,适用于本地代理与 Venice 模型之间的智能调度
  • 覆盖了隐私层级、能力过滤、成本优化等关键维度,具备高实用价值
  • 适用于构建本地优先的智能代理系统,提升任务处理效率
触发精准75/100

待提升项

  • description 内容截断 原报告严重程度:轻微

    顶层 frontmatter 中的 description 字段内容被截断,仅显示 'VeniceTextRouting专用技能,帮助AI Agent高效完成相关任务。',而 skill_body 中有更完整的描述

    改进建议:建议将完整的描述内容补充到顶层 frontmatter 的 description 字段中,确保触发信息完整

亮点

  • skill_body 中的 description 提供了详细的触发场景说明,包括模型选择、隐私层级判断等
结构规范85/100

待提升项

  • 引用文件缺失 原报告严重程度:轻微

    SKILL.md 中引用了多个外部文件如 snapshots/text-routing.json、routing-matrix.md、scripts/refresh_routing.py 等,但未在传入内容中提供

    改进建议:建议补充这些被引用的文件,或明确说明这些文件将在运行时生成/获取

亮点

  • 文档结构清晰,包含完整的决策树、隐私层级、能力过滤等章节
  • 提供了多个实际示例,便于理解和使用
  • frontmatter 信息完整,包含版本、许可证、分类等必要信息
执行可靠80/100

待提升项

  • 外部依赖未明确说明 原报告严重程度:轻微

    Skill 依赖 VENICE_API_KEY 环境变量和外部 API 调用,但未在文档中明确说明如何获取和配置

    改进建议:建议补充环境变量配置说明和 API 访问权限要求

亮点

  • 提供了完整的路由决策逻辑和异常处理建议
  • 包含了快照更新机制和缓存策略,确保数据时效性
  • 明确了各种边界条件和限制因素
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • api.venice.ai
  • docs.venice.ai
  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。