rk2725q-star/atcli/agentica-claude-proxy
Claude Code and agent skill by rk2725q-star/atcli
- community
Checking that the SKILL.md file is still in the repository.
Guide for integrating Agentica SDK with Claude Code CLI proxy
Install
npx vskill@latest install rk2725q-star/atcli/agentica-claude-proxySKILL.md
The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/agentica-claude-proxy.
Agentica-Claude Code Proxy Integration
Use this skill when developing or debugging the Agentica-Claude proxy integration.
When to Use
- Setting up Agentica agents to use Claude Code tools
- Debugging agent hallucination issues
- Fixing permission errors in file operations
- Understanding the REPL response format
Architecture Overview
Critical Requirements
1. --allowedTools Flag (REQUIRED)
Claude CLI in -p mode restricts file operations. You MUST add:
Without this, agents will report "permission denied" for Write/Edit operations.
2. SSE Streaming Format (REQUIRED)
Agentica expects SSE streaming, not plain JSON:
3. REPL Response Format (REQUIRED)
Agents MUST return results as Python code blocks with a return statement:
Agentica's REPL parser extracts code between \\\python and \\\.
Anti-Hallucination Prompt Engineering
Agents will hallucinate success without actually using tools unless you explicitly warn them:
Path Sandboxing
Both Claude Code and Agentica have sandboxes:
/tmp/paths are blocked by Claude Code- Files outside project directory blocked by Agentica
Solution: Use project-relative paths like workspace/ instead of /tmp/
Debugging
Check Agent Logs
Note: Logs only show final conversational response, not tool invocations.
Test Proxy Directly
Verify File Operations
Server Commands
Start Servers
Use Swarm
Health Checks
Reference Files
- Proxy implementation:
scripts/agentica/claude_proxy.py - REPL_BASELINE prompt:
scripts/agentica/claude_proxy.py:49-155 - Comprehensive test:
workspace/test_swarm_all_tools.py - DependencySwarm:
scripts/agentica/dependency_swarm.py
Common Errors
| Error | Cause | Fix | |
|---|---|---|---|
| "Permission denied" | Missing --allowedTools | Add --allowedTools Read Write Edit Bash | |
| Agent claims success but file not created | Hallucination | Add anti-hallucination prompt section | |
| "Cannot access /tmp/..." | Sandbox restriction | Use project-relative paths | |
| "APIConnectionError" | Wrong response format | Use SSE streaming (data: {...}\n\n) | |
| "NameError: view_file" | Agent using REPL functions | Add REPL_BASELINE with native tool examples |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/agent/knowledge/.agents/skills/agentica-claude-proxy/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rk2725q-star/atcli/agentica-claude-proxy)