微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Poyo Claude 4 6 Api

Poyo Claude 4 6 Api · v1.0.1
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
安全 S 级 作者 coolhackboy 公开目录收录
510 下载 0 安装 2.3k 收藏 10 浏览

简介

Poyo Claude 4 6 Api

原始描述

Claude 4.6 Series Messages API on PoYo / poyo.ai via `https://api.poyo.ai/v1/messages`; use for `claude-sonnet-4-6`, `claude-opus-4-6`, Claude-compatible mes...

通过你的 Agent 添加

安装目录:poyo-claude-4-6-api/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/poyo-claude-4-6-api/
Codex CLI~/.codex/skills/poyo-claude-4-6-api/
DeepSeek Harness~/.agents/skills/poyo-claude-4-6-api/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

poyo-claude-4-6-api 是一款专为 PoYo 平台设计的 Claude 4.6 系列模型接入技能,帮助开发者快速构建与 claude-sonnet-4-6、claude-opus-4-6 等模型的对话能力。该技能提供完整的 Messages API payload 构造指南,涵盖同步调用、流式响应、多轮对话、工具定义、结构化输出及提示缓存等高级特性。

使用者可通过 references/api.md 获取详细的端点说明与字段规范,利用 scripts/submit_claude_4_6_messages.sh 在可信服务端环境执行预准备的 JSON payload。技能强调服务器端集成优先,禁止在前端代码或公开仓库中暴露 API 密钥,所有敏感配置均通过 POYO_API_KEY 环境变量注入。

显著优点

该技能的安全实践极为规范:SKILL.md 明确将 API 密钥列为机密信息,强制要求环境变量管理,禁止硬编码、日志打印及截图分享。代码层面仅依赖系统标准工具 curl 和 Bash 内置功能,无第三方依赖包,杜绝了供应链攻击面。脚本启用 set -euo pipefail 严格模式,具备基础错误处理机制,调用外部 API 时使用 TLS 加密传输。

功能设计上,技能覆盖了 Claude Messages API 的完整能力矩阵,包括 vision 内容块解析、工具选择策略配置、输出格式约束以及提示缓存标记,适合需要精细控制模型行为的复杂应用场景。

潜在缺点与局限性

首先,该技能绑定特定第三方平台 PoYo,而非直接对接 Anthropic 官方 API,用户需自行验证 PoYo 的服务稳定性、数据隐私政策及长期运营能力。其次,技能本身为文档与脚本集合,不包含 SDK 级别的类型安全、重试逻辑或连接池管理,生产环境需额外封装。流式响应处理、错误码解析及速率限制应对均需调用方自行实现。

此外,脚本对输入 payload 的 JSON 格式验证有限,格式错误可能导致 API 调用失败。作为个人开发者(T3)发布的社区项目,其长期维护承诺、安全响应流程及版本兼容性保障弱于企业级(T1/T2)来源。

适合的目标群体

本技能适合以下用户:已在 PoYo 平台注册并获取 API 密钥的开发者;需要在服务端快速原型验证 Claude 4.6 能力的工程团队;熟悉 Bash/curl 工具链、偏好轻量集成方案的技术人员;以及希望深入理解 Claude Messages API 字段语义而非依赖高级封装库的研究者。

不适合无服务端部署能力的纯前端开发者,或寻求一键式 SDK 集成、自动重试、多模型负载均衡等企业级特性的用户。

使用风险

供应链风险:PoYo 作为新兴 AI 服务平台,其商业持续性、合规认证及数据处理方式需用户独立尽调。密钥泄露风险:尽管技能强制环境变量管理,但不当的 CI/CD 配置或容器镜像层仍可能导致密钥暴露。网络稳定性:跨境 API 调用可能受网络延迟与波动影响,生产环境需配置超时与降级策略。版本兼容性:Claude 4.6 为特定版本号,未来模型迭代可能导致字段变更,需关注 PoYo 官方文档更新。隐私合规:向第三方平台传输用户对话内容,需确保符合 GDPR、CCPA 等法规的跨境数据传输要求。

技能正文

--- name: poyo-claude-4-6-api description: Claude 4.6 Series Messages API on PoYo / poyo.ai via https://api.poyo.ai/v1/messages; use for claude-sonnet-4-6, claude-opus-4-6, Claude-compatible messages, tools, structured output, prompt cache settings, vision content blocks, streaming, and server-side integration. metadata: {"openclaw":{"homepage":"https://poyo.ai/models/claude-4-6-api","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}

PoYo Claude 4.6 Series Messages

PoYo Links

Use this skill for Claude 4.6 Series requests on PoYo. It helps agents prepare Claude-compatible Messages API payloads, streaming calls, tool definitions, structured output settings, and server-side integration notes.

Use When

  • The user explicitly wants to use PoYo with Claude 4.6, claude-sonnet-4-6, claude-opus-4-6, or the PoYo Claude Messages API.
  • The user asks for a PoYo request payload, server-side curl command, integration notes, streaming setup, tool-use payload, structured-output payload, or response parsing for this model family.
  • The user has already chosen PoYo as the execution provider for a Claude 4.6 workflow.

Model Selection

  • claude-sonnet-4-6: use for Claude Sonnet 4.6 Messages API requests on PoYo.
  • claude-opus-4-6: use when the user explicitly selects the Opus 4.6 variant.

Key Inputs

  • model is required and should be one of the supported Claude 4.6 model ids.
  • messages is required and should contain role and content.
  • max_tokens controls response length.
  • system sets assistant behavior and can be a string or supported content blocks.
  • tools and tool_choice configure tool use when the application can execute tools.
  • output_config can request structured output when supported.
  • cache_control can mark reusable prompt content when supported.
  • stream: true requires streaming-aware client handling.

Security Rules

  • Treat POYO_API_KEY as a secret.
  • Keep PoYo API keys in server-side environment variables or a backend secret manager.
  • Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
  • Do not log private user messages, system prompts, image content, tool inputs, or raw API key headers unless the user or product policy explicitly allows it.
  • Do not use this skill for generic reasoning, coding, summarization, or chat unless the user explicitly wants a PoYo Claude 4.6 API workflow.
  • Do not make live API calls unless the user explicitly asks, confirms the payload should be sent to PoYo, and provides a safe server-side environment.

Execution

  • Read references/api.md for endpoint details, request fields, examples, and response notes.
  • Use scripts/submit_claude_4_6_messages.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
  • If the user only needs a curl example, adapt one from references/api.md.
  • Claude Messages calls are synchronous unless streaming is enabled.

Output Expectations

When helping with Claude 4.6 Series, include:

  • chosen model id
  • final payload or concise parameter summary
  • synchronous or streaming handling
  • system prompt, tools, structured output, and cache settings when relevant
  • response parsing notes if the user needs integration code

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill