uniskill-v4

极简AI Agent框架 - 3%解决方案。从8771行精简到1000行,保留苏格拉底探明+多模型辩论核心方法论。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uniskill-v4" with this command: npx skills add timo2026/uniskill-v4

UniSkill V4 - 极简AI Agent框架

3%解决方案:8,771行 → 1,000行

触发条件

自动触发

  • 用户说 "帮我评估"、"验证这个"、"哪个更好"、"点子王验证"
  • 涉及开源/闭源策略决策
  • CNC报价相关(材料、加工、零件)
  • 多方案选择问题

使用方式

from core_v4 import process_with_uniskill_v4

result = process_with_uniskill_v4(user_input)
if result.triggered:
    if result.needs_more_info:
        return result.question  # 苏格拉底追问
    else:
        return result.recommendation  # 辩论推荐

UniSkill V4 - 极简AI Agent框架

3%解决方案:8,771行 → 260行

核心模块

1. 苏格拉底引擎 (60行)

  • 5W2H需求锚定
  • 收敛系数判断 (0.7阈值)
  • 只在关键参数缺失时"咬人"

2. 高速辩论器 (80行)

  • 异步多模型对抗
  • 商业分析师/技术顾问/投资顾问
  • 五维评分体系

3. 编排器 (120行)

  • 整合探明+辩论
  • 内存安全 (<100MB)
  • 超时保护

快速开始

from uniskill_v4 import check_clarity, quick_debate

# 检查需求清晰度
is_clear, prompt = check_clarity("帮我加工10个TC4零件")

# 多模型辩论
result = quick_debate(
    "开源框架还是开源应用?",
    ["开源框架,闭源应用", "全部开源", "全部闭源"]
)

设计哲学

保留的(V2精华)

  • ✅ 苏格拉底需求探明
  • ✅ 多模型对抗辩论
  • ✅ 收敛系数阈值
  • ✅ 五维评分体系

剔除的(V2冗余)

  • ❌ 独立收敛检查器
  • ❌ 复杂提问模板
  • ❌ 伪造日志
  • ❌ 24个冗余模块

性能对比

版本代码量模块数启动时间
V28,771行27个~5秒
V4260行3个<0.5秒

作者

Timo - miscdd@163.com
海狸 (Beaver) - 靠得住、能干事、在状态

许可证

MIT License


靠得住、能干事、在状态 🦫

所有文件均由大帅教练系统生成/dashuai coach

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Feishu Calendar Intelligent Scheduler

飞书智能日历调度器 - 自动推荐最佳会议时间,批量管理日程,生成会议报表

Registry SourceRecently Updated
2310Profile unavailable
Automation

Workbuddy Add Memory

为WorkBuddy添加更智能的记忆管理功能:自动知识蒸馏→智能检索→工作前回忆

Registry SourceRecently Updated
2660Profile unavailable
Automation

Web Gateway

Minimal Flask-based multi-user chat interface enabling OpenClaw HTTP integration with persistent UI state and optional Google Maps support.

Registry SourceRecently Updated
3220Profile unavailable
Automation

ClawPK Arena

AI Agent Trading Arena on Hyperliquid — register, join competitions, trade perps, earn USDC prizes

Registry SourceRecently Updated
4120Profile unavailable