소스 정보
- 저장소
- 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 ai-universe-httpie명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | ai-universe-httpie |
| description | Use HTTPie to call AI Universe MCP server for multi-model analysis |
| type | usage |
| scope | project |
This skill demonstrates how to use HTTPie to call the AI Universe MCP server directly for multi-model AI feedback.
Install HTTPie:
# macOS
brew install httpie
# Ubuntu/Debian
apt-get install httpie
# Python (universal)
pip install httpie
Authenticate:
node scripts/auth-cli.mjs login
Prerequisite: Run
node scripts/auth-cli.mjs loginat least once so a valid token exists locally.
# Export token for reuse
export TOKEN=$(node scripts/auth-cli.mjs token)
MCP_URL="https://ai-universe-backend-dev-114133832173.us-central1.run.app/mcp"
echo '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "agent.second_opinion",
"arguments": {
"question": "Should I use Redis or in-memory caching for rate limiting?"
}
},
"id": 1
}' | http POST "$MCP_URL" \
Accept:'application/json, text/event-stream' \
Authorization:"Bearer $TOKEN" \
--timeout=180
# Create request JSON
REQUEST_JSON=$(cat <<'EOF'
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "agent.second_opinion",
"arguments": {
"question": "Design Review: Authentication system using Firebase\n\nAnalyze the architectural decisions:\n- Is OAuth flow appropriate?\n- Are there better alternatives?\n- What are potential security issues?\n- Industry best practices comparison?"
}
},
"id": 1
}
EOF
)
# Send request with HTTPie
echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Accept:'application/json, text/event-stream' \
Authorization:"Bearer $TOKEN" \
--timeout=180 \
--print=b
QUESTION="Code Review: Review this authentication flow for:
- Security vulnerabilities
- Token handling best practices
- Error handling gaps
- Rate limiting implementation
- Session management"
echo "{
\"jsonrpc\": \"2.0\",
\"method\": \"tools/call\",
\"params\": {
\"name\": \"agent.second_opinion\",
\"arguments\": {
\"question\": $(echo "$QUESTION" | jq -Rs .)
}
},
\"id\": 1
}" | http POST "$MCP_URL" \
Accept:'application/json, text/event-stream' \
Authorization:"Bearer $TOKEN" \
--timeout=180
http POST "$MCP_URL" \
Accept:'application/json, text/event-stream' \
Authorization:"Bearer $TOKEN" \
jsonrpc=2.0 \
method=tools/call \
params:='{
"name": "agent.second_opinion",
"arguments": {
"question": "Bug Investigation: Investigate potential issues:\n- Race conditions in async operations\n- Memory leaks in long-running processes\n- Edge cases in error handling\n- Type safety concerns"
}
}' \
id:=1
# Default behavior - pretty JSON output
echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN"
echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN" \
--download \
--output=response.json
echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN" \
--print=HhBb # H=request headers, h=response headers, B=request body, b=response body
echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN" \
--follow
echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN" \
--timeout=300 # 5 minutes
RESPONSE=$(echo "$REQUEST_JSON" | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN" \
--print=b)
echo "$RESPONSE" | jq -r '.result.content[0].text' | jq -r '.primary.response'
echo "$RESPONSE" | jq -r '.result.content[0].text' | jq -r '.synthesis.response'
echo "$RESPONSE" | jq -r '.result.content[0].text' | jq '{
models: .summary.totalModels,
tokens: .summary.totalTokens,
cost: .summary.totalCost
}'
# Get current rate limit status
USER_ID=$(node scripts/auth-cli.mjs status | awk '/UID:/ {print $2}')
if [ -z "$USER_ID" ]; then
echo "❌ Unable to determine user ID. Run: node scripts/auth-cli.mjs login"
else
jq -n --arg user_id "$USER_ID" '{
jsonrpc: "2.0",
method: "tools/call",
params: {
name: "rate-limit.status",
arguments: {
userId: $user_id
}
},
id: 1
}' | http POST "$MCP_URL" \
Authorization:"Bearer $TOKEN"
fi
if echo "$RESPONSE" | jq -e '.error' >/dev/null 2>&1; then
echo "Error:" $(echo "$RESPONSE" | jq -r '.error')
# Check for rate limit
if echo "$RESPONSE" | jq -e '.details.resetTime' >/dev/null 2>&1; then
echo "Rate limited. Reset at:" $(echo "$RESPONSE" | jq -r '.details.resetTime')
fi
fi
#!/bin/bash
# Get token
TOKEN=$(node scripts/auth-cli.mjs token 2>/dev/null)
if [ $? -ne 0 ]; then
echo "❌ Not authenticated. Run: node scripts/auth-cli.mjs login"
exit 1
fi
# Construct question
QUESTION="$1"
if [ -z "$QUESTION" ]; then
echo "Usage: $0 'your question here'"
exit 1
fi
# Send request
RESPONSE=$(echo "{
\"jsonrpc\": \"2.0\",
\"method\": \"tools/call\",
\"params\": {
\"name\": \"agent.second_opinion\",
\"arguments\": {
\"question\": $(echo "$QUESTION" | jq -Rs .)
}
},
\"id\": 1
}" | http POST "https://ai-universe-backend-dev-114133832173.us-central1.run.app/mcp" \
Accept:'application/json, text/event-stream' \
Authorization:"Bearer $TOKEN" \
--timeout=180 \
--print=b)
# Parse and display
echo "$RESPONSE" | jq -r '.result.content[0].text' | jq '.'
Why HTTPie is preferred:
HTTPie Example:
http POST $URL Authorization:"Bearer $TOKEN" < request.json
curl Equivalent:
curl -X POST "$URL" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d @request.json
~/.claude/scripts/secondo-cli.sh - Implementation reference