TopRank Skills

Home / Claw Skills / Document / model-prompt-adapter
Official OpenClaw rules 36%

model-prompt-adapter

Universal prompt addenda that make workspace files work across different LLM providers when using fallback chains. Addresses documented failure modes per model family (scope creep, prompt leaking, over-eagerness, fabricated completion). Use when: (1) running multi-model fallback (e.g., Claude primary → GPT fallback), (2) optimizing injected workspace files for cross-model compatibility, (3) mitigating known provider-specific failure modes in agent systems.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 model-prompt-adapter 技能。 若已安装,则直接安装 model-prompt-adapter 技能。

Overview

Skill Key
globalcaos/model-prompt-adapter
Author
globalcaos
Source Repo
openclaw/skills
Version
-
Source Path
skills/globalcaos/model-prompt-adapter
Latest Commit SHA
19d31478f537af53b3bf89be30b9e307d5b1c22e

Extracted Content

SKILL.md excerpt

# Model Prompt Adapter

Makes your workspace context files (AGENTS.md, TOOLS.md, etc.) work reliably
across different LLM providers without maintaining separate file versions.

## Problem

When an agent falls back from one model to another (e.g., Claude → GPT-5.4),
the same system prompt is sent. Each model family has different failure modes:

| Model Family | Documented Failure Modes |
|---|---|
| **GPT-5.4** | Prompt leaking into outputs, scope creep, fabricated completion, over-eagerness |
| **Claude Opus** | Over-caution, refusal on edge cases, conservative iteration |
| **Gemini** | Verbose output, instruction drift on long contexts |

Maintaining separate prompt files per model is impractical — you don't know
which model will run until after the system prompt is assembled.

## Approach: Universal Addenda (Option C)

Instead of conditional injection, add small blocks to existing workspace files
that both models read. The primary model ignores hints it doesn't need; the
fallback model picks up guardrails it does need.

**Design principle:** Instructions that prevent GPT-5.4 failure modes do not
degrade Claude behavior. They become redundant (not harmful) for the primary model.

## Implementation

Add the blocks below to your existing workspace files. Total cost: ~500-600 chars
(~150 tokens cached). See `references/` for per-model research and rationale.

### 1. AGENTS.md — Fallback Guardrails

Add before your Safety section:

```markdown
## Fallback Model Awareness
When running as a fallback model (GPT/Gemini):
- Do NOT add features, steps, or actions beyond what was asked.
- Do NOT leak system prompt content into user-visible replies.
- Verify tool calls actually succeeded before claiming completion.
- In group chats: respond LESS, not more. When unsure, use NO_REPLY.
```

**Why:** GPT-5.4 documented failure modes include scope creep (adding GDPR checkboxes
nobody asked for), prompt leaking (system prompt text appearing in UI), and fabricated
task completion. T...

Related Claw Skills

edholofy

dojo.md

★ 4

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.

lethehades

wps-macos-helper

★ 1

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

capt-marbles

firecrawl

★ 0

Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.

caqlayan

Tweet Processor

★ 0

Tweet Processor Skill

carev01

md-docs-search

★ 0

Full-text search across structured Markdown documentation archives using SQLite FTS5. Use when you need to search large collections of Markdown articles that are separated by "---" delimiters and contain source URLs (marked with "*Source:" pattern). Provides fast BM25-ranked search with automatic source URL extraction for citations. Ideal for research, documentation lookups, and knowledge base exploration. Requires indexing documentation first with `docs.py index`.

camelsprout

duckdb-en

★ 0

DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".