A powerful full-stack code generation and synchronization skill that mirrors APIs, data schemas, validation rules, and client logic between frontend and backend stacks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install code-mirror
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install code-mirror using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Code Mirror is an essential capability within the Openclaw Skills ecosystem designed to eliminate the manual overhead of writing boilerplate code across the application stack. By deep-analyzing the structural semantics of your source code—including API contracts, validation schemas, and database models—it generates idiomatic, production-ready code that matches perfectly on both sides. Whether you are scaffolding a brand-new feature or syncing a database update to your frontend client, Code Mirror keeps your codebase clean and structurally consistent.
This skill automates the translation of technical concepts between diverse ecosystems such as React/Vue and Express, FastAPI, Go, or Spring Boot. Using robust type mappings and validation rule mirroring, Code Mirror ensures developers do not have to manually port changes, mitigating the risk of drift between the client interfaces and API layers.
useState vs @app.route). It then inspects workspace configuration files (e.g., package.json, pyproject.toml, go.mod) to automatically determine the target stack frameworks.To use the Code Mirror skill in your AI agent workspace, register it under your active Openclaw Skills directory.
Create or edit your skill configuration:
mkdir -p .claw/skills
cp code-mirror.md .claw/skills/
No external database dependencies are required. Simply reference Code Mirror in your workspace prompts to activate full-stack mirroring when working on codebases containing TypeScript, Python, Go, Java, or C#.
Code Mirror utilizes strict structural schemas to guarantee consistency. It processes and organizes files across the stack using language-specific type conversion and metadata mapping:
| Metadata Entity | Source (Frontend) | Target (Backend) |
|---|---|---|
| Endpoints & Router | HTTP client calls (e.g., Axios/Fetch paths) | Route controllers, HTTP verbs, paths, & status codes |
| Data Models | TypeScript interfaces, PropTypes, Zod schemas | Database models (SQLAlchemy, Prisma, Mongoose, ORM) |
| Input Validation | Client form validations (Yup, Zod) | DTO schemas (Pydantic, Class-Validator, Joi) |
| Type Conversion | JSON types, primitives, null | Language-specific types (e.g., Python, Go, Java, C#) |
models/, validators/, routes/, and controllers/ directories.types/, api/, hooks/ (or composables), and components/ structures.+ / - diff blocks for quick partial file merges.Cargo.toml, requirements.txt, etc.) to align target language generation without prompt manual overrides.Loading
A versatile automation capability for Openclaw Skills that extracts trending Douyin videos, hot list metrics, and creative copy using browser replication or scripting.

An AI-powered creative companion that provides profound, non-corrective aesthetic critique for visual, textual, audio, and performance art, backed by art theory and structured dialogue tracking.

A data-driven, single-page exam practice site generator that decouples interactive frontends from JSON question banks, enabling effortless adaptation to any standardized test.

An AI agent utility that translates domain models, requirements, and entity descriptions into structured Neo4j-style property graph schemas.

A zero-dependency Python toolset facilitating task tracking, timesheet aggregation, CRM administration, and calendar reminders on Odoo through XML-RPC.

An automated browser-based coupon hunter that finds and tests promo codes directly on checkout pages with complete financial safety.








































