{"id":38820986,"url":"https://github.com/gemini-cli-extensions/vertex","last_synced_at":"2026-01-17T13:04:45.419Z","repository":{"id":328249537,"uuid":"1098501160","full_name":"gemini-cli-extensions/vertex","owner":"gemini-cli-extensions","description":"A Gemini CLI extension provides tools to manage prompts in Vertex AI","archived":false,"fork":false,"pushed_at":"2025-12-12T00:04:45.000Z","size":283,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-13T04:41:42.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemini-cli-extensions.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-17T19:17:32.000Z","updated_at":"2025-12-12T00:04:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gemini-cli-extensions/vertex","commit_stats":null,"previous_names":["gemini-cli-extensions/vertex"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gemini-cli-extensions/vertex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fvertex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fvertex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fvertex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fvertex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemini-cli-extensions","download_url":"https://codeload.github.com/gemini-cli-extensions/vertex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-cli-extensions%2Fvertex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-17T13:04:44.817Z","updated_at":"2026-01-17T13:04:45.414Z","avatar_url":"https://github.com/gemini-cli-extensions.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vertex AI Gemini CLI Extension\n\nThis extension provides tools to manage prompts in Vertex AI directly from the Gemini CLI. It allows you to create, read, update, list, and delete prompts, making it easier to integrate prompt management into your development workflow.\n\n## Features\n\n*   **Create Prompt**: Save new prompts with specified content, system instructions, model, and display name.\n*   **Read Prompt**: Retrieve existing prompts by their ID.\n*   **Update Prompt**: Modify the content, system instructions, or model of an existing prompt.\n*   **Delete Prompt**: Remove prompts using their ID.\n*   **List Prompts**: Search and list prompts, useful for finding prompt IDs based on display names.\n\n## Prerequisites\n\n*   You have the [Gemini CLI](https://github.com/google-gemini/gemini-cli) installed.\n*   You have a Google Cloud project with the Vertex AI API enabled.\n*   You have authenticated with Google Cloud (e.g., by running `gcloud auth application-default login`).\n\n## Installation\n\nInstall the extension using the Gemini CLI:\n\n```bash\ngemini extensions install https://github.com/gemini-cli-extensions/vertex\n```\n\nAfter installation, set your Google Cloud Project ID and location. The extension requires these to function.\n\n```bash\nexport GOOGLE_CLOUD_PROJECT=\"your-project-id\"\nexport GOOGLE_CLOUD_LOCATION=\"us-central1\"\n```\n\n## Usage\n\nOnce installed and configured, you can use the Vertex AI prompt management tools by passing natural language commands to the Gemini CLI.\n\nHere are a few examples:\n\n*   **Create a prompt**:\n    ```bash\n    gemini \"create a prompt with content 'Hello World' and display name 'My First Prompt'\"\n    ```\n\n*   **List existing prompts**:\n    ```bash\n    gemini \"list prompts\"\n    ```\n\n*   **Read a specific prompt by ID**:\n    ```bash\n    gemini \"read prompt \u003cyour-prompt-id\u003e\"\n    ```\n\nFor more detailed information on all available commands and their parameters, please refer to the `extension/commands` files.\n\n## Development\n\n### Local Development Setup\n\nTo set up your development environment, first make the setup script executable, then run it:\n\n```bash\nsh ./dev-setup.sh\n```\n\nAfter running the script, activate your virtual environment:\n\n```bash\nsource .venv/bin/activate\n```\n\n\n### Code Quality\n\nThis project uses:\n\n*   **Ruff**: For linting and formatting.\n*   **Pyright**: For static type checking.\n\nTo run the checks:\n\n```bash\nuv run ruff check .\nuv run pyright\n```\n\nTo automatically fix formatting issues:\n\n```bash\nuv run ruff format .\n```\n\n### Testing\n\nTo run the unit tests locally:\n\n```bash\nuv run python3 -m unittest discover\n```\n\n### Pre-commit Hooks\n\nThis project uses `pre-commit` to enforce code quality checks automatically before commits and pushes. The `dev-setup.sh` script automatically installs these hooks for you.\n\n*   **On `git commit`**: `ruff` (linting and formatting) and `pyright` (static type checking) will run.\n*   **On `git push`**: `pytest` will run to execute the test suite.\n\n### Continuous Integration\n\nThis project uses GitHub Actions for CI. The workflow in `.github/workflows/ci.yml` automatically runs linting and type checking on every push and pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-cli-extensions%2Fvertex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemini-cli-extensions%2Fvertex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-cli-extensions%2Fvertex/lists"}