{"schema_version":1,"workflow_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","workflow_title":"TiDB — Distributed SQL Database with MySQL Compatibility","page_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","raw_url":"https://tokrepo.com/raw/tidb-distributed-sql-database-mysql-compatibility-90136633","metadata_url":"https://tokrepo.com/metadata/tidb-distributed-sql-database-mysql-compatibility-90136633.json","install_plan_url":"https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=90136633-35f6-11f1-9bc6-00163e2b0d79&target=codex","recommended_install":{"schema_version":1,"status":"confirm","policy":"confirm","install_mode":"single","target":"codex","command":"npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 --target codex","dry_run_command":"npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 --target codex --dry-run --json","runtime_commands":{"codex":"npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 --target codex","gemini":"npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 --target gemini","project":"npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79"},"prompt":"Install and make this TokRepo asset usable: \"TiDB — Distributed SQL Database with MySQL Compatibility\".\n\nPage: https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633\nUUID: 90136633-35f6-11f1-9bc6-00163e2b0d79\nTarget adapter: codex\nPolicy/mode: confirm / single\n\nRead these machine-facing entry points first:\n- metadata: https://tokrepo.com/metadata/tidb-distributed-sql-database-mysql-compatibility-90136633.json\n- install contract: https://tokrepo.com/install-contract/tidb-distributed-sql-database-mysql-compatibility-90136633.json\n- install plan: https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=90136633-35f6-11f1-9bc6-00163e2b0d79&target=codex\n- raw content: https://tokrepo.com/raw/tidb-distributed-sql-database-mysql-compatibility-90136633\n\nCommands:\n- choose the current runtime; do not use unsupported CLI targets.\n- Codex: npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 --target codex\n- Gemini CLI: npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 --target gemini\n- Claude Code / project agent: run npx -y tokrepo@latest install 90136633-35f6-11f1-9bc6-00163e2b0d79 from the project root; add `--dry-run --json` first to inspect the plan.\n- add `--dry-run --json` to the chosen command first; after the plan allows it, run the chosen command.\n\nExecution rules:\n1. Run the dry-run command first to inspect writes, risks, and rollback.\n2. Confirm with the user which files or global config will change.\n3. After confirmation, run the install command and verify post_verify.\n\nReport back with changed files, verification result, and how to use the asset next.","next_steps":["Run the dry-run command first to inspect writes, risks, and rollback.","Confirm with the user which files or global config will change.","After confirmation, run the install command and verify post_verify."],"success_check":["The user confirmed the risk envelope.","The asset is installed or staged with rollback evidence."]},"agent_metadata":{"asset_kind":"skill","target_tools":["claude_code","codex","gemini_cli"],"install_mode":"single","entrypoint":"step-1.md","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","verification":{"commands":[],"expected_files":[""]}},"agent_fit":{"target":"codex","score":64,"status":"needs_confirmation","policy":"confirm","why":["target_tools includes codex","asset_kind skill","install_mode single","policy confirm","risk_profile.network_access is true","trust established"],"asset_kind":"skill","install_mode":"single"},"trust":{"author_trust_level":"established","verified_publisher":false,"asset_signed_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["network_access"],"review_status":"unreviewed","signals":["asset has usage views","author has published assets","content hash available"]},"provenance":{"owner_uuid":"8a910e34-3180-11f1-9bc6-00163e2b0d79","owner_name":"Script Depot","source_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","visibility":1,"created_at":"2026-04-12 06:34:12","updated_at":"2026-06-13 10:49:21"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/90136633-35f6-11f1-9bc6-00163e2b0d79","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"install_plan":{"schema_version":2,"target":"codex","asset_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","asset_title":"TiDB — Distributed SQL Database with MySQL Compatibility","source_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","install_mode":"single","entrypoint":"step-1.md","preconditions":[{"type":"target_supported","status":"pass","message":"codex install target is supported"},{"type":"install_root","status":"pass","message":"~/.codex/skills for activated assets; ~/.codex/tokrepo/staged/90136633-35f6-11f1-9bc6-00163e2b0d79 for staged assets"},{"type":"target_tool_metadata","status":"pass","message":"metadata allows codex"},{"type":"content_hash","status":"pass","message":"asset metadata includes content_hash"},{"type":"trust_policy","status":"pass","message":"publisher trust level is established"},{"type":"policy_decision","status":"warn","message":"confirm for 90136633-35f6-11f1-9bc6-00163e2b0d79 (single)"}],"actions":[{"type":"write_file","path":"~/.codex/skills/tokrepo-tidb-distributed-sql-database-mysql-compatibility-90136633/SKILL.md","source_name":"step-1.md","sha256":"8a85f04620401b6f8c87a7405455f4d8ea7cdbb3383412e917d16970b0659939","bytes":4003,"risk":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"if_exists":"overwrite","entrypoint":true}],"policy_decision":{"decision":"confirm","requires_confirmation":true,"reasons":["risk_profile.network_access is true"]},"requires_confirmation":true,"rollback":[{"type":"remove_file","path":"~/.codex/skills/tokrepo-tidb-distributed-sql-database-mysql-compatibility-90136633/SKILL.md"}],"post_verify":[{"type":"file_sha256","path":"~/.codex/skills/tokrepo-tidb-distributed-sql-database-mysql-compatibility-90136633/SKILL.md","sha256":"8a85f04620401b6f8c87a7405455f4d8ea7cdbb3383412e917d16970b0659939"}],"metadata":{"asset_kind":"skill","target_tools":["claude_code","codex","gemini_cli"],"install_mode":"single","entrypoint":"step-1.md","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","verification":{"commands":[],"expected_files":[""]}},"agent_fit":{"target":"codex","score":64,"status":"needs_confirmation","policy":"confirm","why":["target_tools includes codex","asset_kind skill","install_mode single","policy confirm","risk_profile.network_access is true","trust established"],"asset_kind":"skill","install_mode":"single"},"trust":{"author_trust_level":"established","verified_publisher":false,"asset_signed_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["network_access"],"review_status":"unreviewed","signals":["asset has usage views","author has published assets","content hash available"]},"provenance":{"owner_uuid":"8a910e34-3180-11f1-9bc6-00163e2b0d79","owner_name":"Script Depot","source_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","visibility":1,"created_at":"2026-04-12 06:34:12","updated_at":"2026-06-13 10:49:21"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/90136633-35f6-11f1-9bc6-00163e2b0d79","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"evidence_bundle":{"acceptance_gate":{"recommended_action":"stage_or_request_confirmation","rule":"Agents should only activate an asset after evidence_bundle.integrity, policy_compatibility, rollback, and post_verify have been inspected.","status":"caution"},"asset_title":"TiDB — Distributed SQL Database with MySQL Compatibility","asset_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","eval_evidence":["https://tokrepo.com/evals/install-safety.json","https://tokrepo.com/evals/trust-evidence-coverage.json","https://tokrepo.com/evals/handoff-quality.json"],"generated_at":"2026-06-13T02:49:22Z","integrity":{"content_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","declared_content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","file_count":1,"hash_algorithm":"sha256","install_plan_hash":"4f56cf4986f4b2635fcb21a766756de3291d7936f296c37a11b6f66d56947bc8"},"policy_compatibility":{"permission_envelope":{"destructive":false,"executes_code":false,"file_count":1,"filesystem_write":["~/.codex/skills"],"global_config_write":false,"network":true,"requires_secrets":[],"uses_absolute_paths":false},"policy_decision":{"decision":"confirm","requires_confirmation":true,"reasons":["risk_profile.network_access is true"]},"requires_confirmation":true,"target":"codex","trust_score_v2":{"recommended_action":"stage_or_request_confirmation","status":"caution","trust_score":60}},"provenance":{"asset_kind":"skill","asset_title":"TiDB — Distributed SQL Database with MySQL Compatibility","asset_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","computed_bundle_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","created_at":"2026-04-12 06:34:12","generated_at":"2026-06-13T02:49:22Z","install_plan_hash":"4f56cf4986f4b2635fcb21a766756de3291d7936f296c37a11b6f66d56947bc8","owner_name":"Script Depot","owner_uuid":"8a910e34-3180-11f1-9bc6-00163e2b0d79","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","updated_at":"2026-06-13 10:49:21","visibility":1},"sbom":{"asset_kind":"skill","asset_title":"TiDB — Distributed SQL Database with MySQL Compatibility","asset_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":true,"requires_secrets":[]},"content_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":4003,"path":"~/.codex/skills/tokrepo-tidb-distributed-sql-database-mysql-compatibility-90136633/SKILL.md","role":"entrypoint","sha256":"8a85f04620401b6f8c87a7405455f4d8ea7cdbb3383412e917d16970b0659939","source_name":"step-1.md"}],"format":"SBOM-lite","install_mode":"single","schema_version":1,"target":"codex"},"schema":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","schema_version":1,"schemas":{"asset_verification":"https://tokrepo.com/schemas/asset-verification.schema.json","evidence_bundle":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","install_plan":"https://tokrepo.com/schemas/install-plan.schema.json","provenance":"https://tokrepo.com/schemas/provenance.schema.json","sbom":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json#/properties/sbom"},"signature_evidence":{"content_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","hash_algorithm":"sha256","install_plan_hash":"4f56cf4986f4b2635fcb21a766756de3291d7936f296c37a11b6f66d56947bc8","schema_version":1,"signed_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"source_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","target":"codex"},"sbom":{"asset_kind":"skill","asset_title":"TiDB — Distributed SQL Database with MySQL Compatibility","asset_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":true,"requires_secrets":[]},"content_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":4003,"path":"~/.codex/skills/tokrepo-tidb-distributed-sql-database-mysql-compatibility-90136633/SKILL.md","role":"entrypoint","sha256":"8a85f04620401b6f8c87a7405455f4d8ea7cdbb3383412e917d16970b0659939","source_name":"step-1.md"}],"format":"SBOM-lite","install_mode":"single","schema_version":1,"target":"codex"},"signature_evidence":{"content_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","hash_algorithm":"sha256","install_plan_hash":"4f56cf4986f4b2635fcb21a766756de3291d7936f296c37a11b6f66d56947bc8","schema_version":1,"signed_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"provenance_v2":{"asset_kind":"skill","asset_title":"TiDB — Distributed SQL Database with MySQL Compatibility","asset_uuid":"90136633-35f6-11f1-9bc6-00163e2b0d79","computed_bundle_hash":"b6f37ffb82241546835692488b61822cb7b69d80481bc15e2fbb10f937a39669","content_hash":"c360fd45d2d23bc10fc1e2e40d55598c3fb6c5ca8d02e49cd99430f390280b39","created_at":"2026-04-12 06:34:12","generated_at":"2026-06-13T02:49:22Z","install_plan_hash":"4f56cf4986f4b2635fcb21a766756de3291d7936f296c37a11b6f66d56947bc8","owner_name":"Script Depot","owner_uuid":"8a910e34-3180-11f1-9bc6-00163e2b0d79","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/tidb-distributed-sql-database-mysql-compatibility-90136633","updated_at":"2026-06-13 10:49:21","visibility":1},"transitive_dependencies":null}}