generate-cover

generate-cover is a skill for Claude Code, Codex from JOINCLASS/ai-ceo-framework. It costs 0 tokens per session (793 once invoked), scanned A, original, MIT.

A code-based tool for making book cover images with HTML and CSS, then capturing them as screenshots in Playwright, a browser automation tool.

In plain words
What is it for?
It helps create JPG covers for ebooks, including the title, subtitle, author, colours, and layout.
Why use it?
It avoids needing a separate design application and produces a cover image from code and the book's details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create JPG covers for ebooks, including the title, subtitle, author, colours, and layout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joinclass/ai-ceo-framework/generate-cover
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JOINCLASS/ai-ceo-framework --skill generate-cover
Clone the repo
git clone --depth 1 https://github.com/JOINCLASS/ai-ceo-framework

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-cover

README.md
[![agentmods](https://agentmods.dev/badge/skills/joinclass/ai-ceo-framework/generate-cover/github.svg)](https://agentmods.dev/skills/joinclass/ai-ceo-framework/generate-cover)
Your own site
<a href="https://agentmods.dev/skills/joinclass/ai-ceo-framework/generate-cover"><img src="https://agentmods.dev/badge/skills/joinclass/ai-ceo-framework/generate-cover/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-cover

Your own site · 80×15
<a href="https://agentmods.dev/skills/joinclass/ai-ceo-framework/generate-cover"><img src="https://agentmods.dev/badge/skills/joinclass/ai-ceo-framework/generate-cover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 793 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00793
Opus 5.5 $0.00000 $0.00317
Sonnet 5.5 $0.00000 $0.00159
Haiku 4.5 $0.00000 $0.00079

Measured 1mo ago against content hash db51af779bba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-cover scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/generate-cover/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/generate-cover -- Book Cover Image Generation Skill

Design covers with HTML+CSS and render via Playwright screenshot. Fully code-based, no external tools.

Specifications

  • Size: 1600x2560px (standard ebook ratio 1:1.6)
  • Format: JPG (cover.jpg)
  • Output: {book-slug}/cover.jpg

Design Guidelines

  • Background: Dark gradient (e.g., #1e3a8a -> #0f172a)
  • Title: White, bold, large
  • Subtitle: White, slightly smaller
  • Accent: Orange line (#f97316) or brand color
  • Author: White, positioned at bottom
  • Overall feel: Technology x Professional

Customize colors and style to match .company/steering/brand.md if available.

Workflow

  1. Get title and subtitle from the book's config file
  2. Design cover in HTML+CSS (1600x2560px viewport)
  3. Save as temporary HTML file
  4. Launch Playwright headless browser -> open HTML -> screenshot
  5. Save as JPG
  6. Delete temporary HTML

HTML Template Structure

<!DOCTYPE html>
<html>
<head>
<style>
  body {
    margin: 0;
    width: 1600px;
    height: 2560px;
    background: linear-gradient(180deg, #1e3a8a 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: white;
    text-align: center;
    padding: 120px;
    box-sizing: border-box;
  }
  .accent-line {
    width: 200px;
    height: 6px;
    background: #f97316;
    margin: 60px 0;
  }
  .title {
    font-size: 96px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
  }
  .subtitle {
    font-size: 48px;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.4;
  }
  .author {
    position: absolute;
    bottom: 120px;
    font-size: 42px;
    font-weight: 300;
    opacity: 0.7;
  }
</style>
</head>
<body>
  <div class="title">{TITLE}</div>
  <div class="accent-line"></div>
  <div class="subtitle">{SUBTITLE}</div>
  <div class="author">{AUTHOR}</div>
</body>
</html>

Prerequisites

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 118 lines · 0 tokens per session scan A db51af779bba

Subscribe to this mod's changes

generate-cover is a skill published in the GitHub repository JOINCLASS/ai-ceo-framework (61 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 793 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.

Related

generate-cover compared with skills from other repositories

generate-cover next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-coverJOINCLASS/ai-ceo-frameworkSkill61yesterdayMITA0Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill50kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34kyesterdayMITA52Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.1ktodayMITA104Claude Code
prototype-webnexu-io/html-anythingSkill9.5kyesterdayApache-2.0A24Claude Code, Codex