{"schema_version":1,"workflow_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","workflow_title":"Cursor Rules: Python — Clean Code with AI","page_url":"https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8","raw_url":"https://tokrepo.com/raw/cursor-rules-python-clean-code-ai-f18133e8","metadata_url":"https://tokrepo.com/metadata/cursor-rules-python-clean-code-ai-f18133e8.json","install_plan_url":"https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=f18133e8-aad7-4875-9828-acc45a09962f&target=codex","recommended_install":{"schema_version":1,"status":"confirm","policy":"confirm","install_mode":"single","target":"codex","command":"npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f --target codex","dry_run_command":"npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f --target codex --dry-run --json","runtime_commands":{"codex":"npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f --target codex","gemini":"npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f --target gemini","project":"npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f"},"prompt":"Install and make this TokRepo asset usable: \"Cursor Rules: Python — Clean Code with AI\".\n\nPage: https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8\nUUID: f18133e8-aad7-4875-9828-acc45a09962f\nTarget adapter: codex\nPolicy/mode: confirm / single\n\nRead these machine-facing entry points first:\n- metadata: https://tokrepo.com/metadata/cursor-rules-python-clean-code-ai-f18133e8.json\n- install contract: https://tokrepo.com/install-contract/cursor-rules-python-clean-code-ai-f18133e8.json\n- install plan: https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=f18133e8-aad7-4875-9828-acc45a09962f&target=codex\n- raw content: https://tokrepo.com/raw/cursor-rules-python-clean-code-ai-f18133e8\n\nCommands:\n- choose the current runtime; do not use unsupported CLI targets.\n- Codex: npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f --target codex\n- Gemini CLI: npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f --target gemini\n- Claude Code / project agent: run npx -y tokrepo@latest install f18133e8-aad7-4875-9828-acc45a09962f 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":["cursor"],"install_mode":"single","entrypoint":"Cursor Rules: Python — Clean Code with AI","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":false},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","verification":{"commands":[],"expected_files":["Cursor Rules: Python — Clean Code with AI"]}},"agent_fit":{"target":"codex","score":66,"status":"needs_confirmation","policy":"confirm","why":["target_tools does not include codex","asset_kind skill","install_mode single","markdown-only","policy confirm","metadata target_tools does not include codex","trust community"],"asset_kind":"skill","install_mode":"single"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":[],"review_status":"unreviewed","signals":["asset has usage views","content hash available","no dangerous capability badges"]},"provenance":{"owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","owner_name":"Cursor · Anysphere","source_url":"https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8","content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","visibility":1,"created_at":"2026-03-29 22:43:37","updated_at":"2026-06-13 18:27:06"},"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/f18133e8-aad7-4875-9828-acc45a09962f","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"install_plan":{"schema_version":2,"target":"codex","asset_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","asset_title":"Cursor Rules: Python — Clean Code with AI","source_url":"https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8","install_mode":"single","entrypoint":"Cursor Rules: Python — Clean Code with AI","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/f18133e8-aad7-4875-9828-acc45a09962f for staged assets"},{"type":"target_tool_metadata","status":"warn","message":"metadata target_tools does not include codex"},{"type":"content_hash","status":"pass","message":"asset metadata includes content_hash"},{"type":"trust_policy","status":"pass","message":"publisher trust level is community"},{"type":"policy_decision","status":"warn","message":"confirm for f18133e8-aad7-4875-9828-acc45a09962f (single)"}],"actions":[{"type":"write_file","path":"~/.codex/skills/tokrepo-cursor-rules-python-clean-code-ai-f18133e8/SKILL.md","source_name":"Cursor Rules: Python — Clean Code with AI","sha256":"0880a42f415f1b65c1a1af04e240375b8f78cc126aa81b07ac42cc4a151b9d4e","bytes":1665,"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":"confirm","requires_confirmation":true,"reasons":["metadata target_tools does not include codex"]},"requires_confirmation":true,"rollback":[{"type":"remove_file","path":"~/.codex/skills/tokrepo-cursor-rules-python-clean-code-ai-f18133e8/SKILL.md"}],"post_verify":[{"type":"file_sha256","path":"~/.codex/skills/tokrepo-cursor-rules-python-clean-code-ai-f18133e8/SKILL.md","sha256":"0880a42f415f1b65c1a1af04e240375b8f78cc126aa81b07ac42cc4a151b9d4e"}],"metadata":{"asset_kind":"skill","target_tools":["cursor"],"install_mode":"single","entrypoint":"Cursor Rules: Python — Clean Code with AI","risk_profile":{"executes_code":false,"modifies_global_config":false,"requires_secrets":[],"uses_absolute_paths":false,"network_access":false},"dependencies":{"npm":[],"pip":[],"brew":[],"system":[]},"content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","verification":{"commands":[],"expected_files":["Cursor Rules: Python — Clean Code with AI"]}},"agent_fit":{"target":"codex","score":66,"status":"needs_confirmation","policy":"confirm","why":["target_tools does not include codex","asset_kind skill","install_mode single","markdown-only","policy confirm","metadata target_tools does not include codex","trust community"],"asset_kind":"skill","install_mode":"single"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":[],"review_status":"unreviewed","signals":["asset has usage views","content hash available","no dangerous capability badges"]},"provenance":{"owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","owner_name":"Cursor · Anysphere","source_url":"https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8","content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","visibility":1,"created_at":"2026-03-29 22:43:37","updated_at":"2026-06-13 18:27:06"},"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/f18133e8-aad7-4875-9828-acc45a09962f","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":"Cursor Rules: Python — Clean Code with AI","asset_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","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-13T10:27:07Z","integrity":{"content_hash":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","declared_content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","file_count":1,"hash_algorithm":"sha256","install_plan_hash":"64ec031267669ce952de1a8767c3d34b339bf65964f3303c8ecb0c4f994d5b96"},"policy_compatibility":{"permission_envelope":{"destructive":false,"executes_code":false,"file_count":1,"filesystem_write":["~/.codex/skills"],"global_config_write":false,"network":false,"requires_secrets":[],"uses_absolute_paths":false},"policy_decision":{"decision":"confirm","requires_confirmation":true,"reasons":["metadata target_tools does not include codex"]},"requires_confirmation":true,"target":"codex","trust_score_v2":{"recommended_action":"stage_or_request_confirmation","status":"caution","trust_score":70}},"provenance":{"asset_kind":"skill","asset_title":"Cursor Rules: Python — Clean Code with AI","asset_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","computed_bundle_hash":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","created_at":"2026-03-29 22:43:37","generated_at":"2026-06-13T10:27:07Z","install_plan_hash":"64ec031267669ce952de1a8767c3d34b339bf65964f3303c8ecb0c4f994d5b96","owner_name":"Cursor · Anysphere","owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8","updated_at":"2026-06-13 18:27:06","visibility":1},"sbom":{"asset_kind":"skill","asset_title":"Cursor Rules: Python — Clean Code with AI","asset_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":false,"requires_secrets":[]},"content_hash":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":1665,"path":"~/.codex/skills/tokrepo-cursor-rules-python-clean-code-ai-f18133e8/SKILL.md","role":"entrypoint","sha256":"0880a42f415f1b65c1a1af04e240375b8f78cc126aa81b07ac42cc4a151b9d4e","source_name":"Cursor Rules: Python — Clean Code with AI"}],"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":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","hash_algorithm":"sha256","install_plan_hash":"64ec031267669ce952de1a8767c3d34b339bf65964f3303c8ecb0c4f994d5b96","schema_version":1,"signed_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","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/cursor-rules-python-clean-code-ai-f18133e8","target":"codex"},"sbom":{"asset_kind":"skill","asset_title":"Cursor Rules: Python — Clean Code with AI","asset_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":false,"network_access":false,"requires_secrets":[]},"content_hash":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","dependencies":{"brew":[],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":1665,"path":"~/.codex/skills/tokrepo-cursor-rules-python-clean-code-ai-f18133e8/SKILL.md","role":"entrypoint","sha256":"0880a42f415f1b65c1a1af04e240375b8f78cc126aa81b07ac42cc4a151b9d4e","source_name":"Cursor Rules: Python — Clean Code with AI"}],"format":"SBOM-lite","install_mode":"single","schema_version":1,"target":"codex"},"signature_evidence":{"content_hash":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","hash_algorithm":"sha256","install_plan_hash":"64ec031267669ce952de1a8767c3d34b339bf65964f3303c8ecb0c4f994d5b96","schema_version":1,"signed_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","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":"Cursor Rules: Python — Clean Code with AI","asset_uuid":"f18133e8-aad7-4875-9828-acc45a09962f","computed_bundle_hash":"b86b192da1f13688788da0a7ce6b21e1116278e35837b29c4f529ebdf0caaceb","content_hash":"2337b557dcd0ad1ef6346b3418f4adff908be40c97179a82d362d73d76fd83eb","created_at":"2026-03-29 22:43:37","generated_at":"2026-06-13T10:27:07Z","install_plan_hash":"64ec031267669ce952de1a8767c3d34b339bf65964f3303c8ecb0c4f994d5b96","owner_name":"Cursor · Anysphere","owner_uuid":"2660b0f3-4cb5-4d0f-8d9e-f2d70f5adc74","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/cursor-rules-python-clean-code-ai-f18133e8","updated_at":"2026-06-13 18:27:06","visibility":1},"transitive_dependencies":null}}