← Back to Skills Marketplace
80
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install auto-skill-20260404-063632
Description
API问题对抗讨论求解器 - 4模型线性对抗找出最优解
README (SKILL.md)
API问题对抗讨论求解器
概述
当遇到复杂的API问题时,使用4模型线性对抗找出最优解:
- 架构师:问题诊断+方案设计
- 审核者:质疑风险+建议验证
- 仲裁者:综合判断+最终决策
- 收敛者:找共同点+整理输出
使用场景
- API调用失败需要诊断
- 多个解决方案需要选择最优
- 需要多个角度分析问题
本次应用案例
问题描述
API Key验证失败,请求超时
诊断过程
Step 1: 网络诊断
- ping测试:208ms延迟,3包全收 ✅
- HTTPS请求:超时(30秒无响应)❌
Step 2: 配置检查
- base_url: coding.dashscope.aliyuncs.com/v1 ✅
- API Key格式: sk-sp-xxxxx ✅
Step 3: 降级方案
- 当前会话fallback模式 ✅
最优解
网络诊断 → 有限重试 → 模拟降级
代码实现
线性对抗引擎
# 4模型线性排列
models = [
{"角色": "架构师", "延迟": 5},
{"角色": "审核者", "延迟": 5},
{"角色": "仲裁者", "延迟": 8},
{"角色": "收敛者", "延迟": 0},
]
# 依次发言,记录回复,最终收敛
for model in models:
response = call_model(model)
save_cache(response)
time.sleep(model["延迟"])
教训总结
- base_url必须匹配API类型(Coding Plan用专用URL)
- 网络层正常不代表应用层正常
- 需要降级机制保证可用性
相关文件
- modules/linear_adversarial_4model.py - 线性对抗引擎
- tests/test_basic.py - 单元测试
- memory/api_debate_analysis_20260404.txt - 对抗分析报告
生成时间: 2026-04-04 作者: 海狸 🦫
Usage Guidance
This skill appears to describe a plausible debugging workflow, but there are unexplained gaps: SKILL.md mentions modules and memory files that are not included, and it references a specific API endpoint and API-key format while declaring no required credentials. Before installing or using it: (1) ask the publisher for the missing code files or an explanation of where call_model/save_cache operate; (2) do not provide API keys or secrets until you confirm how and where they will be used/stored; (3) prefer running the workflow in a sandboxed environment; (4) request a homepage or source repo to inspect actual implementation; and (5) if you need to trust this skill, insist that it explicitly declare required environment variables and storage locations so you can assess credential exposure.
Capability Assessment
Purpose & Capability
The skill claims to perform a 4-model linear adversarial analysis for API debugging — the prose and pseudocode in SKILL.md are consistent with that purpose. However, it references an explicit base_url (coding.dashscope.aliyuncs.com/v1) and an API key format (sk-sp-xxxxx) that imply integration with an external API/service even though the skill declares no required environment variables or credentials. This mismatch is unexplained.
Instruction Scope
Instructions include logical runtime steps (ping, HTTPS request, configuration checks, invoking call_model, save_cache). They do not explicitly instruct the agent to read arbitrary system files or exfiltrate data, but they reference saving cache and named files (modules/linear_adversarial_4model.py, memory/api_debate_analysis_20260404.txt) that are not present in the bundle. It's unclear where saved data is written or what 'call_model' targets — this gives the agent discretionary I/O/network behavior that isn't fully specified.
Install Mechanism
This is an instruction-only skill with no install spec and no code files included, so nothing is written to disk or installed by the skill itself. That minimizes installation risk.
Credentials
No environment variables or credentials are declared, yet the documentation mentions a concrete base_url and an API key pattern. If the skill is intended to call an external API, the absence of declared required credentials is a proportionality/information mismatch: users might be prompted later to supply secrets or store them in unspecified locations. The skill does not ask for broad system credentials, but the missing explicit credential handling is a concern.
Persistence & Privilege
always is false and there are no special persistence or cross-skill configuration changes declared. The skill does reference saving cache and a memory file name, but those are internal references in the docs; the package does not request persistent privileges or system-wide changes.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install auto-skill-20260404-063632 - After installation, invoke the skill by name or use
/auto-skill-20260404-063632 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of api-debate-solver (v1.0.0).
- Implements 4-model linear adversarial process for API problem solving.
- Supports diagnosis and solution optimization for API failures, including network and configuration checks.
- Includes fallback mode for degraded operation.
- Provides sample code for linear process orchestration.
- Adds documentation and basic unit tests.
Metadata
Frequently Asked Questions
What is Auto Skill 20260404 063632?
API问题对抗讨论求解器 - 4模型线性对抗找出最优解. It is an AI Agent Skill for Claude Code / OpenClaw, with 80 downloads so far.
How do I install Auto Skill 20260404 063632?
Run "/install auto-skill-20260404-063632" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Auto Skill 20260404 063632 free?
Yes, Auto Skill 20260404 063632 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Auto Skill 20260404 063632 support?
Auto Skill 20260404 063632 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Auto Skill 20260404 063632?
It is built and maintained by Timo2026 (@timo2026); the current version is v1.0.0.
More Skills