--- name: sing-box description: Diagnose or migrate sing-box configurations covering inbounds, outbounds, endpoints, DNS, routing, rule sets, TUN, FakeIP, TLS, multiplexing, selectors, and platform limits. --- # sing-box Use the [shared knowledge workflow](../knowledge-workflow.md) to gather evidence and decide whether web fallback is needed. For upgrades and migrations, use [network change review](../network-change-review/SKILL.md). 1. Record installed and target versions, OS, build variant, and privilege boundary. Obtain the relevant redacted sections and describe the expected path through DNS, route actions, interfaces, endpoints, outbound selection, and TLS. 2. Use NetExpert `search_docs` with project `sing-box`, the target version, and the configuration or migration topic. Use `get_document` if the excerpt lacks the migration example or relevant caveats. Check stable, development, and deprecated evidence separately. Use `compare_versions` or `search_source` when exposed and relevant to verify releases or tagged implementation details. 3. Verify rule evaluation order, DNS bootstrap, rule-set format and availability, and platform support for TUN, routing and selectors. Test the observed failure with a small configuration and read-only logs or route state, separating expectations from observed behavior. 4. Use `validate_config` when exposed for the relevant sing-box version and report whether the result came from its core or structural review. Otherwise check option names against target-version documentation and label the result. Preserve a reversible migration path. 5. Cite upstream versions and section URLs. List confirmed facts, suspected causes, and compatibility gaps.