一键导入
api-consumption-audit
Auditoria profunda de consumo de API em todo o stack — crons, serviços, scripts, Docker
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auditoria profunda de consumo de API em todo o stack — crons, serviços, scripts, Docker
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | api-consumption-audit |
| description | Auditoria profunda de consumo de API em todo o stack — crons, serviços, scripts, Docker |
| triggers | ["audite consumo","o que está a usar api","revisão geral api","quem está a consumir requisições","análise de custos api"] |
Quando o Álvaro pedir para auditar consumo de API, investigar o que está causando uso excessivo de requisições, ou fazer "revisão geral profunda" em busca de tudo que consome API.
cronjob list
Analisar: schedule, modelo usado, se usa skill ou não. Frequência =/= consumo. Scripts Python puros não chamam API; agentes Hermes sim.
systemctl --user list-units --type=service --all
systemctl --user status <service>
grep -r "hermes chat\|--yolo\|--source tool\|chatcompletion\|minimax.*01\|AGENT_CMD" \
~/.hermes/scripts/ ~/.hermes/cron/ 2>/dev/null | grep -v "__pycache__"
Padrões de risco:
hermes chat --yolo num cron = AGENTE COMPLETO = múltiplas chamadas LLMAGENT_CMD = comando que spawna agente consumindo LLMopenrouter = pode ter rate limits diferentes de MiniMax directodocker ps
ps aux --sort=-%cpu
| Descoberta | Impacto Real | Sintoma | Status |
|---|---|---|---|
| Guardian Stress Test (every 120m) | ~36-60 chamadas LLM/dia | hermes chat --yolo em AGENT_CMD | ✅ REMOVIDO |
| Proactive Monitor v2 (every 30m) | 48 chamadas LLM/dia via OpenRouter | POST real para openrouter.ai | ✅ Reduzido para 2h |
| Session Summarization durante restart | 5-10 erros 401 em cascata | 401 invalid api key após restart | ⚠️ Normal, auto-correcta |
| 429 insufficient balance (1008) | Queda para OpenRouter free tier | Todas as msgs ficam lentas | ⚠️ Requer credits |
grep -r "hermes chat\|--yolo\|--source tool\|chatcompletion\|minimax.*01\|AGENT_CMD" \
~/.hermes/scripts/ ~/.hermes/cron/ 2>/dev/null | grep -v "__pycache__"
O erro 429 pode ter significados diferentes:
| Código | Significado | Ação |
|---|---|---|
429 insufficient balance (1008) | Saldo esgotado | Adicionar créditos MiniMax |
429 rate limited | Rate limit por minuto | Aguardar, não reiniciar |
429 via OpenRouter | Limite do provider free tier | Normal, esperar retry |
Sintoma típico de saldo esgotado: após restart do gateway, começa a aparecer 429 e depois cai em cascata para fallback OpenRouter em todas as mensagens.
Verificação:
grep "429\|insufficient\|1008" ~/.hermes/logs/errors.log | tail -20
Se aparecer insufficient balance (1008) → é saldo, não rate limit.
Erros 401 invalid api key (2049) no session summarization aparecem durante/após restart do gateway. Causa: o summarization tenta usar a API antes de o auth estar completamente disponível.
Características:
gateway restart aconteceSe persistirem > 5 min após restart, verificar se o auth.json está acessível.
ps aux = 0 API callsinvalid api key durante restart = normal, não é chave inválida real(1008) = saldo esgotado, não rate limit clássico — requer credits, não retryTransforms the Hermes agent from a reactive question-answerer into a proactive autonomous executor. ARCHITECT takes any high-level goal, decomposes it into a dependency-aware task graph, executes each step with validation, self-corrects on failure, and delivers results — all without hand-holding. The missing execution layer for personal AI agents. Zero dependencies. Zero config. Works with any model. Pairs with apex-agent and agent-memoria for the complete autonomous agent stack.
Auto-reflective self-improvement skill — extracts learnings from corrections and success patterns, permanently encodes them into memory and skills. Philosophy: Correct once, never again.
Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team of 2+ agents with different specializations, (2) Defining task routing and lifecycle (inbox → spec → build → review → done), (3) Creating handoff protocols between agents, (4) Establishing review and quality gates, (5) Managing async communication and artifact sharing between agents.
Integrate existing autonomous agents (like Hermes) into multi-agent orchestration platforms (AionUI, LangChain, etc.) via ACP over stdio.
MiniMax Agent Platform (agent.minimax.io) — MaxHermes, MaxClaw, Skills marketplace. Relacao com Hermes Agent (NousResearch) e OpenClaw.
Paperclip AI agent operations — creating agents with hierarchy, autonomous operation via hierarchical issues, and troubleshooting. Use when: creating agents, setting up org hierarchy, recovering from errors, or monitoring agent health.