antislop-layoutmobile

antislop-layoutmobile is a skill for Claude Code from miqdadbadjuber/anti-slop. It costs 40 tokens per session (3,728 once invoked), scanned A, original, MIT.

A guide for making web layouts reflow correctly on phones and other small screens. It covers stacking, sizing, grids, overflow, touch targets, and navigation.

In plain words
What is it for?
Use it when building or editing responsive pages, especially grids, navigation, overflow areas, and controls that must work with touch.
Why use it?
It helps prevent desktop layouts from becoming cramped, hard to use, or difficult to navigate on mobile devices.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the antislop plugin — 6 skills shipped together

Good fit Use it when building or editing responsive pages, especially grids, navigation, overflow areas, and controls that must work with touch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miqdadbadjuber/anti-slop/antislop-layoutmobile
About the project

anti-slop is a set of rules and skills that coding agents use to avoid generic AI-generated interfaces, copy, and code. It is intended for people building pages or writing and reviewing text with an agent, while a user-provided DESIGN.md supplies the visual direction. The catalogue entries package these rules as agent skills and a plugin.

miqdadbadjuber/anti-slop · 7,562 stars · on GitHub · antislop.ai.id

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 miqdadbadjuber/anti-slop --skill antislop-layoutmobile
Clone the repo
git clone --depth 1 https://github.com/miqdadbadjuber/anti-slop

Made for: Claude Code.

Or install antislop, the plugin that ships this one along with the rest of its 6 skills.

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 antislop-layoutmobile

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/miqdadbadjuber/anti-slop/antislop-layoutmobile"><img src="https://agentmods.dev/badge/skills/miqdadbadjuber/anti-slop/antislop-layoutmobile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,728 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 11 Sept 2026
  • Snyk pass 11 Sept 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.00040 $0.03728
Opus 5.5 $0.00016 $0.01491
Sonnet 5.5 $0.00008 $0.00746
Haiku 4.5 $0.00004 $0.00373

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

Security

Grade A, and why

antislop-layoutmobile 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/antislop-layoutmobile/SKILL.md · 171 lines

How it starts

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

antislop-layoutmobile

Anti Slop: Rules for AI Coding Agents. Mobile Layout skill

Part of the antislop system. Read together with antislop.md (the core). This skill deep-dives the responsive layout concern: how a layout must reflow across screen sizes, phone to desktop. Breakpoints, scale, grids, overflow, tap targets, and navigation. It references core rules by number and never duplicates or renumbers them. Load it when the task builds or edits a layout that has to hold up at any screen width.

How to use this skill

  • Load together with antislop.md whenever the task is mobile or responsive layout work. The core holds the mechanism (the purpose test, the three tiers, the Delivery Gate); this skill holds mobile-layout depth.
  • Every entry has the same shape: Tell (the pattern), Why (why it reads as slop), Fix (what to do instead), with the governing core rule cited as R-XX.
  • The principle behind this skill: mobile layout is a different layout, not the desktop layout at a smaller size. It must reflow: re-stack, rescale, and re-order with intent. Every pattern below is a way a layout fails to reflow.
  • The Delivery Gate in the core remains the gate. The "Layoutmobile Skill Checklist" at the end of this file is the mobile-specific supplement to run alongside it.

Breakpoints

Desktop-Only Layout

  • Tell: one layout state for every screen; the mobile view is the desktop layout squeezed into a phone.
  • Why: R-03 requires a mobile layout that is perfect, not an afterthought. A page that only shrinks has no mobile design at all: cards that worked side by side overlap, and text meant for a wide canvas crowds into a narrow one.
  • Fix: define a real mobile state at the breakpoint where the content stops working. The mobile layout reflows: columns stack, sizes drop, and order changes where the content needs it. If the mobile view is just the desktop view at a smaller width, the layout is not done.

Breakpoint Driven by Device List

Read the full file on GitHub · 171 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 Changed · +7 lines · +4 tokens per session 8613395a5109
  2. 2mo ago First seen · 164 lines · 36 tokens per session scan A 794c5203ea63

Subscribe to this mod's changes

antislop-layoutmobile is a skill published in the GitHub repository miqdadbadjuber/anti-slop (7,562 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 3,728 once invoked, about $0.0002 per session on Opus 5.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.