agentica-claude-proxy

仓库创建 2025年12月23日最近提交 6 个月前SkillHot 收录 23 天前
▸ 精选理由

适合用 Claude CLI 做后端的 Agentica 开发者,定位集成与权限问题。

▸ 风险提示

可能需要 Claude CLI 凭证与本地代理,涉及密钥与网络访问。

这个 Skill 做什么

指导将 Agentica SDK 与 Claude Code CLI 代理集成与调试。

帮你把 Agentica SDK 跟 Claude Code CLI 的代理连起来并排查问题,适合在开发或调试代理集成时用。比如要让 Agentica agent 调用 Claude 工具、解决文件权限或 hallucination(幻觉)问题、理解 REPL 返回格式时会用到。特别之处是它聚焦代理链路和权限/响应格式细节,能定位代理与工具之间的交互故障。

▸ 展开 SKILL.md 英文原文

Guide for integrating Agentica SDK with Claude Code CLI proxy

开发编程AgenticaClaude集成调试通用
3.9k
Stars
298
Forks
40
仓库内 Skill
+19
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/parcadei/Continuous-Claude-v3/main/.claude/skills/agentica-claude-proxy/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/parcadei/Continuous-Claude-v3/main/.claude/skills/agentica-claude-proxy/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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

```
Agentica Agent → S_M_BASE_URL → Claude Proxy → claude -p → Claude CLI (with tools)
                 (localhost:2345)   (localhost:8080)
```

## Critical Requirements

### 1. --allowedTools Flag (REQUIRED)

Claude CLI in `-p` mode restricts file operations. You MUST add:

```python
subprocess.run([
    "claude", "-p", prompt,
    "--append-system
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有