소스 정보
- 저장소
- jleechanorg/claude-commands
- 최근 소스 활동
- 2026년 3월 18일 15:39
- 감지된 SKILL.md 언어
- 영어
- 스타
- 3
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jleechanorg/claude-commands --skill test-api-keys-ai-universe명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | test-api-keys-ai-universe |
| description | Test API keys against jleechanorg/ai_universe repository services |
| type | testing |
| scope | project |
This skill provides a script to test API keys from your .bashrc against the actual services used by the jleechanorg/ai_universe repository.
The script:
ai_universe repository to /tmpcurl installed (usually pre-installed on macOS/Linux)git installed~/.bashrc# Run the test script
bash /tmp/test_ai_universe_api_keys.sh
The script will:
~/.bashrcai_universe repository to /tmp/ai_universe_api_test_*/The script tests the following API keys (loaded from ~/.bashrc):
| API Key | Service | Purpose in AI Universe |
|---|---|---|
GITHUB_TOKEN | GitHub API | Repository access and authentication |
GEMINI_API_KEY | Google Gemini | Primary AI model for game master |
OPENAI_API_KEY | OpenAI | Multi-model synthesis |
ANTHROPIC_API_KEY | Anthropic Claude | Multi-model synthesis |
PERPLEXITY_API_KEY | Perplexity | Multi-model synthesis |
OPENROUTER_API_KEY | OpenRouter | Multi-model synthesis |
========================================
AI Universe API Key Testing
========================================
Loading API keys from ~/.bashrc...
Cloning ai_universe repository...
✅ Repository cloned successfully
Checking API key usage in repository...
✅ Found API key references in:
- backend/server.py
- frontend/src/services/ai.ts
Testing API keys...
Testing GitHub repo access...
✅ GitHub token valid - Can access repo: jleechanorg/ai_universe
Testing Gemini API...
✅ Gemini API key valid - Can list models
Testing OpenAI API...
✅ OpenAI API key valid
Testing Anthropic API...
✅ Anthropic API key valid
Testing Perplexity API...
✅ Perplexity API key valid
Testing OpenRouter API...
✅ OpenRouter API key valid
========================================
Test Summary
========================================
Passed: 6
Failed: 0
Total: 6
✅ All API keys are valid!
If the script doesn't exist at /tmp/test_ai_universe_api_keys.sh, you can recreate it:
# The script is created automatically, but if needed, you can ask Claude to recreate it
# or copy it from the project documentation
If you see "❌ API_KEY not set" errors:
Verify keys are in .bashrc:
grep -E "export (GITHUB_TOKEN|GEMINI_API_KEY|OPENAI_API_KEY|ANTHROPIC_API_KEY|PERPLEXITY_API_KEY|OPENROUTER_API_KEY)=" ~/.bashrc
Reload your shell:
source ~/.bashrc
Check key format:
export KEY_NAME="value"= signIf GitHub token test fails:
Check token permissions:
repo scope for private repositoriesread:org for organization repositoriesVerify token is valid:
curl -H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/user
Regenerate token if needed:
If an API key test fails:
Check the key value:
echo $GEMINI_API_KEY # Replace with the failing key name
Verify key hasn't expired:
Check quota/credits:
If the repository clone fails:
Check network connectivity:
ping github.com
Verify repository exists:
curl -I https://github.com/jleechanorg/ai_universe
Check GitHub access:
You can integrate this script into CI/CD pipelines:
# Example GitHub Actions workflow
- name: Test API Keys
run: |
bash /tmp/test_ai_universe_api_keys.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
# ... other keys
Set up a cron job to test keys periodically:
# Add to crontab (crontab -e)
# Test API keys daily at 2 AM
0 2 * * * bash /tmp/test_ai_universe_api_keys.sh >> /tmp/api_key_test.log 2>&1
/tmp/ that are automatically cleaned up~/.bashrc but not logged or storedThe script is located at:
/tmp/test_ai_universe_api_keys.sh/tmp/ai_universe_api_test_*/ (temporary, auto-cleaned)/tmp/ai_universe_api_test_*/ai_universe/ (temporary)The script is automatically maintained and can be recreated if needed. To update:
/tmp/test_ai_universe_api_keys.sh# 1. Test all API keys
bash /tmp/test_ai_universe_api_keys.sh
# 2. If GitHub fails, check token
curl -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/user
# 3. If Gemini fails, test directly
curl "https://generativelanguage.googleapis.com/v1beta/models?key=$GEMINI_API_KEY"
# 4. Fix any issues and re-run
bash /tmp/test_ai_universe_api_keys.sh