HTML Daily Report Generator Spec for Openclaw

A standardized HTML and CSS framework for AI agents to generate structured, masonry-style daily reports with built-in theme switching.

jfzerozhuo
v1.0.0
Mar 11, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install groupaassage

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 groupaassage 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 HTML Daily Report Generator Spec?

This specification defines the essential elements and structure for generating daily reports in HTML format. Designed specifically for AI assistants like Claude Code, it ensures visual consistency, responsive design, and modern features like dark/light mode and masonry layouts. By using these Openclaw Skills, developers can automate the creation of professional community or project updates that are both readable and aesthetically pleasing across different devices.

The framework focuses on a flat HTML structure that allows for dynamic content distribution while maintaining strict UI standards. It includes comprehensive CSS variables, font specifications, and JavaScript hooks for theme persistence, making it a robust foundation for any automated reporting workflow.

HTML Daily Report Generator Spec Use Cases

  • Automating community daily news summaries using AI agents.
  • Generating project status reports with balanced multi-column layouts.
  • Creating theme-aware documentation snippets that sync with parent UI containers.
  • Developing standardized output formats for Openclaw Skills to ensure consistency across various LLM-generated documents.

How HTML Daily Report Generator Spec Works

  1. The AI agent initializes an HTML document with specific root attributes and CSS variables.
  2. A specialized Masonry CSS layout is applied using column-count to distribute content sections dynamically.
  3. JavaScript scripts handle theme persistence and anti-flicker (FOUC) logic using localStorage.
  4. Large content blocks like hot topics or AI news are split into smaller sections to maintain visual balance across columns.
  5. Theme synchronization is established between the parent page and report iframe via the postMessage API.

HTML Daily Report Generator Spec Setup

To implement this within your Openclaw Skills workflow, follow these steps:

  1. Set the root HTML element:
<html lang="zh-CN" data-theme="dark">
  1. Define the CSS variables in your :root for dark and light modes.
  2. Insert the FOUC prevention script in the <head>:
(function () {
  const t = localStorage.getItem('pusa-theme') || 'dark';
  document.documentElement.setAttribute('data-theme', t);
})();
  1. Structure your content using a flat <main class="newspaper-grid"> containing only sibling <section> elements.

HTML Daily Report Generator Spec Data Schema & Taxonomy

The skill organizes its output based on a strict hierarchy and naming convention:

Element CSS Class Purpose
Main Container .newspaper-grid 3-column masonry layout container
Content Section section Individual content blocks (avoiding nested wraps)
Theme Button .theme-btn Interactive toggle for dark/light mode
Metadata .issue-info Displaying report version or date
Logic Key pusa-theme localStorage key for persistent user preferences

HTML Daily Report Generator Spec Advanced Features

  • Automated Masonry Layout for optimized screen space usage without complex JavaScript libraries.
  • Cross-window theme synchronization using HTML5 postMessage for seamless integration into dashboards.
  • Intelligent content splitting rules that monitor block height to ensure column balance.
  • Native system font stack implementation for maximum performance and zero external font dependencies.
  • FOUC (Flash of Unstyled Content) prevention script for smooth theme transitions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*