ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

trtc-config-inspector

TRTC SDK configuration inspection and analysis tool. Downloads scene config template Excel, inspection result Excel, and project code from user-provided URLs, compares inspection results against target scene configurations, locates TRTC parameters in source code, and generates a structured modification report. The AI Agent then applies code changes based on the report. Supports live streaming, voice chat room, video call, and other scenarios. Triggers: TRTC config inspection, compare config and modify code, optimize TRTC scene configuration

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/cwlvincent/trtc-config-inspector
Or

TRTC Config Inspector

Compares TRTC scene configuration templates against inspection results, generates a structured diff report, and guides the AI Agent or user to adjust source code accordingly.

Description

This skill implements TRTC SDK configuration inspection analysis and modification suggestion generation:

  1. Download Resources: Download scene config template Excel, inspection result Excel, and project code archive from user-provided URLs
  2. Parse & Compare: Parse both Excel files, compare current configuration against target configuration item by item
  3. Locate Code: Find corresponding TRTC API call sites in the project source code
  4. Generate Modification Plan: Output structured modification suggestions (JSON format) including target values, code locations, and change recommendations for each diff item
  5. Output Report: Generate a diff summary table; the AI Agent then uses code editing tools to apply the changes

Note: The scripts themselves do not modify any user code. They only generate analysis reports and modification suggestions. Actual code changes are performed by the AI Agent using standard code editing tools (e.g., replace_in_file), and the user can review each modification step.

When To Use

Trigger this skill when the user makes requests like:

  • "Help me modify the code based on this inspection result and live streaming config"
  • "Download these files and optimize code according to the TRTC config template"
  • "Compare TRTC inspection config and modify code per the template"
  • "Check if TRTC SDK config meets the scene requirements"
  • User provides scene config Excel (scene_config_.xlsx) and/or inspection result Excel (inspection_result_.xlsx)

How To Use

Step 1: Collect User Input

Confirm the following information with the user (if not fully provided):

ParameterDescriptionRequired
Scene Config TemplateURL or local path to scene config ExcelRequired
Inspection ResultURL or local path to inspection result ExcelRequired (if absent, only output target config)
Code Download LinkURL to project code zip/tar.gz or local directory pathRequired

Users may provide input in various ways:

  • Direct URL links
  • Local file/directory paths
  • Files already present in the workspace

Step 2: Download Resource Files

Use the download script to fetch remote files:

python3 SKILL_BASE_DIR/scripts/download_files.py \
  --config-url "Scene config Excel URL" \
  --inspect-url "Inspection result Excel URL" \
  --code-url "Code archive URL" \
  --output-dir "SKILL_BASE_DIR/workspace"

This script will:

  • Download scene config Excel to workspace/config.xlsx
  • Download inspection result Excel to workspace/inspect.xlsx
  • Download and extract code to workspace/code/
  • Output JSON-formatted download results containing local paths for each file

Metadata

Stars2032
Views0
Updated2026-03-05
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-cwlvincent-trtc-config-inspector": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.