masonry

masonry is a skill for Claude Code, Codex from kostja94/marketing-skills. It costs 81 tokens per session (986 once invoked), scanned A, original, MIT.

A guide for designing, improving, or reviewing masonry layouts, where items of different heights stack into columns like a brick wall. It covers galleries, portfolios, discovery pages, and search visibility.

In plain words
What is it for?
Use it for image galleries, portfolios, showcase pages, and other visual content with different sizes or aspect ratios.
Why use it?
It helps choose and structure a masonry layout when equal rows would leave awkward gaps or make varied content harder to browse.

Skill for Claude CodeCodex

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

not rated 963repo +13 3mo ago A scan Socket: passSnyk: passSkillSpector: pass 81 tokens original MIT

Good fit Use it for image galleries, portfolios, showcase pages, and other visual content with different sizes or aspect ratios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kostja94/marketing-skills/masonry
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 kostja94/marketing-skills --skill masonry
Clone the repo
git clone --depth 1 https://github.com/kostja94/marketing-skills

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 masonry

README.md
[![agentmods](https://agentmods.dev/badge/skills/kostja94/marketing-skills/masonry/github.svg)](https://agentmods.dev/skills/kostja94/marketing-skills/masonry)
Your own site
<a href="https://agentmods.dev/skills/kostja94/marketing-skills/masonry"><img src="https://agentmods.dev/badge/skills/kostja94/marketing-skills/masonry/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 masonry

Your own site · 80×15
<a href="https://agentmods.dev/skills/kostja94/marketing-skills/masonry"><img src="https://agentmods.dev/badge/skills/kostja94/marketing-skills/masonry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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. Third-party audits
  • Socket pass 27 Mar 2026
  • Snyk pass 27 Mar 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00081 $0.00986
Opus 5 $0.00041 $0.00493
Sonnet 5 $0.00016 $0.00197
Haiku 4.5 $0.00008 $0.00099

Measured 12d ago against content hash 55ad97adae94, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

masonry 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 12d 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • masonry — 100% identical, 0 lines differ
  • masonry — 100% identical, 0 lines differ
  • masonry — 100% identical, 0 lines differ
skills/components/layout/masonry/SKILL.md · 89 lines

How it starts

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

Components: Masonry Layout

Guides masonry layout design for content with varying heights. Masonry stacks items in columns without distinct rows; items fill gaps like a brick wall. Best for image galleries, portfolios, and discovery-focused platforms.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

When to Use Masonry

Use masonry when Use grid when
Varying heights Equal-height items
Image-heavy; varied aspect ratios Products, templates (consistent)
Gallery, portfolio, showcase Card grid
Discovery, browsing; visual-first Structured browsing

See grid for equal-height grid; card for card structure.

Layout Structure Best for
Grid Equal rows and columns; uniform items Products, templates, features
Masonry Columns; items stack without rows; gaps filled Pinterest, Behance; varied content
Bento Intentional sections; predefined sizes Homepage, dashboard; Apple-style
Carousel Slides; one/few visible; swipe/click Testimonials, logos, featured items; see carousel

Masonry Structure

Element Purpose
Columns 2–4 columns; fluid or fixed
Items Varying heights; natural aspect ratio
Gap Consistent horizontal and vertical spacing
Order Top-to-bottom fill within columns

Implementation

  • CSS columns: column-count; simple, no JS; but items flow top-to-bottom then next column
  • Masonry.js / libraries: True masonry (left-to-right fill); may need JS
  • CSS Grid + grid-auto-flow: dense: Approximate; no JS; see grid for dense grid

Note: Pure masonry can create accessibility challenges (screen reader order); ensure logical DOM order.

Read the full file on GitHub · 89 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. 12d ago First seen · 89 lines · 81 tokens per session scan A 55ad97adae94

Subscribe to this mod's changes

masonry is a skill published in the GitHub repository kostja94/marketing-skills (963 stars, last pushed 3mo ago), licensed MIT. It adds 81 tokens to every session and 986 once invoked, about $0.0004 per session on Opus 5. 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-08-30.

Related

Other skills, from other repositories

animate

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.

The-Utopia-Studio/skills · 53 tokens

adapt

Adapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility.

The-Utopia-Studio/skills · 51 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

saas-landing

A single-page SaaS landing page for a software product, with sections such as the hero, features, customer proof, pricing, FAQs, and a call to action. SaaS means software delivered online, usually by subscription.

nexu-io/html-anything · 24 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

vertical-site-conventions

Compose pages and sites that read as their vertical: ecommerce-catalog storefronts that look like storefronts, hospitality-food sites that look like restaurants, b2b-manufacturer sites that look industrial. Use this skill whenever the user wants to build a site that looks like the vertical it serves, fix a build that…

rampstackco/claude-skills · 190 tokens