{"id":16201385,"url":"https://github.com/amscotti/aicommander","last_synced_at":"2026-05-06T18:38:36.135Z","repository":{"id":226839879,"uuid":"769775005","full_name":"amscotti/AICommander","owner":"amscotti","description":"AICommander is an AI-powered command line tool that leverages OpenAI's models to generate command line instructions based on user queries","archived":false,"fork":false,"pushed_at":"2024-10-19T18:45:49.000Z","size":407,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T23:47:13.078Z","etag":null,"topics":["cli","command-line","deno","openai"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amscotti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-10T02:44:02.000Z","updated_at":"2024-10-19T18:45:52.000Z","dependencies_parsed_at":"2024-11-03T10:33:55.931Z","dependency_job_id":null,"html_url":"https://github.com/amscotti/AICommander","commit_stats":null,"previous_names":["amscotti/aicommander"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/amscotti/AICommander","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2FAICommander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2FAICommander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2FAICommander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2FAICommander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amscotti","download_url":"https://codeload.github.com/amscotti/AICommander/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amscotti%2FAICommander/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614016,"owners_count":23798367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","deno","openai"],"created_at":"2024-10-10T09:37:34.681Z","updated_at":"2026-05-06T18:38:36.131Z","avatar_url":"https://github.com/amscotti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AICommander\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"images/wizard_controlling_the_elements.jpg\" alt=\"A wizard controlling the elements - Leonardo AI\" width=\"600\"\u003e\n\u003c/p\u003e\n\nAICommander is an AI-powered command line tool that generates command line\ninstructions based on user queries. It supports multiple AI providers\n(Anthropic, xAI, OpenAI) and provides a helpful assistant specializing in\ncommand line operations for different operating systems.\n\n[![asciicast](https://asciinema.org/a/KGEejCmg0Q7ygnc1xMRHmS9Y0.svg)](https://asciinema.org/a/KGEejCmg0Q7ygnc1xMRHmS9Y0)\n\n## Features\n\n- Generates command line instructions tailored to the user's operating system\n  and current directory.\n- Supports multiple AI providers: Anthropic (Claude), xAI (Grok), and OpenAI\n  (GPT).\n- Provides reasoning for each generated command.\n- Interactive prompt to execute the suggested command.\n- Auto-run mode with `-r` flag to skip confirmation.\n\n## Requirements\n\n- Deno runtime\n- API key for at least one supported provider:\n  - `ANTHROPIC_API_KEY` for Anthropic (Claude)\n  - `XAI_API_KEY` for xAI (Grok)\n  - `OPENAI_API_KEY` for OpenAI (GPT)\n\n## Installation\n\n1. Ensure you have Deno installed on your system. You can install it from\n   https://deno.com/.\n2. Clone the repository or download the source files.\n3. Copy `.env.example` to `.env` and add your API key(s).\n\n## Usage\n\nRun the tool using the Deno CLI:\n\n```sh\ndeno task dev \"What is the command to list all files?\"\n```\n\nOr run directly:\n\n```sh\ndeno run -A main.ts \"How do I find files larger than 100MB?\"\n```\n\nUse the `-r` flag to auto-execute the command without confirmation:\n\n```sh\ndeno run -A main.ts -r \"List all running processes\"\n```\n\nFollow the interactive prompt to execute the command if you agree with the\nsuggestion.\n\n## Provider Priority\n\nWhen multiple API keys are set, AICommander uses the first available provider in\nthis order:\n\n1. Anthropic (Claude claude-haiku-4-5)\n2. xAI (Grok grok-4-1-fast-non-reasoning)\n3. OpenAI (GPT gpt-5-mini)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famscotti%2Faicommander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famscotti%2Faicommander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famscotti%2Faicommander/lists"}