← Back to Skills Marketplace
engibarian

Acp Fallback

by engibarian · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
152
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install acp-fallback
Description
Automatically retries ACP vendors in priority order (codex, claude, pi, API) on failure, returning the first successful result with fallback logging.
README (SKILL.md)

ACP Fallback System - Resilient Agent Execution\r

\r

Overview\r

This skill provides automatic fallback for ACP vendors (Codex → Claude → Pi → API) and model fallback for subagents. If one vendor fails, it automatically tries the next.\r \r

Usage\r

\r

For Agents - Use acp_exec Function\r

\r

# Instead of direct acpx calls, use this wrapper\r
source scripts/acp-fallback.sh && acp_exec "your task here"\r
```\r
\r
### ACP Vendor Priority (in order):\r
1. **codex** - Primary (fast, reliable)\r
2. **claude** - Fallback #1 (high quality)\r
3. **pi** - Fallback #2 (lightweight)\r
4. **direct-api** - Final fallback (uses OpenClaw's built-in models)\r
\r
### What Happens on Failure:\r
- Vendor fails → Auto-retry with next vendor\r
- All vendors fail → Log error, return failure status\r
- Success → Return result immediately\r
\r
## Implementation\r
\r
### Core Functions\r
\r
```bash\r
# acp_exec - Main entry point\r
# Usage: acp_exec "task description"\r
# Returns: Vendor used + result\r
\r
# acp_exec_with_fallback - Full fallback chain\r
# Tries: codex → claude → pi → direct-api\r
# Returns: First successful result\r
\r
# model_fallback - For subagent model switching\r
# Tries: MiniMax → DeepSeek → OpenAI → GLM-5\r
```\r
\r
### Agent Integration\r
\r
Agents should call these functions instead of direct acpx commands:\r
- Replace `npx acpx codex exec "..."` with `acp_exec "..."`\r
- Replace single-model subagent with fallback-enabled wrapper\r
\r
## Error Handling\r
\r
- Network errors: Retry with next vendor after 3s\r
- Auth errors: Skip to next vendor immediately  \r
- Rate limits: Wait 10s, then retry\r
- Timeout (>120s): Move to next vendor\r
\r
## Logging\r
\r
All fallback attempts logged to:\r
- `logs/acp-fallback.log`\r
\r
## Success Metrics\r
\r
Tracked:\r
- Vendor used\r
- Number of retries\r
- Total time\r
- Success/failure status\r
Usage Guidance
This skill's README-style instructions describe a useful fallback wrapper but the package contains no implementation, no install steps, and declares no API keys — yet its behavior requires them. Before installing or using this skill: 1) ask the publisher for the actual scripts (scripts/acp-fallback.sh and any helpers) and an install procedure; 2) require an explicit list of all environment variables/API keys needed and how they are used; 3) inspect the implementation for network endpoints and any code that transmits logs or secrets; 4) be cautious about replacing direct acpx calls globally — ensure you can opt out or revert; and 5) avoid supplying credentials until you can audit the script. The current package is incomplete and should not be trusted to run without those clarifications.
Capability Analysis
Type: OpenClaw Skill Name: acp-fallback Version: 1.0.1 The skill bundle references a critical execution wrapper script, 'scripts/acp-fallback.sh', which is missing from the provided files. This script is intended to intercept and manage agent commands via the 'acp_exec' function, creating a high risk for command interception or data exfiltration. The instructions in SKILL.md explicitly direct the agent to bypass standard execution methods (npx acpx) in favor of this unverified wrapper, which is a common pattern for masking malicious redirection or credential harvesting.
Capability Assessment
Purpose & Capability
The SKILL.md claims automated fallback between multiple ACP vendors (codex, claude, pi, direct-api). However, the skill bundle contains no code, no helper script, and no declared credentials. Implementing multi-vendor calls would normally require vendor-specific credentials, SDK/CLIs, or shipped scripts — none are present or requested. This mismatch suggests missing pieces or incomplete packaging.
Instruction Scope
Instructions tell agents to 'source scripts/acp-fallback.sh' and to replace direct acpx calls with acp_exec, and to log to logs/acp-fallback.log. Because no scripts or install steps are provided, these runtime instructions are not actionable as-is. The doc also references model and vendor names (MiniMax, DeepSeek, OpenAI, GLM-5, etc.) that imply external credentials or APIs but never instruct how to obtain or store those secrets.
Install Mechanism
There is no install spec (instruction-only). That is low-risk by itself, but the SKILL.md explicitly expects a local script at scripts/acp-fallback.sh to be present and sourced; without an install step to place that file, the skill is incomplete. The lack of an install mechanism prevents verification of what would actually run.
Credentials
The metadata declares no required environment variables or credentials, yet the described functionality (calling Codex, Claude, Pi, OpenClaw's API, OpenAI, etc.) normally requires API keys/tokens. The omission of any declared secrets is disproportionate to the claimed cross-vendor behavior and is an inconsistency that should be resolved before use.
Persistence & Privilege
The skill does not request always:true and is not requesting elevated platform privileges. It does suggest writing fallback logs to logs/acp-fallback.log on disk, which is a limited persistence action but not inherently privileged. No evidence it modifies other skills or global agent config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install acp-fallback
  3. After installation, invoke the skill by name or use /acp-fallback
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Fixed minor typo in agent integration instructions: changed `acp_exec "..."` for clarity. - No functional or behavioral changes to the skill itself.
v1.0.0
ACP Fallback System v1.0.0 – Automatic fallback execution for ACP agents - Introduces acp_exec function: executes tasks with vendor fallback (Codex → Claude → Pi → API). - Ensures seamless retry logic—if one vendor fails, the next is automatically attempted. - Provides subagent model fallback (MiniMax → DeepSeek → OpenAI → GLM-5). - Centralized error handling for network, auth, rate limit, and timeout issues. - All attempts and results are logged for traceability (logs/acp-fallback.log). - Tracks success metrics: vendor used, retries, total execution time, and status.
Metadata
Slug acp-fallback
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is Acp Fallback?

Automatically retries ACP vendors in priority order (codex, claude, pi, API) on failure, returning the first successful result with fallback logging. It is an AI Agent Skill for Claude Code / OpenClaw, with 152 downloads so far.

How do I install Acp Fallback?

Run "/install acp-fallback" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Acp Fallback free?

Yes, Acp Fallback is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Acp Fallback support?

Acp Fallback is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Acp Fallback?

It is built and maintained by engibarian (@engibarian); the current version is v1.0.1.

💬 Comments