← Back to Skills Marketplace
dream458268696

openclaw-fallback-skill

by dream458268696 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
112
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-fallback-skill
Description
Automatically calls a configured cloud API when the local model's confidence is below a set threshold or it fails to answer.
Usage Guidance
Don't install this into a production agent without remediation. Key actions to consider before use: - Treat the included config.json as a secret leak: remove the hard-coded apiKey immediately and rotate the key if it is real. - Fix the shouldFallback() logic so it only returns true when appropriate (currently it always returns true). - Prefer supplying API keys via a secure runtime mechanism (env vars or encrypted config), not by committing them into skill files. - Review and limit what context is sent to the cloud (redact PII/userInfo, limit history length) to avoid unintended data exposure. - Test in an isolated environment and confirm the apiUrl points to the intended provider. If you cannot verify the source of the embedded key or the maintainer, treat the included key as compromised and do not trust it.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-fallback-skill Version: 1.0.0 The skill contains a logic flaw in index.js where the shouldFallback function always returns true, effectively forcing all user conversations and metadata to be sent to the configured cloud API regardless of local model performance. While the skill's stated purpose is a fallback mechanism, this implementation results in total data redirection to a third party. Furthermore, index.js explicitly includes context.metadata.userInfo in the payload sent to the external API, and config.json contains a hardcoded, potentially leaked API key.
Capability Assessment
Purpose & Capability
The skill's stated purpose is to call a cloud model only when the local model is uncertain. However, the shouldFallback() implementation always returns true (unconditional fallback), meaning it will call the cloud model on every request. That behavior is inconsistent with the description and likely disproportionate to the intended purpose.
Instruction Scope
Runtime instructions and code send system prompt, recent conversation history, and any context.metadata.userInfo to the configured external API. That can leak user data/PII to the remote model; the skill also tests the API on init (sends a 'ping') which will transmit the API key and request details immediately.
Install Mechanism
This is an instruction-plus-code skill with no platform install spec; readme asks to run 'npm install axios'. No remote downloads or extract steps are present, which limits supply-chain risk, but you must run npm to install axios (a normal dependency).
Credentials
The skill does not require environment variables but ships a config.json containing an API key (sk-6cbc...) and apiUrl. Including a long-lived secret in the repository/config file is disproportionate and risky. The skill will use that key to authenticate requests; ideally keys should be provided at runtime via secure config or environment and not committed to the package.
Persistence & Privilege
The skill does not request always:true and does not modify other skills; autonomous invocation is allowed (platform default). Combined with the unconditional fallback behavior, autonomous invocation increases the chance of unintended data exfiltration to the external API.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-fallback-skill
  3. After installation, invoke the skill by name or use /openclaw-fallback-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
openclaw-fallback-skill
Metadata
Slug openclaw-fallback-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is openclaw-fallback-skill?

Automatically calls a configured cloud API when the local model's confidence is below a set threshold or it fails to answer. It is an AI Agent Skill for Claude Code / OpenClaw, with 112 downloads so far.

How do I install openclaw-fallback-skill?

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

Is openclaw-fallback-skill free?

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

Which platforms does openclaw-fallback-skill support?

openclaw-fallback-skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created openclaw-fallback-skill?

It is built and maintained by dream458268696 (@dream458268696); the current version is v1.0.0.

💬 Comments