[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77W2YS1XJPRMT0CRGC82RW6":3,"skill-same:01M77W2YS1XJPRMT0CRGC82RW6":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77W2YS1XJPRMT0CRGC82RW6","team-discuss",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Fteam-discuss\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Team-Discuss Skill\n\nMulti-agent collaborative discussion tool for efficient collaboration and alignment.\n\n## Features\n\n- **Multi-round discussions**: Automatic progression until consensus or round limit\n- **Dialectical logic**: Automatic citation detection, fallacy identification, argument quality assessment\n- **Random speaking order**: Eliminates first-mover advantage\n- **Shared state**: File-based persistence with concurrent access support\n- **Real agent integration**: Call real sub-agents via sessions_spawn\n\n## Use Cases\n\n1. **Technology selection discussions** - SQLite vs PostgreSQL, React vs Vue, etc.\n2. **Architecture design reviews** - Multi-role collaboration (architect, frontend, backend, tester)\n3. **Product decision making** - Feature prioritization, UX trade-offs\n4. **Philosophical debates** - Free will vs determinism, ethics in AI, consciousness theories\n5. **Scientific controversies** - Interpretations of quantum mechanics, origins of life\n6. **Policy analysis** - Economic strategies, environmental policies, social reforms\n7. **Creative collaborations** - Story plot decisions, character development, artistic direction\n8. **Any topic requiring multi-perspective analysis**\n\n## Quick Start\n\n### 1. Create Discussion\n\n```python\nfrom core import SharedStore, DiscussionOrchestrator\nfrom models import Discussion, DiscussionConfig, Participant, AgentRole\n\n# Initialize\nstore = SharedStore(base_dir=\".\u002Fdiscussions\")\norchestrator = DiscussionOrchestrator(store)\n\n# Create discussion\ndiscussion = Discussion(\n    id=\"my-discussion-001\",\n    topic=\"Which storage layer should we use?\",\n    description=\"SQLite vs PostgreSQL technology selection\",\n    max_rounds=3,\n    config=DiscussionConfig(consensus_threshold=0.75),\n    participants=[\n        Participant(agent_id=\"architect\", role_id=AgentRole.ARCHITECT),\n        Participant(agent_id=\"backend\", role_id=AgentRole.DEVOPS),\n    ]\n)\n\nstore.create_discussion(discussion)\n```\n\n### 2. Define Agent Callbacks\n\n```python\nasync def agent_callback(discussion_id, round_num, previous_messages):\n    # Build prompt\n    prompt = build_prompt(round_num, previous_messages)\n    \n    # Call real agent\n    response = await sessions_spawn(\n        runtime=\"subagent\",\n        agentId=\"architect\",\n        mode=\"run\",\n        task=prompt\n    )\n    \n    return response, MessageType.PROPOSAL\n\ncallbacks = {\n    \"architect\": agent_callback,\n    \"backend\": agent_callback,\n}\n```\n\n### 3. Run Discussion\n\n```python\n# Run discussion\nresult = await orchestrator.run_discussion(discussion.id, callbacks)\n\n# View results\nprint(f\"Status: {result.status}\")\nprint(f\"Rounds: {result.current_round}\")\nprint(f\"Consensus: {result.consensus_level}\")\n```\n\n## Dialectical Logic\n\n### Automatic Detection\n\n```python\nfrom core import DialecticEngine\n\ndialectic = DialecticEngine()\nanalysis = dialectic.analyze_message(message, previous_messages)\n\nprint(f\"Quality: {analysis.quality}\")  # strong\u002Fmoderate\u002Fweak\u002Ffallacious\nprint(f\"Score: {analysis.score}\")\nprint(f\"Citation: {analysis.has_citation}\")\nprint(f\"Fallacies: {analysis.fallacies}\")\n```\n\n### Detected Fallacy Types\n\n- `ad_hominem` - Personal attack\n- `straw_man` - Straw man fallacy\n- `false_dichotomy` - False dilemma\n- `hasty_generalization` - Hasty generalization\n- `appeal_to_authority` - Appeal to authority\n- `slippery_slope` - Slippery slope\n\n## Bias Prevention Mechanisms\n\n### 1. Random Speaking Order\n\n```python\n# First round random shuffle, subsequent rounds rotate\norder = coordinator.determine_speaking_order(\n    participants,\n    SpeakingOrder.ROUND_ROBIN\n)\n```\n\n### 2. Mandatory Citation\n\nFrom round 2, agents must cite opponent's original words:\n\n```\nI disagree with @architect's view:\n> \"Choosing PostgreSQL is not premature optimization\"\n\nThis statement is misleading...\n```\n\n### 3. Devil's Advocate\n\nAssign an agent to play devil's advocate:\n\n```python\n# Assign tester as Devil's Advocate\n# Even if they agree internally, they must defend the minority position\n```\n\n## Project Structure\n\n```\nteam-discuss\u002F\n├── src\u002F\n│   ├── core\u002F\n│   │   ├── shared_store.py      # Shared state storage\n│   │   ├── orchestrator.py      # Multi-round orchestrator\n│   │   ├── dialectic.py         # Dialectical logic engine\n│   │   └── coordinator.py       # Coordinator logic\n│   ├── agents\u002F\n│   │   └── bridge.py            # Agent bridge\n│   └── models.py                # Data models\n├── examples\u002F\n│   └── run_real_discussion.py   # Real discussion example\n└── tests\u002F\n    └── test_integration.py      # Integration tests\n```\n\n## Configuration Options\n\n### DiscussionConfig\n\n```python\nDiscussionConfig(\n    max_rounds=5,                    # Maximum rounds\n    min_rounds_before_consensus=2,   # Minimum rounds before consensus\n    consensus_threshold=0.75,        # Consensus threshold (75% agreement)\n    token_budget=50000,              # Token budget\n)\n```\n\n### Speaking Order\n\n```python\nSpeakingOrder.FREE           # Free speaking (random)\nSpeakingOrder.ROUND_ROBIN    # Round robin (recommended)\nSpeakingOrder.ROLE_BASED     # Role-based priority\n```\n\n## Examples\n\n### Technology Selection Discussion\n\n```bash\n# Run example\ncd \u002Froot\u002F.openclaw\u002Fworkspace\u002Fdata\u002Fprojects\u002Fteam-discuss\npython3 examples\u002Frun_real_discussion.py\n```\n\n### Philosophical Debate Example\n\n```python\n# Create a philosophical discussion\ndiscussion = Discussion(\n    id=\"philosophy-debate-001\",\n    topic=\"Does free will exist, or is everything determined?\",\n    description=\"Philosophical debate on free will vs determinism\",\n    max_rounds=3,\n    participants=[\n        Participant(agent_id=\"philosopher1\", role_id=AgentRole.REVIEWER),\n        Participant(agent_id=\"scientist\", role_id=AgentRole.ARCHITECT),\n        Participant(agent_id=\"skeptic\", role_id=AgentRole.TESTER),\n    ]\n)\n```\n\nPhilosophical debates benefit from:\n- **Dialectical logic** - Detects logical fallacies common in abstract reasoning\n- **Mandatory citation** - Ensures philosophers engage with specific arguments\n- **Multi-round structure** - Allows deep exploration of complex concepts\n\nSample output:\n```\n🔄 Round 1 started\n💬 @architect (Architect):\n   I support using PostgreSQL...\n   📊 Quality: moderate (70.0 points)\n\n💬 @backend (Backend Dev):\n   I support using SQLite...\n   📊 Quality: moderate (60.0 points)\n\n✅ Round 1 ended\n\n🔄 Round 2 started\n💬 @architect:\n   Responding to @backend:\n   > \"Premature optimization is the root of all evil\"\n   This statement confuses...\n   📊 Quality: strong (85.0 points)\n   📌 Citation: ✓\n\n✅ Round 2 ended\n\n✓ Discussion completed!\nFinal status: max_rounds_reached\nConsensus level: partial\n```\n\n## Best Practices\n\n### 1. Topic Design\n\n- Clear, specific, debatable\n- Avoid overly broad topics (e.g., \"what's the best technology\")\n- Provide necessary context\n\n### 2. Agent Selection\n\n- Cover different perspectives (architecture, dev, test, product)\n- Avoid homogeneity (don't use all backend devs)\n- Consider adding Devil's Advocate\n\n### 3. Round Settings\n\n- Simple topics: 2-3 rounds\n- Complex topics: 5 rounds\n- Set `min_rounds_before_consensus` to prevent premature convergence\n\n### 4. Result Interpretation\n\n- `CONSENSUS_REACHED` - Consensus reached, can execute directly\n- `MAX_ROUNDS_REACHED` - Requires human judgment\n- `COMPLETED` - Discussion ended naturally\n\n## Troubleshooting\n\n### Agent Not Responding\n\n```python\norchestrator = DiscussionOrchestrator(\n    store=store,\n    response_timeout=180  # Increase timeout\n)\n```\n\n### Version Conflicts\n\nShared storage uses optimistic locking, automatically retries on conflict.\n\n### Storage Location\n\n```python\nstore = SharedStore(base_dir=\"\u002Fpath\u002Fto\u002Fdiscussions\")\n```\n\n## Extension Development\n\n### Custom Agent Bridge\n\n```python\nclass MyAgentBridge:\n    async def generate_response(self, ...):\n        # Custom calling logic\n        pass\n```\n\n### Custom Dialectic Rules\n\n```python\nclass MyDialecticEngine(DialecticEngine):\n    def _detect_fallacies(self, content):\n        # Add custom fallacy detection\n        pass\n```\n\n## Related Links\n\n- Project path: `\u002Froot\u002F.openclaw\u002Fworkspace\u002Fdata\u002Fprojects\u002Fteam-discuss`\n- Example code: `examples\u002Frun_real_discussion.py`\n- Integration tests: `tests\u002Ftest_integration.py`\n\n## Version History\n\n- v0.1.0 - Basic features: shared storage, multi-round orchestration, dialectical logic\n- v0.2.0 - Real agent integration (sessions_spawn)\n- v0.3.0 - CLI interface, Web UI (planned)\n\n## Roadmap\n\n### Coming Soon\n\n| Feature | Status | Description |\n|:---|:---:|:---|\n| **Devil's Advocate** | 🚧 In Development | Auto-assign minority role, ensure opposition voices heard |\n| **Stance Change Rewards** | 🚧 In Development | Reward agents for rationally changing position |\n| **CLI Interface** | 📋 Planned | Command-line tool for creating\u002Fviewing\u002Fmanaging discussions |\n| **REST API** | 📋 Planned | HTTP API for remote calls |\n| **Web UI** | 📋 Planned | Visual discussion dashboard |\n\n### Release Plan\n\n- **v0.2.1** - Devil's Advocate + Stance Change Rewards\n- **v0.3.0** - CLI Interface + REST API\n- **v0.4.0** - Web UI Dashboard\n\n> 📦 Published to [clawhub.com](https:\u002F\u002Fclawhub.com)\n\n---\n\n## 中文简介\n\n**Team-Discuss** 是一个多 Agent 协作讨论工具，支持多轮迭代、辩证逻辑分析、随机发言顺序等特性，帮助团队高效对齐方案。\n\n### 核心功能\n\n- ✅ 多轮讨论，自动推进\n- ✅ 辩证逻辑，检测论证质量\n- ✅ 随机发言顺序，消除偏向性\n- ✅ 共享状态，持久化存储\n- ✅ 真实 Agent 集成\n\n### 快速开始\n\n```bash\ncd \u002Froot\u002F.openclaw\u002Fworkspace\u002Fdata\u002Fskills\u002Fteam-discuss\npython3 example.py\n```\n\n### 项目路径\n\n```\n\u002Froot\u002F.openclaw\u002Fworkspace\u002Fdata\u002Fprojects\u002Fteam-discuss\u002F\n```\n\n### 即将发布\n\n- 🚧 Devil's Advocate 机制\n- 🚧 立场变更奖励\n- 📋 CLI 接口\n- 📋 REST API\n- 📋 Web UI 仪表盘\n\n> 📦 已发布到 [clawhub.com](https:\u002F\u002Fclawhub.com)\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Fteam-discuss",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill team-discuss",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill team-discuss",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill team-discuss","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Fteam-discuss\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]