← Back to Skills Marketplace
openlark

Favicons

by OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
83
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install favicons
Description
Use the favicons Node.js library to generate multi-platform website icons (Favicons).
README (SKILL.md)

Favicons

Generate cross-platform website icons using the Node.js favicons library.

Use Cases

Use this skill when the user needs to generate website icons, create a PWA icon set for a website, generate app icons for different platforms (iOS, Android, Windows), or produce a complete icon package including HTML tags and manifest files.

Installing Dependencies

Ensure favicons is installed in the project before execution:

npm install favicons

Quick Start

import { favicons } from "favicons";

const response = await favicons(source, configuration);

Workflow

  1. Confirm Source Image: Requires a clear app icon source image (recommended 512x512 or larger, supports PNG/SVG)
  2. Configure Options: Set app name, icon path, platform toggles, etc., as needed
  3. Execute Generation: Run the script to generate icon files
  4. Output Files: Obtain image files, configuration files, and HTML tags

Executing Icon Generation

Use the bundled script to generate icons:

node \x3Cskill-path>/scripts/generate_favicons.js \x3Csource-image> \x3Coutput-directory> \x3Cconfig-JSON>

Example

# Basic usage
node scripts/generate_favicons.js ./logo.png ./dist

# Full configuration
node scripts/generate_favicons.js ./logo.png ./dist '{
  "appName": "My App",
  "appShortName": "App",
  "background": "#2196F3",
  "icons": {"android": true, "appleIcon": true, "windows": true}
}'

Configuration Reference

For detailed configuration options, refer to config_reference.md.

Common Configuration

Option Description
appName Application name
appShortName Application short name (displayed on desktop)
path Icon deployment path prefix
background Icon background color
icons.android Generate Android icons
icons.appleIcon Generate Apple Touch icons
icons.favicons Generate generic favicons

Disabling Specific Platforms

{
  icons: {
    android: false,      // Skip Android icons
    appleStartup: false, // Skip Apple startup images
    yandex: false        // Skip Yandex icons
  }
}

Output Files

The generated directory contains:

  • Image Files: PNG icons of various sizes
  • Configuration Files: manifest.json, browserconfig.xml
  • HTML Tag File: favicon-tags.html (can be directly copied into \x3Chead>)

FAQ

Why are some icons missing? Some icons (such as macOS SVG, Windows tile silhouette effects) require additional module support; the project will follow up continuously.

Generation failed?

  • Ensure the source image exists and is in the correct format
  • Check that Node.js version >= 14
  • Ensure the favicons package is installed correctly
Usage Guidance
This skill appears to do exactly what it says: run the favicons Node library to create image/config files. Before installing, ensure you have Node.js and are comfortable running npm-installed packages. The included script writes files to whatever output directory you pass — choose a safe path and verify outputs. As with any third-party script, run it in a trusted environment (or sandbox) if the source is unfamiliar. Note: SKILL.md shows ES module import while the script uses require(); that's harmless but you should install the package into a project environment where the script runs. No credentials or network endpoints are used by the script.
Capability Analysis
Type: OpenClaw Skill Name: favicons Version: 1.0.0 The skill bundle is a legitimate utility for generating website icons using the standard 'favicons' Node.js library. The script 'scripts/generate_favicons.js' correctly implements icon generation by taking a source image and outputting the necessary files and HTML tags to a specified directory, with no evidence of malicious intent, data exfiltration, or suspicious execution patterns.
Capability Assessment
Purpose & Capability
Name and description match the included script and documentation. The skill is a thin wrapper around the Node.js 'favicons' library and only needs filesystem access and the favicons package to perform its stated job.
Instruction Scope
SKILL.md instructs installing the favicons package and running the included Node script with a source image, output directory, and optional JSON config. The runtime instructions only reference relevant files/paths and do not ask the agent to read unrelated system files or credentials.
Install Mechanism
There is no automated install spec; SKILL.md recommends 'npm install favicons'. No downloads from arbitrary URLs or archive extraction occur. The approach is typical for a Node-based helper script.
Credentials
The skill declares no environment variables or credentials. The included script only uses Node standard libs and the favicons package; it does not access external secrets or unrelated services.
Persistence & Privilege
always is false and model invocation is normal. The skill does not request persistent platform privileges or modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install favicons
  3. After installation, invoke the skill by name or use /favicons
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
favicons 1.0.0 – Initial Release - Adds the ability to generate multi-platform website icons using the Node.js favicons library. - Supports creation of app icons, manifest files, and HTML tags for various platforms (iOS, Android, Windows). - Includes scripts and documentation for quick start, configuration, and output details. - Provides FAQs and troubleshooting tips for common icon generation issues.
Metadata
Slug favicons
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Favicons?

Use the favicons Node.js library to generate multi-platform website icons (Favicons). It is an AI Agent Skill for Claude Code / OpenClaw, with 83 downloads so far.

How do I install Favicons?

Run "/install favicons" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Favicons free?

Yes, Favicons is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Favicons support?

Favicons is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Favicons?

It is built and maintained by OpenLark (@openlark); the current version is v1.0.0.

💬 Comments