본문으로 건너뛰기
cccskills
무료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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation스타 5(GitHub 5 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

ace-music

무료

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

ProjectZeroDays의 스킬 모두 보기

이 스킬의 문제 신고