swiss-army-knife-card

Generates and analyzes Swiss Army Knife card YAML configurations for Home Assistant Lovelace.

86|7|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Bobsilvio/ha-claude --skill swiss-army-knife-card-bobsilvio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiss-army-knife-card
Source: https://github.com/Bobsilvio/ha-claude/tree/main/.claude/skills/swiss-army-knife-card
Command: npx skills add https://github.com/Bobsilvio/ha-claude --skill swiss-army-knife-card-bobsilvio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating Swiss Army Knife (SAK) cards for Home Assistant Lovelace requires deep knowledge of its coordinate system, tool types, and template syntax, which is error-prone when written by hand. ## Core Features & Use Cases - SAK YAML Generation: Produces correct YAML for tool types like state, icon, segarc, sparkline, bar, circslider, and usersvg. - Template Support: Applies SAK templates such as colorstops, state_map, derived_entity, colorswatch, toolset, and layout. - Use Case: Ask for a ring indicator gauge showing a temperature sensor with colorstops and animations, and receive ready-to-paste Lovelace YAML using the correct aspectratio-based coordinate system. ## Quick Start Ask the assistant to create a Swiss Army Knife card showing a sensor value as a segmented arc gauge with color stops and a sparkline history.

Frequently Asked Questions about swiss-army-knife-card

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Swiss Army Knife card in Home Assistant?

Define a SAK card in Lovelace YAML with an aspectratio, a layout of toolsets, and tool types such as state, icon, segarc, or sparkline. This skill generates the correct YAML syntax including coordinates and colorstops.

What tool types does the Swiss Army Knife card support?

SAK supports tool types including state, name, icon, area, segarc, sparkline, usersvg, bar, and circslider. Each tool is positioned within the card using the aspectratio-based coordinate system.

How does the SAK coordinate system work?

SAK positions tools on a grid derived from the card's aspectratio, expressed as 100×H or 100×W units. Tool positions and sizes are specified in these relative coordinates rather than pixels.

Can I use templates and animations in Swiss Army Knife cards?

Yes, SAK supports templates like colorstops, state_map, derived_entity, colorswatch, toolset, and layout, plus animations using operators. YAML anchors can reuse definitions across tools.

Why is my Swiss Army Knife card not rendering correctly?

Common causes include incorrect aspectratio values, misplaced tool coordinates, or invalid YAML structure in toolsets. Validating the YAML against SAK's tool type syntax usually resolves rendering issues.