libra

Query and manage Libra/DataTester A/B experiments, reports, traffic, and test users.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill libra-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: libra
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/libra
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill libra-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It removes the need to manually navigate the Libra/DataTester web UI when you need to check A/B experiment details, traffic allocation, report significance, realtime metrics, or manage test users, letting you do everything through structured CLI commands. ## Core Features & Use Cases - Experiment Querying: Retrieve experiment details, traffic allocation, version configs, and search experiments by keyword or parameter path, including historical and offline experiments. - Report & Significance Analysis: Fetch report metadata, metric group reports with P-Values and significance, trends, and realtime dashboards. - Test User Management: List, add, and delete test users with a mandatory preview-then-confirm safety flow. - Use Case: You want to know whether experiment flight 123456 shows a significant lift on a metric group. Run get_experiment, then get_report_meta, then get_report with the metric group ID to read P-Values and significance directly. ## Quick Start Ask the agent to show the details and report significance for Libra experiment flight 123456 in the I18N-TT region.

Frequently Asked Questions about libra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a Libra A/B experiment result is significant?

First call get_experiment for basic info, then get_report_meta to list available metric groups, then get_report with the metric_group_id to read metrics, P-Values, and significance. Add the trend flag if you also need time-series trends.

How to search Libra experiments by parameter path?

Use the search_experiment action with the key_path parameter, for example a config key like tiktok.tako_server.use_old_lbs_location. You can narrow results with app_id and status filters.

Why does Libra experiment search return no results?

Empty results usually come from status filtering excluding inactive or historical experiments, overly strict exact_match, or a wrong app_id. Include inactive status when looking for completed or offline experiments before concluding the experiment does not exist.

Can I find completed or offline Libra experiments?

Yes, list_experiments and search_experiment support status filtering, so include inactive states when searching for completed, offline, or historical experiments. By default searches may only return active experiments.

How do I add test users to a Libra experiment safely?

Call add_test_user with the flight_id and user_ids first without confirmation to preview the change. Only after reviewing the preview and getting user confirmation should you rerun it with confirmed set to true.