[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-4b049ef8":3,"seo:featured-workflow:4b049ef8-4dfd-11f1-9bc6-00163e2b0d79:zh":85,"workflow-related-asset-4b049ef8-4b049ef8-4dfd-11f1-9bc6-00163e2b0d79":86},{"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":13,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":29,"asset_kind":30,"target_tools":31,"install_mode":35,"entrypoint":19,"risk_profile":36,"dependencies":38,"verification":46,"agent_metadata":49,"agent_fit":62,"trust":73,"provenance":81,"created_at":83,"updated_at":84},3261,"4b049ef8-4dfd-11f1-9bc6-00163e2b0d79","asset-4b049ef8","Oclif — Open CLI Framework for Building TypeScript Command-Line Tools","A framework by Salesforce for building extensible CLI applications in TypeScript with plugins, auto-generated help, and argument parsing.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot","",0,4,"en",[16],{"id":17,"step_order":18,"title":19,"description":11,"prompt_template":20,"variables":11,"depends_on":21,"expected_output":11},3824,1,"Oclif","# Oclif — Open CLI Framework for Building TypeScript Command-Line Tools\n\n## Quick Use\n```bash\nnpx oclif generate my-cli\ncd my-cli\nnpm install\n.\u002Fbin\u002Fdev.js hello world\n```\n\n## Introduction\nOclif (Open CLI Framework) is a TypeScript-first framework for building command-line tools. Created by Salesforce and used to power the Heroku CLI and Salesforce CLI, it provides a structured way to define commands, flags, arguments, and plugins for CLIs of any size.\n\n## What Oclif Does\n- Scaffolds new CLI projects with a single command using the generator\n- Provides a class-based command structure with typed flags and arguments\n- Auto-generates help text, man pages, and README documentation from command metadata\n- Supports a plugin system that lets users extend your CLI with third-party packages\n- Handles command discovery, lifecycle hooks, and error reporting out of the box\n\n## Architecture Overview\nOclif organizes a CLI as a collection of command classes, each defining its flags, arguments, and run method. At startup, the framework discovers commands from the file system or installed plugin packages and builds a command tree. Flag and argument parsing uses a strict, typed approach that validates input before the command runs. Plugins are npm packages that expose additional commands and hooks, loaded dynamically at runtime.\n\n## Self-Hosting & Configuration\n- Generate a new project: `npx oclif generate my-cli`\n- Define commands as TypeScript classes in the `src\u002Fcommands\u002F` directory\n- Configure the CLI name, version, and plugins in `package.json` under the `oclif` key\n- Distribute via npm or build standalone installers for macOS, Windows, and Linux\n- Add plugins by listing them in the `oclif.plugins` array or let users install them dynamically\n\n## Key Features\n- TypeScript-first with full type inference for flags, arguments, and configuration\n- Plugin architecture powering large-scale CLIs like Heroku CLI and Salesforce CLI\n- Auto-generated help output formatted for terminal with color and layout\n- Built-in testing utilities for unit and integration testing commands\n- Standalone packaging to create single-binary installers without requiring Node.js\n\n## Comparison with Similar Tools\n- **Commander.js** — lightweight flag parser; Oclif adds plugins, scaffolding, and auto-generated docs\n- **Yargs** — flexible argument parsing; Oclif provides more structure with classes and lifecycle hooks\n- **Cobra (Go)** — similar command framework for Go; Oclif is the TypeScript equivalent\n- **Clipanion** — Yarn's CLI engine; Oclif has a larger ecosystem and standalone packaging\n\n## FAQ\n**Q: Can I use Oclif with plain JavaScript?**\nA: Yes, though TypeScript is recommended. The generator scaffolds TypeScript by default.\n\n**Q: How do plugins work?**\nA: Plugins are npm packages that export Oclif commands. Users install them with `my-cli plugins install plugin-name`.\n\n**Q: Can I build standalone executables?**\nA: Yes. Oclif includes a `pack` command that creates tarballs and platform-specific installers.\n\n**Q: What CLIs are built with Oclif?**\nA: Heroku CLI, Salesforce CLI (sf), Shopify CLI, and Twilio CLI are all built on Oclif.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Foclif\u002Foclif\n- https:\u002F\u002Foclif.io","0",[23],{"id":24,"name":25,"slug":26,"icon":27},11,"Scripts","script","📜",false,"2edf5490eeeb8271163ce34ab02ea62db98a53e2d4635582631e6265043e501a","cli_tool",[32,33,34],"claude_code","codex","gemini_cli","single",{"executes_code":28,"modifies_global_config":28,"requires_secrets":37,"uses_absolute_paths":28,"network_access":28},[],{"npm":39,"pip":43,"brew":44,"system":45},[40,41,42],".\u002Fbin\u002Fdev.js","hello","world",[],[],[],{"commands":47,"expected_files":48},[],[19],{"asset_kind":30,"target_tools":50,"install_mode":35,"entrypoint":19,"risk_profile":51,"dependencies":53,"content_hash":29,"verification":58,"inferred":61},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":52,"uses_absolute_paths":28,"network_access":28},[],{"npm":54,"pip":55,"brew":56,"system":57},[40,41,42],[],[],[],{"commands":59,"expected_files":60},[],[19],true,{"target":33,"score":63,"status":64,"policy":64,"why":65,"asset_kind":30,"install_mode":35},29,"stage_only",[66,67,68,69,70,71,72],"target_tools includes codex","asset_kind cli_tool","install_mode single","markdown-only","policy stage_only","asset_kind cli_tool is not activated directly for Codex","trust established",{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":29,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":76,"review_status":77,"signals":78},"established","hash_only",[30],"unreviewed",[79,80],"author has published assets","content hash available",{"owner_uuid":9,"owner_name":10,"source_url":82,"content_hash":29,"visibility":18,"created_at":83,"updated_at":84},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-4b049ef8","2026-05-12 20:22:50","2026-05-12 21:38:54",null,[87,139,193,240],{"id":88,"uuid":89,"slug":90,"title":91,"description":92,"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":93,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":94,"tags":95,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":97,"asset_kind":30,"target_tools":98,"install_mode":35,"entrypoint":99,"risk_profile":100,"dependencies":102,"verification":107,"agent_metadata":110,"agent_fit":122,"trust":124,"provenance":127,"created_at":129,"updated_at":130,"__relatedScore":131,"__relatedReasons":132,"__sharedTags":137},2861,"c4440c78-4b3c-11f1-9bc6-00163e2b0d79","asset-c4440c78","Yargs — Interactive CLI Argument Parser for Node.js","Yargs helps you build interactive command-line tools by parsing arguments, generating help menus, and providing commands with validation, all with a fluent chainable API.",37,[],[96],{"id":24,"name":25,"slug":26,"icon":27},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",[32,33,34],"SKILL.md",{"executes_code":28,"modifies_global_config":28,"requires_secrets":101,"uses_absolute_paths":28,"network_access":28},[],{"npm":103,"pip":104,"brew":105,"system":106},[],[],[],[],{"commands":108,"expected_files":109},[],[],{"asset_kind":30,"target_tools":111,"install_mode":35,"entrypoint":99,"risk_profile":112,"dependencies":114,"content_hash":97,"verification":119,"inferred":61},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":113,"uses_absolute_paths":28,"network_access":28},[],{"npm":115,"pip":116,"brew":117,"system":118},[],[],[],[],{"commands":120,"expected_files":121},[],[],{"target":33,"score":63,"status":64,"policy":64,"why":123,"asset_kind":30,"install_mode":35},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":97,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":125,"review_status":77,"signals":126},[30],[79,80],{"owner_uuid":9,"owner_name":10,"source_url":128,"content_hash":97,"visibility":18,"created_at":129,"updated_at":130},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-c4440c78","2026-05-09 08:19:38","2026-05-12 22:35:49",103.36967539492521,[133,134,135,136],"topic-match","same-kind","same-target","same-author",[26,138],"scripts",{"id":140,"uuid":141,"slug":142,"title":143,"description":144,"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":145,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":146,"tags":147,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":149,"asset_kind":150,"target_tools":151,"install_mode":35,"entrypoint":152,"risk_profile":153,"dependencies":155,"verification":160,"agent_metadata":163,"agent_fit":175,"trust":182,"provenance":186,"created_at":188,"updated_at":189,"__relatedScore":190,"__relatedReasons":191,"__sharedTags":192},2054,"81320931-3fb6-11f1-9bc6-00163e2b0d79","react-admin-frontend-framework-admin-panels-rest-graphql-81320931","React Admin — Frontend Framework for Admin Panels on REST and GraphQL","React Admin is an open-source frontend framework for building admin interfaces and internal tools on top of REST or GraphQL APIs using React and Material Design components.",98,[],[148],{"id":24,"name":25,"slug":26,"icon":27},"17fda7728db5d43ef3ca5b78b95c32d9af47c3ec8a128bcc4f4162a2a061e67b","skill",[32,33,34],"React Admin Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":154,"uses_absolute_paths":28,"network_access":28},[],{"npm":156,"pip":157,"brew":158,"system":159},[],[],[],[],{"commands":161,"expected_files":162},[],[152],{"asset_kind":150,"target_tools":164,"install_mode":35,"entrypoint":152,"risk_profile":165,"dependencies":167,"content_hash":149,"verification":172},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":166,"uses_absolute_paths":28,"network_access":28},[],{"npm":168,"pip":169,"brew":170,"system":171},[],[],[],[],{"commands":173,"expected_files":174},[],[152],{"target":33,"score":145,"status":176,"policy":177,"why":178,"asset_kind":150,"install_mode":35},"native","allow",[66,179,68,69,180,181,72],"asset_kind skill","policy allow","safe markdown-only Codex install",{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":149,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":183,"review_status":77,"signals":184},[],[79,80,185],"no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":187,"content_hash":149,"visibility":18,"created_at":188,"updated_at":189},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Freact-admin-frontend-framework-admin-panels-rest-graphql-81320931","2026-04-24 16:20:50","2026-05-12 13:54:05",88.99345279189633,[133,135,136],[26,138],{"id":194,"uuid":195,"slug":196,"title":197,"description":198,"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":199,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":200,"tags":201,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":203,"asset_kind":150,"target_tools":204,"install_mode":35,"entrypoint":205,"risk_profile":206,"dependencies":208,"verification":213,"agent_metadata":216,"agent_fit":228,"trust":230,"provenance":233,"created_at":235,"updated_at":236,"__relatedScore":237,"__relatedReasons":238,"__sharedTags":239},2048,"e8839fd3-3fb5-11f1-9bc6-00163e2b0d79","gatsby-react-based-framework-performant-static-sites-e8839fd3","Gatsby — React-Based Framework for Performant Static Sites","Gatsby is a React-based open-source framework for building fast, secure websites and apps. It combines static site generation with dynamic capabilities, pulling data from any source via GraphQL.",88,[],[202],{"id":24,"name":25,"slug":26,"icon":27},"c5c796eb419244994a7c82bcbea515442d0f2f1ac836accac8560957439a1e01",[32,33,34],"Gatsby Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":207,"uses_absolute_paths":28,"network_access":28},[],{"npm":209,"pip":210,"brew":211,"system":212},[],[],[],[],{"commands":214,"expected_files":215},[],[205],{"asset_kind":150,"target_tools":217,"install_mode":35,"entrypoint":205,"risk_profile":218,"dependencies":220,"content_hash":203,"verification":225},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":219,"uses_absolute_paths":28,"network_access":28},[],{"npm":221,"pip":222,"brew":223,"system":224},[],[],[],[],{"commands":226,"expected_files":227},[],[205],{"target":33,"score":145,"status":176,"policy":177,"why":229,"asset_kind":150,"install_mode":35},[66,179,68,69,180,181,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":203,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":231,"review_status":77,"signals":232},[],[79,80,185],{"owner_uuid":9,"owner_name":10,"source_url":234,"content_hash":203,"visibility":18,"created_at":235,"updated_at":236},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fgatsby-react-based-framework-performant-static-sites-e8839fd3","2026-04-24 16:16:34","2026-05-12 20:32:02",88.92408500996737,[133,135,136],[26,138],{"id":241,"uuid":242,"slug":243,"title":244,"description":245,"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":14,"steps":246,"tags":247,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":97,"asset_kind":30,"target_tools":253,"install_mode":35,"entrypoint":254,"risk_profile":255,"dependencies":256,"verification":261,"agent_metadata":264,"agent_fit":275,"trust":277,"provenance":280,"created_at":282,"updated_at":282,"__relatedScore":283,"__relatedReasons":284,"__sharedTags":285},3088,"405e1e05-5c75-4703-9659-e65e181d3a2e","open-interpreter-local-code-interpreter-cli","Open Interpreter — Local Code Interpreter CLI","Open Interpreter runs a local code interpreter in your terminal. Install from GitHub, run `interpreter`, then write files and run commands with approvals.",[],[248],{"id":249,"name":250,"slug":251,"icon":252},14,"CLI Tools","cli","🖥️",[32,33,34],"README.md",{"executes_code":28,"modifies_global_config":28,"requires_secrets":85,"uses_absolute_paths":28,"network_access":28},{"npm":257,"pip":258,"brew":259,"system":260},[],[],[],[],{"commands":262,"expected_files":263},[],[],{"asset_kind":30,"target_tools":265,"install_mode":35,"entrypoint":254,"risk_profile":266,"dependencies":267,"content_hash":97,"verification":272},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":85,"uses_absolute_paths":28,"network_access":28},{"npm":268,"pip":269,"brew":270,"system":271},[],[],[],[],{"commands":273,"expected_files":274},[],[],{"target":33,"score":63,"status":64,"policy":64,"why":276,"asset_kind":30,"install_mode":35},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":97,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":278,"review_status":77,"signals":279},[30],[79,80],{"owner_uuid":9,"owner_name":10,"source_url":281,"content_hash":97,"visibility":18,"created_at":282,"updated_at":282},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fopen-interpreter-local-code-interpreter-cli","2026-05-12 00:58:30",82,[133,134,135,136],[]]