[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-b470ab44":3,"seo:featured-workflow:b470ab44-4dfc-11f1-9bc6-00163e2b0d79:en":82,"workflow-related-asset-b470ab44-b470ab44-4dfc-11f1-9bc6-00163e2b0d79":83},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":12,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":14,"tags":21,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":28,"asset_kind":29,"target_tools":30,"install_mode":34,"entrypoint":18,"risk_profile":35,"dependencies":37,"verification":42,"agent_metadata":45,"agent_fit":58,"trust":70,"provenance":79,"created_at":81,"updated_at":81},3253,"b470ab44-4dfc-11f1-9bc6-00163e2b0d79","asset-b470ab44","thefuck — Magnificent Command Corrector for Your Terminal","A CLI tool that corrects your previous console command by suggesting and running the right fix automatically.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot","",0,"en",[15],{"id":16,"step_order":17,"title":18,"description":11,"prompt_template":19,"variables":11,"depends_on":20,"expected_output":11},3816,1,"thefuck","# thefuck — Magnificent Command Corrector for Your Terminal\n\n## Quick Use\n```bash\npip install thefuck\n# Add to ~\u002F.bashrc or ~\u002F.zshrc:\neval $(thefuck --alias)\n# Then type a wrong command, and run:\nfuck\n```\n\n## Introduction\nthefuck is a Python CLI app that listens for failed commands in your shell and proposes corrected alternatives. When you mistype a command, forget sudo, or use wrong flags, just type `fuck` and it will fix and re-run the command for you.\n\n## What thefuck Does\n- Detects failed shell commands based on exit codes and stderr output\n- Matches failures against a library of built-in correction rules\n- Suggests the most likely corrected command automatically\n- Supports custom user-defined rules for project-specific workflows\n- Works across Bash, Zsh, Fish, PowerShell, and tcsh\n\n## Architecture Overview\nthefuck intercepts the previous command's exit code and output via a shell alias. It then passes that context through a pipeline of rule matchers, each of which checks whether it can fix the error. Rules are plain Python modules with `match()` and `get_new_command()` functions. The highest-priority matching rule produces the corrected command, which is presented to the user or executed immediately based on configuration.\n\n## Self-Hosting & Configuration\n- Install via pip: `pip install thefuck` or via Homebrew: `brew install thefuck`\n- Initialize the alias in your shell profile with `eval $(thefuck --alias)`\n- Configure settings in `~\u002F.config\u002Fthefuck\u002Fsettings.py` (timeout, rules, priority)\n- Set `require_confirmation = False` to auto-execute corrections without prompting\n- Add custom rules as Python files in `~\u002F.config\u002Fthefuck\u002Frules\u002F`\n\n## Key Features\n- Ships with 80+ built-in rules covering git, docker, pip, apt, cargo, and more\n- Learns from your corrections and adjusts rule priority over time\n- Supports instant mode for near-zero latency corrections\n- Custom aliases let you rename the command to anything you prefer\n- Extensible rule system with a simple two-function Python interface\n\n## Comparison with Similar Tools\n- **ShellCheck** — static analysis for scripts; thefuck corrects interactive commands in real time\n- **zsh-autosuggestions** — suggests from history; thefuck actively fixes failed commands\n- **fuck (Ruby)** — earlier concept; thefuck has a much larger rule library and active maintenance\n- **pay-respects** — Rust alternative with faster startup but fewer built-in rules\n\n## FAQ\n**Q: Does thefuck slow down my shell?**\nA: In normal mode the alias only activates when you explicitly type the trigger. Instant mode adds a small hook but is designed to stay under 100ms.\n\n**Q: Can I use a different trigger word?**\nA: Yes. Pass a custom name to the alias: `eval $(thefuck --alias fix)` and then type `fix` instead.\n\n**Q: Does it work with zsh and oh-my-zsh?**\nA: Yes. There is also a bundled oh-my-zsh plugin for convenience.\n\n**Q: Is it safe to auto-run corrections?**\nA: By default it asks for confirmation. You can enable auto-run, but review the rule list first to avoid surprises with destructive commands.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fnvbn\u002Fthefuck\n- https:\u002F\u002Fgithub.com\u002Fnvbn\u002Fthefuck#installation","0",[22],{"id":23,"name":24,"slug":25,"icon":26},11,"Scripts","script","📜",false,"68a0b9d46dd1ecc651e49338844c81ddc17c06b25aeaa35331a69bed5431e1fe","skill",[31,32,33],"claude_code","codex","gemini_cli","single",{"executes_code":27,"modifies_global_config":27,"requires_secrets":36,"uses_absolute_paths":27,"network_access":27},[],{"npm":38,"pip":39,"brew":40,"system":41},[],[18],[18],[],{"commands":43,"expected_files":44},[],[18],{"asset_kind":29,"target_tools":46,"install_mode":34,"entrypoint":18,"risk_profile":47,"dependencies":49,"content_hash":28,"verification":54,"inferred":57},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":48,"uses_absolute_paths":27,"network_access":27},[],{"npm":50,"pip":51,"brew":52,"system":53},[],[18],[18],[],{"commands":55,"expected_files":56},[],[18],true,{"target":32,"score":59,"status":60,"policy":61,"why":62,"asset_kind":29,"install_mode":34},98,"native","allow",[63,64,65,66,67,68,69],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":28,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":73,"review_status":74,"signals":75},"established","hash_only",[],"unreviewed",[76,77,78],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":80,"content_hash":28,"visibility":17,"created_at":81,"updated_at":81},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-b470ab44","2026-05-12 20:18:37",null,[84,142,189,235],{"id":85,"uuid":86,"slug":87,"title":88,"description":89,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":90,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":91,"tags":92,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":94,"asset_kind":29,"target_tools":95,"install_mode":34,"entrypoint":96,"risk_profile":97,"dependencies":99,"verification":104,"agent_metadata":107,"agent_fit":119,"trust":126,"provenance":130,"created_at":132,"updated_at":133,"__relatedScore":134,"__relatedReasons":135,"__sharedTags":140},1177,"f8b7c935-3712-11f1-9bc6-00163e2b0d79","jq-lightweight-command-line-json-processor-f8b7c935","jq — Lightweight Command-Line JSON Processor","jq is the essential command-line tool for processing JSON data. It lets you slice, filter, transform, and format JSON with a concise expression language — making it indispensable for working with APIs, config files, and data pipelines in the terminal.",73,[],[93],{"id":23,"name":24,"slug":25,"icon":26},"b982c29edb02ea357d9459a34c6b3b724d1b306fc88b38dff521dc138f4e8baa",[31,32,33],"SKILL.md",{"executes_code":27,"modifies_global_config":27,"requires_secrets":98,"uses_absolute_paths":27,"network_access":57},[],{"npm":100,"pip":101,"brew":102,"system":103},[],[],[],[],{"commands":105,"expected_files":106},[],[11],{"asset_kind":29,"target_tools":108,"install_mode":34,"entrypoint":96,"risk_profile":109,"dependencies":111,"content_hash":94,"verification":116},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":110,"uses_absolute_paths":27,"network_access":57},[],{"npm":112,"pip":113,"brew":114,"system":115},[],[],[],[],{"commands":117,"expected_files":118},[],[11],{"target":32,"score":120,"status":121,"policy":122,"why":123,"asset_kind":29,"install_mode":34},64,"needs_confirmation","confirm",[63,64,65,124,125,69],"policy confirm","risk_profile.network_access is true",{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":94,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":127,"review_status":74,"signals":129},[128],"network_access",[76,77],{"owner_uuid":9,"owner_name":10,"source_url":131,"content_hash":94,"visibility":17,"created_at":132,"updated_at":133},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fjq-lightweight-command-line-json-processor-f8b7c935","2026-04-13 16:30:04","2026-05-12 23:49:30",91.80384757959646,[136,137,138,139],"topic-match","same-kind","same-target","same-author",[25,141],"scripts",{"id":143,"uuid":144,"slug":145,"title":146,"description":147,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":148,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":149,"tags":150,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":152,"asset_kind":29,"target_tools":153,"install_mode":34,"entrypoint":96,"risk_profile":154,"dependencies":156,"verification":161,"agent_metadata":164,"agent_fit":176,"trust":178,"provenance":182,"created_at":184,"updated_at":185,"__relatedScore":186,"__relatedReasons":187,"__sharedTags":188},1124,"ce6e174e-3651-11f1-9bc6-00163e2b0d79","hyperfine-command-line-benchmarking-tool-ce6e174e","Hyperfine — Command-Line Benchmarking Tool","Hyperfine is a command-line benchmarking tool written in Rust. Run benchmarks with statistical analysis: multiple runs, warmup, outlier detection, comparison across commands, and export results. By the author of bat and fd.",189,[],[151],{"id":23,"name":24,"slug":25,"icon":26},"7b1aa8f8a6cbe86b940c2f34ab8147ec96543810877aa65430b25e1e954a2fe9",[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":155,"uses_absolute_paths":27,"network_access":27},[],{"npm":157,"pip":158,"brew":159,"system":160},[],[],[],[],{"commands":162,"expected_files":163},[],[11],{"asset_kind":29,"target_tools":165,"install_mode":34,"entrypoint":96,"risk_profile":166,"dependencies":168,"content_hash":152,"verification":173},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":167,"uses_absolute_paths":27,"network_access":27},[],{"npm":169,"pip":170,"brew":171,"system":172},[],[],[],[],{"commands":174,"expected_files":175},[],[11],{"target":32,"score":59,"status":60,"policy":61,"why":177,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":152,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":179,"review_status":74,"signals":180},[],[181,76,77,78],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":183,"content_hash":152,"visibility":17,"created_at":184,"updated_at":185},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fhyperfine-command-line-benchmarking-tool-ce6e174e","2026-04-12 17:27:20","2026-05-12 13:52:12",83.41813040142924,[136,137,138,139],[25,141],{"id":190,"uuid":191,"slug":192,"title":193,"description":194,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":195,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":196,"tags":197,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":199,"asset_kind":29,"target_tools":200,"install_mode":34,"entrypoint":96,"risk_profile":201,"dependencies":203,"verification":208,"agent_metadata":211,"agent_fit":223,"trust":225,"provenance":228,"created_at":230,"updated_at":231,"__relatedScore":232,"__relatedReasons":233,"__sharedTags":234},1036,"6ed075de-35cb-11f1-9bc6-00163e2b0d79","lazygit-simple-terminal-ui-git-commands-6ed075de","Lazygit — Simple Terminal UI for Git Commands","Lazygit is a simple terminal UI for git commands. Stage files, commit, push, rebase, cherry-pick, squash, and browse history without memorizing 30 git commands. Written in Go and designed for speed with vim-style keybindings.",159,[],[198],{"id":23,"name":24,"slug":25,"icon":26},"2447559e4a935b13c87583c2bec948981dc3acdbd6593bcfc5ec1cb70a4c9c82",[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":202,"uses_absolute_paths":27,"network_access":27},[],{"npm":204,"pip":205,"brew":206,"system":207},[],[],[],[],{"commands":209,"expected_files":210},[],[11],{"asset_kind":29,"target_tools":212,"install_mode":34,"entrypoint":96,"risk_profile":213,"dependencies":215,"content_hash":199,"verification":220},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":214,"uses_absolute_paths":27,"network_access":27},[],{"npm":216,"pip":217,"brew":218,"system":219},[],[],[],[],{"commands":221,"expected_files":222},[],[11],{"target":32,"score":59,"status":60,"policy":61,"why":224,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":199,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":226,"review_status":74,"signals":227},[],[181,76,77,78],{"owner_uuid":9,"owner_name":10,"source_url":229,"content_hash":199,"visibility":17,"created_at":230,"updated_at":231},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Flazygit-simple-terminal-ui-git-commands-6ed075de","2026-04-12 01:25:27","2026-05-12 21:56:41",83.30617997398389,[136,137,138,139],[25,141],{"id":236,"uuid":237,"slug":238,"title":239,"description":240,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":241,"parent_id":12,"parent_uuid":11,"lang_type":13,"steps":242,"tags":243,"has_voted":27,"visibility":17,"share_token":11,"is_featured":12,"content_hash":245,"asset_kind":29,"target_tools":246,"install_mode":34,"entrypoint":96,"risk_profile":247,"dependencies":249,"verification":254,"agent_metadata":257,"agent_fit":269,"trust":271,"provenance":274,"created_at":276,"updated_at":277,"__relatedScore":278,"__relatedReasons":279,"__sharedTags":280},1042,"d3b6480b-35cb-11f1-9bc6-00163e2b0d79","just-modern-command-runner-makefile-alternative-d3b6480b","Just — A Modern Command Runner and Makefile Alternative","Just is a command runner, like Make but for modern dev workflows. Write recipes in a Justfile, run them with `just recipe-name`. Simpler syntax than Make, no obscure behaviors, cross-platform, and works great for project tasks.",151,[],[244],{"id":23,"name":24,"slug":25,"icon":26},"b099733cb06f39552c25fcaef7cb866ad81b733c41c5e6596af25df747cff411",[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":248,"uses_absolute_paths":27,"network_access":27},[],{"npm":250,"pip":251,"brew":252,"system":253},[],[],[],[],{"commands":255,"expected_files":256},[],[11],{"asset_kind":29,"target_tools":258,"install_mode":34,"entrypoint":96,"risk_profile":259,"dependencies":261,"content_hash":245,"verification":266},[31,32,33],{"executes_code":27,"modifies_global_config":27,"requires_secrets":260,"uses_absolute_paths":27,"network_access":27},[],{"npm":262,"pip":263,"brew":264,"system":265},[],[],[],[],{"commands":267,"expected_files":268},[],[11],{"target":32,"score":59,"status":60,"policy":61,"why":270,"asset_kind":29,"install_mode":34},[63,64,65,66,67,68,69],{"author_trust_level":71,"verified_publisher":27,"asset_signed_hash":245,"signature_status":72,"install_count":12,"report_count":12,"dangerous_capability_badges":272,"review_status":74,"signals":273},[],[181,76,77,78],{"owner_uuid":9,"owner_name":10,"source_url":275,"content_hash":245,"visibility":17,"created_at":276,"updated_at":277},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fjust-modern-command-runner-makefile-alternative-d3b6480b","2026-04-12 01:28:17","2026-05-12 23:17:58",83.27276538191715,[136,137,138,139],[25,141]]