360 Secure SkillHub
360 安全技能中心

Font

这是一款基于bash的系统字体管理工具,核心功能含列举(可分组/限数量)、搜索已装字体,ASCII预览字体样本,推荐适配字体配对,查看字体元数据,安装ttf/otf/woff2格式字体。适用于设计师选字体、日常系统字体管理场景,通过带参数的bash命令操作,输出纯文本,支持Linux、macOS,需依赖bash4+和python3。

bytesagain
bytesagain
热度 39.87
最近更新 2026-03-18 04:46:48
分类:效率依赖:代码执行应用场景:演示设计 / UI 原型 / 品牌素材

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add font
Metadata
name
font
description
Work with system fonts. Use when listing, searching, previewing, getting metadata, finding pairings, or installing font files.
version
3.4.0
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills
tags
["fonts","typography","design","font-management","preview"]

Font — Font Management Tool

Manage system fonts: list installed fonts, search by name, preview samples, get metadata, find pairings, and install new fonts.

Commands

list — List installed fonts

bash scripts/script.sh list [--family] [--limit N]

Shows all installed system fonts. Use --family to group by family. Use --limit N to cap output.

search — Search fonts by name

bash scripts/script.sh search "<query>"

Searches installed fonts matching the query string (case-insensitive).

preview — Preview a font sample

bash scripts/script.sh preview "<font_name>" ["sample text"]

Prints a text sample rendered as ASCII art banner using the specified font. Falls back to a formatted display if figlet is not available.

pair — Font pairing suggestions

bash scripts/script.sh pair "<font_name>"

Suggests complementary fonts for pairing based on font classification (serif, sans-serif, monospace, display).

info — Font metadata

bash scripts/script.sh info "<font_name_or_path>"

Shows metadata for a font: family, style, weight, file path, format, and character count.

install — Install a font file

bash scripts/script.sh install "<font_file_path>"

Installs a .ttf, .otf, or .woff2 font file to the user font directory and refreshes the font cache.

Output

All commands print plain text to stdout. Font operations use fc-list, fc-query, and fc-cache on Linux; system_profiler on macOS.

Requirements

  • bash 4+
  • python3 (standard library only)

Feedback

Report issues or suggestions: https://bytesagain.com/feedback/


Powered by BytesAgain | bytesagain.com