Config Pull Template for Openclaw

A specialized code generation skill for Android developers to automate the creation of configuration pulling and synchronization logic.

hefuwei-95
v1.0.2
Mar 16, 2026
0
862
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install config-pull-template

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install config-pull-template using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Config Pull Template?

The Config Pull Template is a robust automation utility designed for Android development environments. It streamlines the integration of configuration centers, feature whitelists, and custom API endpoints by generating standardized Kotlin or Java code templates. By leveraging this tool within Openclaw Skills, developers can ensure consistent implementation of sync logic across different business modules like goods or marketing.

The skill focuses on boilerplate reduction and architectural consistency. It handles everything from data model creation with proper ProGuard @Keep annotations to the implementation of lifecycle hooks, ensuring that configuration updates are correctly triggered during app startup, shop switching, or manual sync events.

Config Pull Template Use Cases

  • Integrating a new feature toggle or whitelist check in an Android application.
  • Setting up a centralized configuration fetcher for a specific business module.
  • Implementing a hybrid push-pull notification system to keep local configurations fresh.
  • Standardizing configuration management across multiple team-led modules.

How Config Pull Template Works

  1. The user triggers the skill by expressing a need to create configuration pulling functionality.
  2. Openclaw Skills asks for the configuration purpose (e.g., ANR monitoring or service fees).
  3. The user selects an integration method: Configuration Center, Whitelist, Individual Interface, or Push-Pull combination.
  4. The user specifies the target module (e.g., module_goods or module_marketing).
  5. The tool generates the necessary Kotlin classes and Plugin hooks.
  6. Generated code is automatically written to the appropriate workspace files and displayed for verification.

Config Pull Template Setup

To enable this skill within your Openclaw environment, ensure your workspace is mapped to your Android project root and run:

# Standard setup within your AI agent environment
openclaw install config-pull-template

Ensure your project structure follows the standard modular pattern (e.g., /modules/module_xxx/src/common/java/...).

Config Pull Template Data Schema & Taxonomy

The skill organizes generated files based on the module and integration type selected:

File Type Default Path Description
ConfigManager /modules/module_{name}/src/common/java/.../ Primary business logic for config management.
PluginModule /modules/module_{name}/src/common/java/.../PluginModule.kt Contains lifecycle hooks (@AppStart, @ShopSwitched).
Data Models Within the ConfigManager package Data classes for JSON parsing with @Keep annotations.
Tasks/Services Within the common package Networking layer for API-based config pulling.

Config Pull Template Advanced Features

  • Automatic lifecycle hook generation: Synchronizes @ShopSwitched, @AppStart, and @ConfigFetch annotations with corresponding method names.
  • ProGuard Safety: Automatically applies @Keep annotations to network-related data models to prevent shrinking issues.
  • Multi-Module Intelligence: Detects existing WhiteListManager classes to prevent duplication and promote code reuse.
  • Template-Driven Logic: Supports custom JSON templates for complex configuration structures.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*