Skip to main content
ClaudeWave
Skill3.8k estrellas del repoactualizado 4mo ago

async-repl-protocol

The async-repl-protocol skill provides rules for interacting with Agentica's asynchronous REPL environment, emphasizing two critical patterns: awaiting all Future-returning tools like `view_file()` and `ask_memory()`, and executing all necessary code logic within a single code block since multiple blocks are not processed sequentially. Use this skill when testing agents within Agentica's async REPL harness to avoid undefined behavior and failed operations.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3 /tmp/async-repl-protocol && cp -r /tmp/async-repl-protocol/.claude/skills/async-repl-protocol ~/.claude/skills/async-repl-protocol
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Async REPL Protocol

When working with Agentica's async REPL harness for testing.

## Rules

### 1. Use `await` for Future-returning tools

```python
content = await view_file(path)  # NOT view_file(path)
answer = await ask_memory("...")
```

### 2. Single code block per response

Compute AND return in ONE block. Multiple blocks means only first executes.

```python
# GOOD: Single block
content = await view_file(path)
return any(c.isdigit() for c in content)

# BAD: Split blocks (second block never runs)
content = await view_file(path)