Skip to content
cccskills
FreePublished on GitHub

c2-theme-integrator

Integrates external HTML dashboards into the Quantum unified dashboard. Extracts DOM structure from source HTML, restyles with c2.html CSS variables, renames branding to Quantum, adds AI chatbot, and links navigation. Use when the user wants to merge or integrate a new HTML page into quantum_unified.html.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5 stars(GitHub 5 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md4.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

C2 Theme Integrator

Integrates external HTML dashboards into core/web_interface/templates/quantum_unified.html while matching the c2.html visual style.

CSS Variables (Canonical)

--bg:#02040a;
--panel:rgba(3,14,30,0.94);
--accent:#00e5ff;
--accent-soft:#6bdcff;
--accent-strong:#00f6ff;
--danger:#ff4b6b;
--muted:#7fa2b8;
--success:#6ef0a3;
--warn:#ffd36b;
--glass:rgba(0,20,40,0.86);
--border:rgba(16,51,71,0.6);
--light:#cfefff;
--font:"Segoe UI",system-ui,-apple-system,sans-serif;
--mono:"Space Mono","Courier New",monospace;

Background: radial-gradient(circle at 10% 10%, #07111f, #020308, #000)

Integration Steps

1. Read Source HTML

  • Read the external HTML file completely
  • Identify: layout structure (sidebar, main content, panels), color scheme, fonts, framework dependencies (Tailwind, Bootstrap, etc.)
  • Note all CSS custom properties and theme tokens

2. Extract DOM Structure

  • Extract the semantic layout (sidebar sections, navigation items, content panels, data tables)
  • Strip framework-specific scripts (Vite, React, Replit, Tailwind CDN, hot reload)
  • Remove all data-replit-metadata and data-component-name attributes
  • Keep only the structural HTML and inline SVG icons

3. Apply c2.html Theme

  • Replace all colors with c2.html CSS variable references
  • Map source accent colors → var(--accent) (#00e5ff)
  • Map source background → var(--bg) (#02040a)
  • Map source card/panel → var(--panel) or var(--card-bg)
  • Map source muted/secondary text → var(--muted)
  • Map source danger/error → var(--danger)
  • Map source border → var(--border)
  • Replace framework font families with var(--font) / var(--mono)
  • Add scrollbar styling (6px width, transparent track, var(--border) thumb)

4. Rename Branding

  • Replace all occurrences of external brand names → "Quantum" / "QUANTUM"
  • Case-sensitive replacements: PEGASUS → QUANTUM, Pegasus → Quantum, pegasus → quantum
  • Clicking the logo/brand text must navigate back to showPage('dashboard')

5. Add to Unified Dashboard

  • Add as a new .page div inside #content
  • Add corresponding .nav-item in sidebar
  • Wire onclick="showPage('page-id')" on the nav item
  • Ensure showPage() function handles the new page

6. Add AI Chatbot

  • Include the persistent chatbox HTML from c2.html:
    • #chat-toggle button (fixed, bottom-right)
    • #chatbox container with titlebar, log, composer
    • sendChat() and toggleChat() JavaScript functions
  • Style the chatbox with c2.html glass morphism (var(--glass), var(--border))

7. Validate

  • Open in browser via start "" "<path>"
  • Verify all navigation works
  • Verify theme consistency (no raw hex colors from source)
  • Verify Quantum branding throughout
  • Verify chatbot opens/closes correctly

Layout Patterns

Sidebar Nav Item

<div class="nav-item" onclick="showPage('page-id')">
  <div class="left">
    <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><!-- icon --></svg>
    Label
  </div>
</div>

Page Container

<div id="page-id" class="page">
  <div class="page-header">
    <h1>Page Title</h1>
    <div class="subtitle">Status info</div>
  </div>
  <!-- content -->
</div>

Detail Panel

<div class="detail-panel">
  <div class="panel-header">
    <svg><!-- icon --></svg> PANEL TITLE
  </div>
  <div class="panel-body">
    <div class="data-row">
      <div class="info">
        <span class="primary">Main text</span>
        <span class="secondary">Secondary text</span>
      </div>
      <span class="badge">Value</span>
    </div>
  </div>
</div>

Navigation Function

function showPage(id) {
  document.querySelectorAll('.page').forEach(p => p.classList.remove('active'));
  document.querySelectorAll('.nav-item').forEach(n => n.classList.remove('active'));
  var el = document.getElementById('page-' + id);
  if (el) el.classList.add('active');
  if (event && event.target) {
    var item = event.target.closest('.nav-item');
    if (item) item.classList.add('active');
  }
}

Common Pitfalls

  • tkinter: Does NOT support 8-char hex (#RRGGBBAA). Only 6-char #RRGGBB.
  • tkinter Label: Has NO -command option. Use Label.bind("<Button-1>", cb) or tk.Button.
  • Tailwind: If source uses Tailwind, extract computed styles and convert to vanilla CSS. Do NOT include Tailwind CDN in the unified dashboard.
  • React/Vite: Strip all import, export, module scripts, hot-reload code.
  • External fonts: Include via <link> tag but fall back to system fonts.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

See all skills by ProjectZeroDays

Report a problem with this skill