{"data":{"slug":"linshenkx-prompt-optimizer","name":"prompt-optimizer","tagline":"An AI prompt optimizer for writing better prompts and getting better AI results.","github_url":"https://github.com/linshenkx/prompt-optimizer","owner":"linshenkx","repo":"prompt-optimizer","owner_avatar_url":"https://avatars.githubusercontent.com/u/32978552?v=4","primary_language":"TypeScript","stars":33144,"forks":3890,"topics":["ai-prompts","ai-tools","llm","prompt","prompt-engineering","prompt-optimization","prompt-optimizer","prompt-testing","prompt-toolkit","prompt-tuning"],"archived":false,"github_pushed_at":"2026-08-13T14:23:12+00:00","maintenance_label":"Very active","stars_delta_30d":885,"url":"https://www.graphcanon.com/tools/linshenkx-prompt-optimizer","markdown_url":"https://www.graphcanon.com/tools/linshenkx-prompt-optimizer.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/linshenkx-prompt-optimizer","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=linshenkx-prompt-optimizer","description":"An AI prompt optimizer for writing better prompts and getting better AI results.","homepage_url":"https://prompt.always200.com","license":"Other","open_issues":7,"watchers":110,"ai_summary":"A tool focused on improving user-generated prompts to enhance the quality of responses from AI systems, particularly those involving large language models (LLMs).","readme_excerpt":"### 2. Web Deployment\n\n#### Vercel Deployment\nMethod 1: One-click deployment to your own Vercel:\n   \n\nMethod 2: Fork the project and import to Vercel (Recommended):\n   - First fork the project to your GitHub account\n   - Then import the project to Vercel\n   - This allows tracking of source project updates for easy syncing of new features and fixes\n- Configure environment variables:\n  - `ACCESS_PASSWORD`: Set access password to enable access restriction\n  - `VITE_OPENAI_API_KEY` etc.: Optional private-deployment model settings. Do not preconfigure API keys on public frontend deployments because `VITE_*` values are exposed in browser assets.\n\nFor more detailed deployment steps and important notes, please check:\n- [Vercel Deployment Guide](docs/user/deployment/vercel_en.md)\n- [Cloudflare Deployment Guide](docs/user/deployment/cloudflare-pages_en.md)\n\n#### Cloudflare Deployment\n\n\n\nUse the Deploy to Cloudflare button for the quickest public-repository setup. It creates a repository under your GitHub/GitLab account and deploys with Workers Builds. For private repositories or stricter repository-access control, import your own repository manually; keep the default deploy commands and clear the build command if Cloudflare auto-fills `pnpm run build`, because `wrangler.jsonc` builds the Web frontend and publishes `packages/web/dist` as static assets.\n\nFor access control and analytics on Cloudflare, configure Cloudflare Access and Cloudflare Web Analytics in the Cloudflare dashboard. No frontend dependency or application-code change is required.\n\n---\n\n### 4. Install Chrome Extension\n1. Install from Chrome Web Store (may not be the latest version due to approval delays): [Chrome Web Store](https://chromewebstore.google.com/detail/prompt-optimizer/cakkkhboolfnadechdlgdcnjammejlna)\n2. Click the icon to open the Prompt Optimizer\n\n---\n\n### 5. Docker Deployment\n<details>\n<summary>Click to view Docker deployment commands</summary>\n```bash\n\n---\n\n### 6. Docker Compose Deployment\n<details>\n<summary>Click to view Docker Compose deployment steps</summary>\n```bash\n\n---\n\n# Because the compose file is under docker/, pass the root .env explicitly.\n\n---\n\n# For downloaded .dmg files (run before installation)\nxattr -rd com.apple.quarantine ~/Downloads/PromptOptimizer-*.dmg\n```\n\nAfter running the command, you can open the application normally.\n\n</details>\n\n---\n\n## 📄 License\n\nThis project is licensed under [AGPL-3.0](LICENSE).\n\n**In simple terms**: You can freely use, modify, and commercialize this project, but if you turn it into a website or service for others, you must share your source code.\n\n<details>\n<summary>👉 Click for detailed explanation</summary>\n\n**What you can do:**\n- ✅ Personal use, learning, and research\n- ✅ Internal company use (not offering public services)\n- ✅ Modify code for commercial projects\n- ✅ Charge for products or services\n\n**What you must do:**\n- 📖 If distributing software or offering network services, disclose source code\n- 📝 Preserve original author's copyright notices\n\n**Core principle**: Commercial use is allowed, but not closed-source.\n\n</details>\n\n---\n\nIf this project is helpful to you, please consider giving it a Star ⭐️","github_created_at":"2025-02-12T06:06:49+00:00","created_at":"2026-07-07T17:31:57.661877+00:00","updated_at":"2026-08-16T12:02:08.798462+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"evaluation-observability","name":"Evaluation & Observability","url":"https://www.graphcanon.com/categories/evaluation-observability","markdown_url":"https://www.graphcanon.com/categories/evaluation-observability.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/evaluation-observability"}],"tags":[{"slug":"ai-prompts","name":"ai-prompts"},{"slug":"llm","name":"llm"},{"slug":"prompt-engineering","name":"prompt-engineering"},{"slug":"prompt-optimization","name":"prompt-optimization"},{"slug":"prompt-testing","name":"prompt-testing"}],"trust":{"provenance":{"is_fork":false,"github_id":931352845,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-16T12:02:07.792Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":4,"days_since_push":2,"last_release_at":"2026-07-27T06:25:01Z","stars_delta_30d":885,"open_issues_delta_30d":-2},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:58:05.220Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"mcp":{"source":"repo_scan","observed_at":"2026-08-16T12:02:08.225Z","server_manifest":false},"scan":{"source":"repo_scan","observed_at":"2026-08-16T12:02:08.225Z"},"deploy":{"source":"dockerfile:Dockerfile","self_host":true,"observed_at":"2026-08-16T12:02:08.225Z","managed_saas":false},"languages":{"value":["typescript","javascript"],"source":"github.language+package.json","observed_at":"2026-08-16T12:02:08.225Z"},"has_docker":{"value":true,"source":"dockerfile:Dockerfile","observed_at":"2026-08-16T12:02:08.225Z"},"license_spdx":{"value":"Other","source":"github.license","observed_at":"2026-08-16T12:02:08.225Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"unknown","summary":"The license information indicates an 'Other' category, suggesting a non-standard licensing model that could be open-source or involve alternative arrangements. Without specific pricing details, the 'P"},"requirements":{"notes":["Being written in TypeScript requires users to have a compatible environment that can handle this language."],"min_ram_gb":null,"requires_docker":false},"constraints":{"min_ram_gb":null,"pricing_model":"unknown","requires_docker":false},"when_to_use":["When developing applications that rely heavily on accurate responses from LLMs, using prompt-optimizer can refine your prompts to generate more precise outputs.","For developers who are looking for a tool specifically built in TypeScript, ensuring seamless integration within their existing TypeScript project environments."],"when_not_to_use":["If you work with languages other than TypeScript or require a language-specific optimization not available in prompt-optimizer’s framework.","In scenarios where the quality of AI responses is satisfactory and no significant improvement through prompt refinement is anticipated, investing time in using this tool may not be beneficial."],"source":"enrich:decision_facts","observed_at":"2026-07-11T12:58:58.633Z"},"constraint_facets":{"min_ram_gb":null,"pricing_model":"unknown","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"unknown - The license information indicates an 'Other' category, suggesting a non-standard licensing model that could be open-source or involve alternative arrangements. Without specific pricing details, the 'P"},{"label":"Requirements","value":"Being written in TypeScript requires users to have a compatible environment that can handle this language."},{"label":"Adopt for","value":"prompt-optimizer enhances the quality of user-generated prompts meant for large language models (LLMs), written in TypeScript and falls under the categories of Developer Tools and Evaluation & Observability."}]}}