{"schema_version":1,"workflow_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","workflow_title":"Claude Code Agent: Database Optimizer","page_url":"https://tokrepo.com/en/workflows/claude-code-agent-database-optimizer-0d16d3a0","raw_url":"https://tokrepo.com/raw/claude-code-agent-database-optimizer-0d16d3a0","metadata_url":"https://tokrepo.com/metadata/claude-code-agent-database-optimizer-0d16d3a0.json","install_plan_url":"https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=0d16d3a0-dc72-4c86-8b50-6947adc7c89a&target=codex","agent_metadata":{"asset_kind":"agent","target_tools":["claude_code","codex"],"install_mode":"single","entrypoint":"database/database-optimizer","risk_profile":{"executes_code":false,"modifies_global_config":true,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"dependencies":{"npm":["claude-code-templates"],"pip":[],"brew":[],"system":[]},"version":"9329aad61cdb","content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","verification":{"commands":["npx claude-code-templates@latest --agent database/database-optimizer --yes --dry-run"],"expected_files":[".claude/agents/database-optimizer.md"]}},"agent_fit":{"target":"codex","score":35,"status":"stage_only","policy":"stage_only","why":["target_tools includes codex","asset_kind agent","install_mode single","policy stage_only","risk_profile.modifies_global_config is true","risk_profile.network_access is true","trust established"],"asset_kind":"agent","install_mode":"single"},"trust":{"author_trust_level":"established","verified_publisher":false,"asset_signed_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["modifies_global_config","network_access"],"review_status":"unreviewed","signals":["author has published assets","content hash available"]},"provenance":{"owner_uuid":"81b6b4dc-2ab8-11f1-9bc6-00163e2b0d79","owner_name":"TokRepo精选","source_url":"https://tokrepo.com/en/workflows/claude-code-agent-database-optimizer-0d16d3a0","content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","visibility":1,"created_at":"2026-05-19 21:30:04","updated_at":"2026-05-21 07:53:54"},"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/0d16d3a0-dc72-4c86-8b50-6947adc7c89a","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"install_plan":{"schema_version":2,"target":"codex","asset_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","asset_title":"Claude Code Agent: Database Optimizer","source_url":"https://tokrepo.com/en/workflows/claude-code-agent-database-optimizer-0d16d3a0","install_mode":"single","entrypoint":"database/database-optimizer","preconditions":[{"type":"target_supported","status":"pass","message":"codex install target is supported"},{"type":"install_root","status":"pass","message":"~/.codex/skills for activated skills; ~/.codex/tokrepo/staged 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":"stage_only for 0d16d3a0-dc72-4c86-8b50-6947adc7c89a (single)"}],"actions":[{"type":"write_file","path":"~/.codex/skills/tokrepo-claude-code-agent-database-optimizer-0d16d3a0/SKILL.md","source_name":"Claude Code Agent: Database Optimizer","sha256":"3f33c8de8410868e462edca4ea75358ee91eb1b470cbfa29aae0173921392811","bytes":1833,"risk":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":false},"if_exists":"overwrite","entrypoint":true}],"policy_decision":{"decision":"stage_only","requires_confirmation":false,"reasons":["risk_profile.modifies_global_config is true","risk_profile.network_access is true"]},"requires_confirmation":false,"rollback":[{"type":"remove_file","path":"~/.codex/skills/tokrepo-claude-code-agent-database-optimizer-0d16d3a0/SKILL.md"}],"post_verify":[{"type":"file_sha256","path":"~/.codex/skills/tokrepo-claude-code-agent-database-optimizer-0d16d3a0/SKILL.md","sha256":"3f33c8de8410868e462edca4ea75358ee91eb1b470cbfa29aae0173921392811"},{"type":"command","command":"npx claude-code-templates@latest --agent database/database-optimizer --yes --dry-run"}],"metadata":{"asset_kind":"agent","target_tools":["claude_code","codex"],"install_mode":"single","entrypoint":"database/database-optimizer","risk_profile":{"executes_code":false,"modifies_global_config":true,"requires_secrets":[],"uses_absolute_paths":false,"network_access":true},"dependencies":{"npm":["claude-code-templates"],"pip":[],"brew":[],"system":[]},"version":"9329aad61cdb","content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","verification":{"commands":["npx claude-code-templates@latest --agent database/database-optimizer --yes --dry-run"],"expected_files":[".claude/agents/database-optimizer.md"]}},"agent_fit":{"target":"codex","score":35,"status":"stage_only","policy":"stage_only","why":["target_tools includes codex","asset_kind agent","install_mode single","policy stage_only","risk_profile.modifies_global_config is true","risk_profile.network_access is true","trust established"],"asset_kind":"agent","install_mode":"single"},"trust":{"author_trust_level":"established","verified_publisher":false,"asset_signed_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["modifies_global_config","network_access"],"review_status":"unreviewed","signals":["author has published assets","content hash available"]},"provenance":{"owner_uuid":"81b6b4dc-2ab8-11f1-9bc6-00163e2b0d79","owner_name":"TokRepo精选","source_url":"https://tokrepo.com/en/workflows/claude-code-agent-database-optimizer-0d16d3a0","content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","visibility":1,"created_at":"2026-05-19 21:30:04","updated_at":"2026-05-21 07:53:54"},"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/0d16d3a0-dc72-4c86-8b50-6947adc7c89a","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":"Claude Code Agent: Database Optimizer","asset_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","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-05-20T23:53:56Z","integrity":{"content_hash":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","declared_content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","file_count":1,"hash_algorithm":"sha256","install_plan_hash":"bbeb5b5b5c39476e8d50486e157a5d83c002533ca830a4989d09e1d46b213f42"},"policy_compatibility":{"permission_envelope":{"destructive":false,"executes_code":false,"file_count":1,"filesystem_write":["~/.codex/skills"],"global_config_write":true,"network":true,"requires_secrets":[],"uses_absolute_paths":false},"policy_decision":{"decision":"stage_only","requires_confirmation":false,"reasons":["risk_profile.modifies_global_config is true","risk_profile.network_access is true"]},"requires_confirmation":false,"target":"codex","trust_score_v2":{"recommended_action":"stage_or_request_confirmation","status":"caution","trust_score":50}},"provenance":{"asset_kind":"agent","asset_title":"Claude Code Agent: Database Optimizer","asset_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","computed_bundle_hash":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","created_at":"2026-05-19 21:30:04","generated_at":"2026-05-20T23:53:56Z","install_plan_hash":"bbeb5b5b5c39476e8d50486e157a5d83c002533ca830a4989d09e1d46b213f42","owner_name":"TokRepo精选","owner_uuid":"81b6b4dc-2ab8-11f1-9bc6-00163e2b0d79","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/claude-code-agent-database-optimizer-0d16d3a0","updated_at":"2026-05-21 07:53:54","visibility":1},"sbom":{"asset_kind":"agent","asset_title":"Claude Code Agent: Database Optimizer","asset_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":true,"network_access":true,"requires_secrets":[]},"content_hash":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","dependencies":{"brew":[],"mcp":[],"npm":["claude-code-templates"],"pip":[],"system":[]},"files":[{"bytes":1833,"path":"~/.codex/skills/tokrepo-claude-code-agent-database-optimizer-0d16d3a0/SKILL.md","role":"entrypoint","sha256":"3f33c8de8410868e462edca4ea75358ee91eb1b470cbfa29aae0173921392811","source_name":"Claude Code Agent: Database Optimizer"}],"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":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","hash_algorithm":"sha256","install_plan_hash":"bbeb5b5b5c39476e8d50486e157a5d83c002533ca830a4989d09e1d46b213f42","schema_version":1,"signed_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","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/claude-code-agent-database-optimizer-0d16d3a0","target":"codex"},"sbom":{"asset_kind":"agent","asset_title":"Claude Code Agent: Database Optimizer","asset_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":true,"network_access":true,"requires_secrets":[]},"content_hash":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","dependencies":{"brew":[],"mcp":[],"npm":["claude-code-templates"],"pip":[],"system":[]},"files":[{"bytes":1833,"path":"~/.codex/skills/tokrepo-claude-code-agent-database-optimizer-0d16d3a0/SKILL.md","role":"entrypoint","sha256":"3f33c8de8410868e462edca4ea75358ee91eb1b470cbfa29aae0173921392811","source_name":"Claude Code Agent: Database Optimizer"}],"format":"SBOM-lite","install_mode":"single","schema_version":1,"target":"codex"},"signature_evidence":{"content_hash":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","hash_algorithm":"sha256","install_plan_hash":"bbeb5b5b5c39476e8d50486e157a5d83c002533ca830a4989d09e1d46b213f42","schema_version":1,"signed_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","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":"agent","asset_title":"Claude Code Agent: Database Optimizer","asset_uuid":"0d16d3a0-dc72-4c86-8b50-6947adc7c89a","computed_bundle_hash":"1b89f89dcc9eef88ea997b3cb48e8a738fe2f16a699d38091f76df7cdb3dafb8","content_hash":"9231eeb8ee3c3b54c6f48e8c40704c3192ad801f8d837a65527f4d9c088c10ed","created_at":"2026-05-19 21:30:04","generated_at":"2026-05-20T23:53:56Z","install_plan_hash":"bbeb5b5b5c39476e8d50486e157a5d83c002533ca830a4989d09e1d46b213f42","owner_name":"TokRepo精选","owner_uuid":"81b6b4dc-2ab8-11f1-9bc6-00163e2b0d79","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/claude-code-agent-database-optimizer-0d16d3a0","updated_at":"2026-05-21 07:53:54","visibility":1}}}