wollfoo/codex-cli/common

Claude Code and agent skill by wollfoo/codex-cli

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Shared utilities for Gemini-based skills including API key management, Vertex AI configuration, and client helpers. Use as dependency for skills requiring Gemini API access.

Install

npx vskill@latest install wollfoo/codex-cli/common

SKILL.md

The same SKILL.md was published earlier as wollfoo/codex-cli/common.

Common Skill Utilities

Thư viện dùng chung cho các skills sử dụng Gemini API.

Capabilities

  • API Key Management (quản lý API key) – Tự động tìm GEMINI_API_KEY từ nhiều nguồn
  • Vertex AI Support (hỗ trợ Vertex AI) – Chuyển đổi giữa AI Studio và Vertex AI
  • Client Helpers (trợ giúp client) – Tự động khởi tạo client phù hợp

Usage

python
import sys
from pathlib import Path
# Thêm common directory vào path
common_dir = Path(__file__).parent.parent.parent / 'common'
sys.path.insert(0, str(common_dir))
from api_key_helper import get_api_key_or_exit, get_client, get_vertex_config
# Lấy API key
api_key = get_api_key_or_exit()
# Hoặc lấy client tự động
client_info = get_client()

API Key Lookup Order

  1. Process environment variable (GEMINI_API_KEY)
  2. Project root .env file
  3. .claude/.env file
  4. .claude/skills/.env file
  5. Skill directory .env file

Vertex AI Configuration

bash
export GEMINI_USE_VERTEX=true
export VERTEX_PROJECT_ID=your-gcp-project-id
export VERTEX_LOCATION=us-central1

Files

  • api_key_helper.py – Main utility module
  • README.md – Detailed documentation

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wollfoo/codex-cli/common/badge)](https://verified-skill.com/skills/wollfoo/codex-cli/common)

Something wrong with this skill or its page? Tell us.