{"id":"84396ae8-bb00-4c36-a15a-39a46d2ebe4e","entityType":"agent","slug":"starychenko-claude-code-agent","name":"claude-code-agent","canonicalUrl":"https://www.xpersona.co/agent/starychenko-claude-code-agent","canonicalPath":"/agent/starychenko-claude-code-agent","generatedAt":"2026-10-09T19:12:56.055Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"description":"Claude Code Agent --- name: claude-code-agent description: Manage Claude Code as a developer agent on the server. Use when Zhenya assigns coding tasks, asks for code review, wants changes in a project, or asks about project status. Handles task delegation, session management, Git workflow, and two-way notifications automatically. Projects: calendar (github.com/starychenko/calendar), manager, opencart. --- Claude Code Agent I am the PM","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"git clone https://github.com/starychenko/claude-code-agent.git","sourceUrl":"https://github.com/starychenko/claude-code-agent","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/starychenko/claude-code-agent","kind":"source"}],"safetyScore":94,"overallRank":30.7,"popularityScore":0,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Claude Code Agent --- name: claude-code-agent description: Manage Claude Code as a developer agent on the server. Use when Zhenya assigns coding tasks, asks for"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"protocols":[{"protocol":"MCP","label":"MCP","status":"self-declared","notes":"Declared in the public agent profile."},{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":2,"capabilityMatrix":{"rows":[{"key":"MCP","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:MCP|unknown|profile protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No source adoption metrics were available."},"stars":0,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-04-15T01:13:19.420Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T05:21:22.124Z","lastCrawledAt":"2026-04-15T01:13:19.420Z","lastIndexedAt":null,"nextCrawlAt":"2026-04-16T01:13:19.420Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"git clone https://github.com/starychenko/claude-code-agent.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["MCP","OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T19:12:56.055Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/starychenko-claude-code-agent/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"readme":"---\nname: claude-code-agent\ndescription: Manage Claude Code as a developer agent on the server. Use when Zhenya assigns coding tasks, asks for code review, wants changes in a project, or asks about project status. Handles task delegation, session management, Git workflow, and two-way notifications automatically. Projects: calendar (github.com/starychenko/calendar), manager, opencart.\n---\n\n# Claude Code Agent\n\nI am the PM/Architect. Claude Code (running on this server) is the developer.\nClaude Code: v2.1.49 | Project root: `/opt/projects/` | MCP server: `http://localhost:3100/mcp`\n\n## Core Workflow\n\n### When Zhenya gives a coding task\n1. **Write task** to MCP via task-manager (see Task Description Format below)\n2. **Run Claude Code** via `run-claude.sh` (background)\n3. **Auto-review fires** — stop hook wakes me via cron when Claude Code finishes\n4. **I review** automatically: task status, git log, build/lint, code quality\n5. **Update** `memory/projects/<project>.md` — PM perspective: what was decided and WHY\n6. **Report to Zhenya** with summary + `git pull` instruction\n\n> ⚠️ Zhenya does NOT need to trigger review manually — the stop hook handles it.\n\n### When Zhenya asks about project status\n```bash\ncd /opt/cody-mcp && node task-manager.js status\ncd /opt/projects/<project> && git log --oneline -5\n```\n\n### Checking intermediate progress (without waiting for completion)\n```bash\ncd /opt/cody-mcp && node task-manager.js status   # progress log from report_progress()\nfind /opt/projects/<project> -newer <reference_file> -not -path \"*/node_modules/*\" -not -path \"*/.next/*\"\nps aux | grep claude   # confirm process is alive\n```\n\n## Task Description Format\n\n### ⚠️ Two-phase tasks (for anything with architectural decisions)\n\nWhen the task involves new files, new dependencies, or choosing an approach — **always split into phases**:\n\n```\nPhase 1 — Analysis only:\n\nWhat: Analyze codebase and propose approach for <feature>\n\nSteps:\n1. Explore relevant files\n2. Identify all affected areas\n3. Propose specific approach with reasoning (alternatives considered)\n4. List all files that would be created or changed\n\nAfter analysis:\n- report_progress(blocked) with the proposed plan\n- request_review() — STOP, do not write any code\n- Wait for get_next_step() confirmation before proceeding\n```\n\nThen after I approve:\n```\nPhase 2 — Implementation:\n\nWhat: Implement <feature> using <approved approach>\n\nSteps: ...\nConstraints: ...\nVerification: npm run lint && npm run build must pass\nAfter completion: git commit + push, request_review()\n```\n\n### Single-phase tasks (bug fixes, refactoring within existing patterns)\n\n```\nWhat: <one sentence>\n\nSteps:\n1. <specific action>\n2. <specific action>\n\nConstraints:\n- <guardrail or rule>\n\nVerification:\n- npm run lint && npm run build must pass\n- <specific thing to check>\n\nAfter completion:\n- git commit + push\n- request_review()\n```\n\n## Claude Code Autonomy Rules\n\nThese are enforced via `~/.claude/CLAUDE.md` (global rules). Summary:\n\n| Level | When | Action |\n|---|---|---|\n| ✅ **1 — Autonomous** | Bug fix, refactor, lint fix, small UI tweak in existing pattern | Just do it |\n| ⏸️ **2 — Stop & ask** | New file/dir, new dependency, architecture choice, new pattern | `report_progress(blocked)` with plan → wait for `get_next_step()` |\n| 🚫 **3 — Never without explicit approval** | Breaking changes, production/deployment changes | Stop, escalate to Cody + Zhenya |\n\n**Rule of thumb:** if unsure → treat as Level 2.\n\n## Set a Task\n\n```bash\ncd /opt/cody-mcp\n\n# Set active task\nnode task-manager.js set <project> \"<title>\" \"<detailed description>\"\n\n# Queue next task\nnode task-manager.js queue <project> \"<title>\" \"<description>\"\n\n# Check status\nnode task-manager.js status\n\n# Clear task + review queue\nnode task-manager.js clear\n```\n\n## Run Claude Code\n\n```bash\n# Run task on project (auto-resumes session if exists)\nbash /opt/cody-mcp/run-claude.sh /opt/projects/<project>\n```\n\nClaude Code will:\n1. Resume or create a project session\n2. Call `get_task` via MCP → get instructions\n3. Call `get_project_context` → load conventions\n4. Plan with `TodoWrite` (for complex tasks)\n5. Execute → verify (`npm run lint && npm run build`)\n6. `report_progress(done)` + `request_review()` → triggers stop hook\n\n## Stop Hook — Two-Way Communication\n\n`~/.claude/hooks/on-stop.sh` does two things on every Claude Code exit:\n1. **Telegram to Zhenya:** \"Claude Code завершив. Cody перевіряє...\"\n2. **cron wake to me (Cody):** `POST /tools/invoke → cron.wake` with context → I auto-review\n\n### ⚠️ After auto-review: MUST use message() tool\nAfter completing the review, I **must** call `message(action=send, channel=telegram, to=111875068)` proactively.\n**Do NOT** just reply in the session — that only works if Zhenya is already writing to me.\nThe `message()` call guarantees Zhenya receives the PM summary immediately, without needing to ping me.\n\n## Session Management\n\nSessions stored in `/opt/cody-mcp/data/session-<project>.json`.\n- First run → new session ID generated\n- Subsequent runs → `--resume <id>` (Claude Code remembers context)\n- Reset context: `rm /opt/cody-mcp/data/session-<project>.json`\n\n## Project Setup (new project)\n\nSee `references/project-setup.md` for full checklist.\n\nQuick version:\n1. Clone to `/opt/projects/<name>`\n2. Set git remote to SSH: `git remote set-url origin git@github.com:...`\n3. Create `.claude/rules/` structure (guardrails, git-workflow, architecture)\n4. Shorten CLAUDE.md to ~150 lines, move details to `.claude/rules/`\n5. Add `~/.claude/CLAUDE.md` global rules if not exists\n\n## Memory & Rules System\n\nSee `references/memory-system.md` for full details.\n\nQuick reference:\n| File | Purpose |\n|---|---|\n| `~/.claude/CLAUDE.md` | Global rules (all projects) — autonomy levels, git, reporting |\n| `./CLAUDE.md` | Project rules (~150 lines max) |\n| `./.claude/rules/*.md` | Modular rules (auto-loaded) |\n| `./CLAUDE.local.md` | Local private (gitignored) |\n| `~/.claude/projects/*/memory/` | Auto memory (Claude writes) |\n\n## Autonomous Knowledge Capture (без нагадувань)\n\n| Хто пише | Куди | Що | Коли |\n|---|---|---|---|\n| MCP сервер | `memory/projects/<proj>.md` | Задача + що зроблено | При `report_progress(done)` |\n| Claude Code | `.claude/rules/decisions.md` | Архітект. рішення + WHY | Коли є реальний вибір |\n| Claude Code | `~/.claude/projects/*/memory/` | Auto memory (патерни, баги) | Постійно під час роботи |\n| Я (Cody) | `memory/projects/<proj>.md` | PM perspective + наступні кроки | Після кожного auto-review |\n\n**Читати при відновленні роботи по проекту:**\n```bash\ncat ~/.openclaw/workspace/memory/projects/<project>.md   # що робили і навіщо\ncat /opt/projects/<project>/.claude/rules/decisions.md   # архітект. рішення\ncd /opt/cody-mcp && node task-manager.js status          # поточний стан\n```\n\n## Infrastructure\n\n| Component | Location |\n|---|---|\n| MCP server | `systemctl status cody-mcp` · port 3100 |\n| Run script | `/opt/cody-mcp/run-claude.sh` |\n| Task manager | `/opt/cody-mcp/task-manager.js` |\n| Stop hook | `~/.claude/hooks/on-stop.sh` |\n| Task data | `/opt/cody-mcp/data/tasks.json` |\n| Logs | `/opt/cody-mcp/logs/` |\n| Projects | `/opt/projects/<name>/` |\n| Claude auth | `~/.claude/.credentials.json` |\n| Global rules | `~/.claude/CLAUDE.md` |\n| Gateway wake API | `POST http://localhost:18789/tools/invoke` + Bearer token |\n\n## Troubleshooting\n\n**MCP not connected:**\n```bash\nclaude mcp list   # should show cody: Connected\nsystemctl status cody-mcp\n```\n\n**Claude Code auth expired:**\n```bash\nclaude  # запустити інтерактивно → авторизуватись\n```\n\n**Session broken:**\n```bash\nrm /opt/cody-mcp/data/session-<project>.json\n# наступний запуск створить нову сесію\n```\n\n**Build fails after Claude Code changes:**\n→ Перевір лог: `tail -50 /opt/cody-mcp/logs/claude-*.log | tail -1 | xargs cat`\n→ Постав нову задачу: \"Fix lint/build errors introduced in previous commit\"\n\n**Stop hook wake not arriving:**\n```bash\n# Test manually:\ncurl -s -X POST \"http://localhost:18789/tools/invoke\" \\\n  -H \"Authorization: Bearer $(pass show services/openclaw-gateway-token)\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"tool\":\"cron\",\"args\":{\"action\":\"wake\",\"text\":\"test\",\"mode\":\"now\"}}'\n```\n","readmeExcerpt":"--- name: claude-code-agent description: Manage Claude Code as a developer agent on the server. Use when Zhenya assigns coding tasks, asks for code review, wants changes in a project, or asks about project status. Handles task delegation, session management, Git workflow, and two-way notifications automatically. Projects: calendar (github.com/starychenko/calendar), manager, opencart. --- Claude Code Agent I am the PM","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"cd /opt/cody-mcp && node task-manager.js status\ncd /opt/projects/<project> && git log --oneline -5"},{"language":"bash","snippet":"cd /opt/cody-mcp && node task-manager.js status   # progress log from report_progress()\nfind /opt/projects/<project> -newer <reference_file> -not -path \"*/node_modules/*\" -not -path \"*/.next/*\"\nps aux | grep claude   # confirm process is alive"},{"language":"text","snippet":"Phase 1 — Analysis only:\n\nWhat: Analyze codebase and propose approach for <feature>\n\nSteps:\n1. Explore relevant files\n2. Identify all affected areas\n3. Propose specific approach with reasoning (alternatives considered)\n4. List all files that would be created or changed\n\nAfter analysis:\n- report_progress(blocked) with the proposed plan\n- request_review() — STOP, do not write any code\n- Wait for get_next_step() confirmation before proceeding"},{"language":"text","snippet":"Phase 2 — Implementation:\n\nWhat: Implement <feature> using <approved approach>\n\nSteps: ...\nConstraints: ...\nVerification: npm run lint && npm run build must pass\nAfter completion: git commit + push, request_review()"},{"language":"text","snippet":"What: <one sentence>\n\nSteps:\n1. <specific action>\n2. <specific action>\n\nConstraints:\n- <guardrail or rule>\n\nVerification:\n- npm run lint && npm run build must pass\n- <specific thing to check>\n\nAfter completion:\n- git commit + push\n- request_review()"},{"language":"bash","snippet":"cd /opt/cody-mcp\n\n# Set active task\nnode task-manager.js set <project> \"<title>\" \"<detailed description>\"\n\n# Queue next task\nnode task-manager.js queue <project> \"<title>\" \"<description>\"\n\n# Check status\nnode task-manager.js status\n\n# Clear task + review queue\nnode task-manager.js clear"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"Claude Code Agent --- name: claude-code-agent description: Manage Claude Code as a developer agent on the server. Use when Zhenya assigns coding tasks, asks for code review, wants changes in a project, or asks about project status. Handles task delegation, session management, Git workflow, and two-way notifications automatically. Projects: calendar (github.com/starychenko/calendar), manager, opencart. --- Claude Code Agent I am the PM","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":379,"uniquenessScore":67,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T19:12:56.055Z","emptyReason":null},"items":[{"id":"c07bfd45-37e3-4ca4-bce7-0f2c138264a2","entityType":"agent","canonicalPath":"/agent/ard-urn-air-ai-revuo-mcp-revuo","slug":"ard-urn-air-ai-revuo-mcp-revuo","name":"Revuo","description":"Agent-callable B2B SaaS directory: capability-structured, continuously verified listings.","url":"https://www.revuo.ai/api/mcp","homepage":"https://www.revuo.ai/api/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T19:04:52.902Z","createdAt":"2026-10-09T02:32:15.408Z","downloads":null},{"id":"b72e3032-816c-4f68-bcc9-1a847aef4d79","entityType":"agent","canonicalPath":"/agent/ard-urn-air-ai-bankee-mcp-inferventis-mcp","slug":"ard-urn-air-ai-bankee-mcp-inferventis-mcp","name":"Inferventis MCP Server","description":"Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.","url":"https://mcp-server-295985738387.europe-west1.run.app/mcp","homepage":"https://mcp-server-295985738387.europe-west1.run.app/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T18:09:37.547Z","createdAt":"2026-10-09T02:32:16.798Z","downloads":null},{"id":"a785e560-2661-4edd-a374-5e8de7c54e7a","entityType":"agent","canonicalPath":"/agent/ard-urn-air-io-github-cleandev-fix-mcp-shortlistlens","slug":"ard-urn-air-io-github-cleandev-fix-mcp-shortlistlens","name":"ShortlistLens","description":"Structured website and review evidence for AI-assisted local-business shortlisting.","url":"https://shortlistlens-mcp.streaming22box.workers.dev/mcp","homepage":"https://shortlistlens-mcp.streaming22box.workers.dev/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T18:04:03.143Z","createdAt":"2026-10-09T02:32:13.915Z","downloads":null},{"id":"91842505-d59e-48ad-ae35-d504a6e8eadb","entityType":"agent","canonicalPath":"/agent/ard-urn-air-com-brainiall-mcp-nlp","slug":"ard-urn-air-com-brainiall-mcp-nlp","name":"Brainiall NLP","description":"Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.","url":"https://api.brainiall.com/mcp/nlp/mcp","homepage":"https://api.brainiall.com/mcp/nlp/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T16:12:13.999Z","createdAt":"2026-10-09T02:32:12.319Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"MCP","href":"/agent/protocol/mcp"},{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}