--- name: claude-gorev description: Use when implementation or technical review is needed. version: 1.0.0 author: HamaratLabs license: MIT --- # Claude Görev Yürütücüsü Use Claude Code as the implementation worker. ## Architecture and authentication - This is the canonical Claude worker procedure for the default Hermes profile: the Hermes parent coordinates; the official Claude Code CLI executes Claude work only when a CLI-specific feature is needed (default coding path is Hermes-native, see agent-router). Don't hardcode the account's subscription tier — it has drifted before (once read as one tier, a later live check found a different `subscriptionType` (an org account)). Read `claude auth status`'s `subscriptionType`/`orgName` fresh each time a plan-tier assumption matters. - Keep the CLI worker route unless the user explicitly requests a different route. `delegate_task` is a Hermes child, not a Claude Code process. Do not silently change persistent providers, fallbacks, or delegation pins. - Distinguish chosen architecture from capability: direct Hermes Anthropic inference can work even when the official Claude CLI reports a Pro subscription. Do not claim Max is empirically mandatory or infer billing/entitlement from docs alone. A prior organization OAuth 403 proves that attempt failed, not that all subsequent direct calls must fail. - When the user explicitly requests a direct-Claude test, run a bounded fresh Hermes agent with `hermes chat --provider anthropic --model --oneshot --quiet --ignore-rules --toolsets terminal --max-turns 3 --run-budget 75 -q ''`. This launches Hermes, not `claude -p`, without changing persistent routing. Verify successful model/provider API rows and the stored tool result for the exact session, not the child's self-reported identity. `python -c` may be blocked in single-query mode; use a harmless `pwd` probe to test tool plumbing without weakening approval settings. A green smoke test does not establish long-term stability or billing. - Use the installed official `claude` executable; inspect `command -v claude` and `claude --version`. Do not introduce token bridges, new wrappers, extra services, API billing, or another installation merely to run the CLI. - Check `claude auth status` in the same shell and working directory as the worker. If logged out, stop and ask the user to run `claude auth login --claudeai` in their own terminal. Do not open login screens, log out, extract Keychain tokens, or accept authorization codes in chat. - Keep quota telemetry separate and leave its existing implementation unchanged. A successful quota probe does not authorize a CLI inference call. - Prove readiness with a no-tools, one-turn `claude -p` smoke test, then the real scoped task. Do not report Claude ready from installed-version or login-status output alone. Do not use `--bare` for subscription OAuth: it skips OAuth/Keychain. ## Adding another Anthropic/Claude account Two separate, non-overlapping mechanisms exist — pick based on which consumer needs the second account, don't conflate them: - **Claude Code CLI multi-account** (for this skill's own worker): each account gets its own `CLAUDE_CONFIG_DIR`, logged in separately (`CLAUDE_CONFIG_DIR=~/.claude-