Initial: Claude config with agents, skills, commands, rules and scripts

This commit is contained in:
2026-02-16 20:21:30 -03:00
commit 8779f3a0a4
153 changed files with 27484 additions and 0 deletions

11
scripts/glm Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
export ANTHROPIC_BASE_URL="https://api.z.ai/api/anthropic"
export ANTHROPIC_AUTH_TOKEN="$GLM_API_KEY"
export API_TIMEOUT_MS="3000000"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
export ANTHROPIC_MODEL="glm-4.7"
export ANTHROPIC_SMALL_FAST_MODEL="glm-4.7"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="glm-4.7"
export ANTHROPIC_DEFAULT_SONNET_MODEL="glm-4.7"
export ANTHROPIC_DEFAULT_OPUS_MODEL="glm-4.7"
claude --dangerously-skip-permissions "$@"

36
scripts/glm-quota Normal file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
echo "╔══════════════════════════════════════════════════════╗"
echo "║ 📊 GLM CODING PLAN QUOTA ║"
echo "╚══════════════════════════════════════════════════════╝"
response=$(curl -s -X GET "https://api.z.ai/api/monitor/usage/quota/limit" \
-H "Authorization: Bearer $GLM_API_KEY" \
-H "Content-Type: application/json")
if echo "$response" | grep -q "error"; then
echo "❌ Error: $response"
exit 1
fi
echo "$response" | python3 -c "
import json, sys
data = json.load(sys.stdin)
limits = data.get('data', {}).get('limits', [])
for l in limits:
ltype = l.get('type', 'Unknown')
pct = l.get('percentage', 0)
remaining = l.get('remaining', 0)
total = l.get('number', 0)
if ltype == 'TIME_LIMIT':
print(f\"\n⏱ Límite de tiempo: {remaining/1000/60:.1f} minutos restantes\")
elif ltype == 'TOKENS_LIMIT':
print(f\"\n🔢 Límite de tokens: {remaining/1001000:.1f}M restantes\")
print(f\"📊 Usado: {pct:.1f}%\")
"
echo ""
echo "═══════════════════════════════════════════════════════"

9
scripts/kimi Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
export ANTHROPIC_BASE_URL="https://api.kimi.com/coding/v1"
export ANTHROPIC_AUTH_TOKEN="$KIMI_API_KEY"
export ANTHROPIC_MODEL="kimi-for-coding"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="kimi-for-coding"
export ANTHROPIC_DEFAULT_SONNET_MODEL="kimi-for-coding"
export ANTHROPIC_DEFAULT_OPUS_MODEL="kimi-for-coding"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
claude --dangerously-skip-permissions "$@"

32
scripts/minimax-quota Normal file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
echo "╔══════════════════════════════════════════════════════╗"
echo "║ 📊 MINIMAX CODING PLAN QUOTA ║"
echo "╚══════════════════════════════════════════════════════╝"
response=$(curl -s -X GET "https://api.minimax.io/v1/api/openplatform/coding_plan/remains" \
-H "Authorization: Bearer $MINIMAX_API_KEY" \
-H "Content-Type: application/json")
if echo "$response" | grep -q "error"; then
echo "❌ Error: $response"
exit 1
fi
echo "$response" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for m in data.get('model_remains', []):
remaining_min = m['remains_time']/1000/60
used = m['current_interval_usage_count']
total = m['current_interval_total_count']
pct = (used/total)*100
print(f\"\n📱 Modelo: {m['model_name']}\")
print(f\"⏱️ Tiempo restante: {remaining_min:.1f} minutos\")
print(f\"📊 Requests usados: {used}/{total} ({pct:.1f}%)\")
print(f\"📅 Período: Semanal\")
"
echo ""
echo "═══════════════════════════════════════════════════════"