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
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cwlvincent/trtc-config-inspectorTRTC 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:
- Download Resources: Download scene config template Excel, inspection result Excel, and project code archive from user-provided URLs
- Parse & Compare: Parse both Excel files, compare current configuration against target configuration item by item
- Locate Code: Find corresponding TRTC API call sites in the project source code
- Generate Modification Plan: Output structured modification suggestions (JSON format) including target values, code locations, and change recommendations for each diff item
- 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):
| Parameter | Description | Required |
|---|---|---|
| Scene Config Template | URL or local path to scene config Excel | Required |
| Inspection Result | URL or local path to inspection result Excel | Required (if absent, only output target config) |
| Code Download Link | URL to project code zip/tar.gz or local directory path | Required |
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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cwlvincent-trtc-config-inspector": {
"enabled": true,
"auto_update": true
}
}
}