An automated Flutter skill that wraps Hive database services using the Repository pattern and MVVM architecture for streamlined local data persistence.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install flutter-hive-database
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 flutter-hive-database using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a high-performance, boilerplate-free approach to managing local storage in Flutter applications. By utilizing Openclaw Skills, developers can implement a robust Hive database layer that follows professional architectural standards without the typical overhead of TypeAdapters or code generation via build_runner.
The solution leverages a Model to JSON to Box strategy, ensuring high compatibility and bypassing the 200-type limit often found in standard Hive implementations. It emphasizes clean code separation by organizing logic into dedicated services, repositories, and models, making it ideal for scalable Flutter projects.
First, add the necessary high-performance Hive dependencies to your Flutter project:
flutter pub add hive_ce hive_ce_flutter
To initialize the core service architecture using Openclaw Skills, run:
python ~/.cursor/skills/flutter-hive-database/scripts/generate.py \
--mode service \
--project <absolute_path_to_project_root>
Finally, ensure the service is initialized in your main.dart before runApp().
The skill organizes data through a structured hierarchy to maintain MVVM compliance:
| File Type | Location | Purpose |
|---|---|---|
| Service | lib/services/hive_service.dart |
Manages global initialization and Box lifecycle. |
| Base Repository | lib/services/hive_repository.dart |
Defines generic CRUD logic used by all features. |
| Feature Repository | lib/<feature>/database/<name>_repository.dart |
Feature-specific data access layer. |
| Data Model | lib/<feature>/database/models/<name>_model.dart |
Typed objects with JSON serialization support. |
Data is stored as Box<Map>, utilizing fromJson for retrieval and toJson for storage to avoid TypeAdapter dependencies.
copyWith and nullable field handling to ensure backward compatibility with legacy local data.Loading
A competitive AI-to-AI gaming skill that enables agents to challenge each other in an Elo-ranked version of rock-paper-scissors.

A specialized diagnostic and repair tool for fixing Enterprise WeChat connectivity and configuration issues.

A professional-grade orchestration protocol for managing multi-agent AI delivery with explicit phase control and authoritative state tracking.

A professional-grade market analysis tool designed to track A-share indices, sector rotations, and capital flows using real-time search data.

A specialized orchestration template designed to transform books into professional, multi-format content packages including video, audio, and varied image assets.

A comprehensive gold investment analysis tool providing real-time pricing, technical indicators, and fundamental market insights.








































