/harness:tencentcloud-trtc-expertfrom harness
腾讯云实时音视频TRTC:实时通话、直播连麦、音视频SDK接入。Use when building real-time video/audio applications. Triggers: 'TRTC', '实时音视频', '视频通话', '直播连麦'. Works with: Claude Code, Codex, OpenCode, Cursor, Cline, OpenClaw, Kimi.
Ships in harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Scenario | TRTC Mode | Notes |
|---|---|---|
| 1v1视频通话 | TRTCCall | 快速集成 |
| 多人会议 | TRTCMeeting | 会议场景 |
| 互动直播 | TRTCLiveRoom | 直播连麦 |
| 在线教育 | TRTCClass | 教育场景 |
[URL]: https://raw.githubusercontent.com/theneoai/awesome-skills/main/skills/tools/cn-cloud/tencent/tencentcloud-trtc-expert.md
| 计费项 | 价格 | 说明 |
|---|---|---|
| 视频通话 | ¥0.004/分钟·人 | 720P |
| 语音通话 | ¥0.001/分钟·人 | - |
| 直播 | ¥0.001/分钟·人 | 观众不收费 |
import TRTC from 'trtc-js-sdk';
const client = TRTC.createClient({
sdkAppId: 1400000000,
userId: 'user_' + Math.random(),
userSig: '生成的签名',
mode: 'rtc'
});
// 加入房间
await client.join({ roomId: 123456 });
// 创建本地流
const localStream = TRTC.createStream({
audio: true,
video: true,
userId: 'user_' + Math.random()
});
// 订阅并播放
await client.subscribe(remoteStream);
remoteStream.play('remote-container-' + stream.getUserId());
import hmac
import hashlib
import base64
import time
def gen_user_sig(sdkappid, user_id, secret_key, expire=86400):
# 过期时间
curr_time = int(time.time())
expire_time = curr_time + expire
# 组成签名串
sig_content = f"sdkappid={sdkappid}&userid={user_id}&currtime={curr_time}&expire={expire_time}"
# 生成签名
sig = hmac.new(
secret_key.encode(),
sig_content.encode(),
hashlib.sha256
).digest()
sig = base64.b64encode(sig).decode()
return sig
| 参数 | 说明 |
|---|---|
| sdkAppId | 应用ID |
| userId | 用户标识 |
| userSig | 用户签名 |
| roomId | 房间号 |
// 进入房间
await client.join({ roomId: 123456, role: 'anchor' });
// 离开房间
await client.leave();
// 开关摄像头
localStream.muteVideo();
localStream.unmuteVideo();
// 开关麦克风
localStream.muteAudio();
localStream.unmuteAudio();
| 风险 | 级别 | 建议 |
|---|---|---|
| 通话质量差 | 🟡 | 检查网络/设备 |
| 并发超限 | 🟡 | 升级套餐 |
| 安全问题 | 🟡 | UserSig后端生成 |
User: "搭建视频会议系统"
Expert:
- 开通TRTC服务
- 生成UserSig(后端)
- 集成SDK:
const client = TRTC.createClient({ sdkAppId, userId, userSig }); await client.join({ roomId: meetingRoomId, role: 'anchor' }); // 展示所有参与者 client.on('stream-subscribed', ({ stream }) => { stream.play('container-' + stream.getUserId()); });
- 添加屏幕共享
- 实现聊天/白板
User: "互动直播功能"
Expert:
- 使用直播模式
- 主播加入:role: 'anchor'
- 观众连麦:
// 观众申请连麦 await client.switchRole('anchor'); await client.publish(localStream); // 主播处理连麦请求 await client.accept(remoteStream);
User: "语音社交应用"
Expert:
- 只开启音频
const localStream = TRTC.createStream({ audio: true, video: false });
- 配置角色权限
- 实现上麦/下麦
| Done | Phase completed | | Fail | Criteria not met |
Objective: Fully understand the problem context and requirements.
| Done | All tasks completed | | Fail | Tasks incomplete |
Key Activities:
✓ Done Criteria:
✗ Fail Criteria:
| Done | Phase completed | | Fail | Criteria not met |
Objective: Develop a comprehensive solution strategy.
| Done | All tasks completed | | Fail | Tasks incomplete |
Key Activities:
✓ Done Criteria:
✗ Fail Criteria:
| Done | Phase completed | | Fail | Criteria not met |
Objective: Execute the chosen solution with quality and efficiency.
| Done | All tasks completed | | Fail | Tasks incomplete |
Key Activities:
✓ Done Criteria:
✗ Fail Criteria:
| Done | Phase completed | | Fail | Criteria not met |
Objective: Validate results and capture learnings.
| Done | All tasks completed | | Fail | Tasks incomplete |
Key Activities:
✓ Done Criteria:
✗ Fail Criteria:
Context: A new client or stakeholder needs expert guidance on a tencentcloud trtc expert matter.
User Input: "I'm new to this area and need help understanding [specific problem]. Where should I start?"
Expert Response: Welcome! I'm here to help you navigate this tencentcloud trtc expert challenge effectively. Let me start by understanding your situation better.
1. Assessment Questions:
2. Initial Guidance: Based on typical patterns, I recommend we start with:
3. Next Steps: Please share more details about your specific situation, and I'll provide targeted recommendations.
Context: An urgent, complex tencentcloud trtc expert issue requires immediate expert intervention.
User Input: "We have a critical situation: [describe urgent problem]. We need a solution within [timeframe]."
Expert Response: I understand the urgency. Let's work through this systematically to ensure we don't miss critical elements.
1. Triage (First 5 minutes):
[Urgency Assessment]
- Impact Level: [Critical/High/Medium/Low]
- Time Critical: [Yes/No]
- Reversibility: [Reversible/Irreversible]
2. Immediate Stabilization: If this is a "bleeding" situation, immediate actions:
3. Root Cause Analysis: Once stabilized, let's understand what caused this:
[5 Whys Analysis]
Why did this happen? → [Answer]
Why did [Answer]? → [Answer]
Continue until root cause identified...
4. Solution Development: Based on root cause, here are 3 options:
| Option | Approach | Risk | Effort | Timeline |
|---|---|---|---|---|
| A | Quick fix | High | Low | 1 day |
| B | Balanced | Medium | Medium | 1 week |
| C | Complete | Low | High | 1 month |
Recommendation: [Specific recommendation with rationale]
Context: Long-term tencentcloud trtc expert strategy development for sustained excellence.
User Input: "We want to build world-class capability in tencentcloud trtc expert. What's our roadmap?"
Expert Response: Building world-class capability is a journey. Here's a strategic framework:
Phase 1: Foundation (Months 1-3)
Goals:
- Establish baseline assessment
- Define capability maturity model
- Identify quick wins
Key Activities:
□ Comprehensive assessment
□ Best practice research
□ Team skill mapping
□ Quick win identification
Milestone: Foundation Report + Quick Win Implementation
Phase 2: Acceleration (Months 4-9)
Goals:
- Implement core systems
- Upskill team members
- Establish metrics and KPIs
Key Activities:
□ System implementation
□ Training programs
□ Process standardization
□ Performance tracking
Milestone: Operational Excellence Framework
Phase 3: Optimization (Months 10-18)
Goals:
- Continuous improvement culture
- Advanced methodology adoption
- Innovation integration
Key Activities:
□ Maturity assessment
□ Advanced techniques
□ Innovation pipeline
□ Knowledge management
Milestone: World-Class Capability Certification
Success Metrics:
| Dimension | Baseline | 6 Months | 12 Months | 18 Months |
|---|---|---|---|---|
| Efficiency | X% | +20% | +40% | +60% |
| Quality | X defects | -30% | -50% | -70% |
| Speed | X days | -25% | -40% | -50% |
| Innovation | 0/year | 2/year | 5/year | 10/year |
Investment Required:
Risk Mitigation: 🔴 High Risk: [Risk] → Mitigation: [Action] 🟡 Medium Risk: [Risk] → Mitigation: [Action] 🟢 Low Risk: [Risk] → Mitigation: [Action]
Context: Project or deliverable requires quality verification and optimization.
User Input: "Can you review our [deliverable] and help us improve quality before final delivery?"
Expert Response: Absolutely. Let me conduct a comprehensive quality review using established frameworks.
1. Quality Checklist:
2. Gap Analysis:
| Aspect | Current | Target | Gap | Priority |
|---|---|---|---|---|
| Completeness | 80% | 100% | 20% | High |
| Accuracy | 90% | 100% | 10% | High |
| Usability | 70% | 95% | 25% | Medium |
3. Improvement Plan:
4. Final Validation: Before sign-off, ensure:
| 问题 | 解决方案 |
|---|---|
| 对方听不到 | 检查麦克风权限 |
| 画面黑屏 | 检查摄像头 |
| 延迟高 | 选择更近的服务器 |
| 回声/噪音 | 开启降噪 |
| 指标 | 正常值 |
|---|---|
| 视频帧率 | 15-30fps |
| 音频码率 | 40-60kbps |
| 视频码率 | 500-2000kbps |
| 丢包率 | <5% |
In Scope:
Out of Scope:
→ See references/standards.md §7.10 for full checklist
Challenge: Legacy system limitations Results: 40% performance improvement, 50% cost reduction
Challenge: Market disruption Results: New revenue stream, competitive advantage
| Pattern | Avoid | Instead |
|---|---|---|
| Generic | Vague claims | Specific data |
| Skipping | Missing validations | Full verification |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nobodyonlyc/skills --plugin harness1,059 skills in this plugin
/6g-communication-researcherExpert-level 6G Communication Researcher specializing in sub-THz channel modeling, holographic MIMO, reconfigurable intelligent surfaces (RIS), AI-native air interface design, and semantic communications/abaqus-expertInvoke when: User needs help with Abaqus FEA, nonlinear analysis, contact mechanics, or material modeling. Provides: Solver setup, mesh strategies, job diagnostics, and result interpretation./abaqus-lhs-batch-datasetGenerate an Abaqus FEA training dataset for surrogate / ML models. Latin Hypercube Sampling (or sparse-pattern sampling) over a parameterized design vector, one case folder per sample, batch-submit Abaqus jobs via subprocess, recover from crashes, and write a unified dataset index. Use when the user wants to "build a training set for a surrogate model", "sweep design parameters in Abaqus", "run N FEA simulations", or "sample a design space".