layout-grid

layout-grid is a skill for Codex from tomcounsell/ai. It costs 90 tokens per session (1,395 once invoked), scanned A, original, GPL-3.0.

Grid and alignment rules for a macOS SwiftUI app, with three checks that catch misalignment (a lint for off-grid numbers, a layout probe that measures real frames in snapshot mode, and a grid overlay). Use when building or reviewing a custom page, card, row, form, or sheet, after every build that touched layout, or…

Skill for Codex

Written for Codex: agents/openai.yaml present.

Install with agentmods
npx agentmods add skills/tomcounsell/ai/layout-grid
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 tomcounsell/ai --skill layout-grid
Clone the repo
git clone --depth 1 https://github.com/tomcounsell/ai

Made for: 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 layout-grid

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomcounsell/ai/layout-grid"><img src="https://agentmods.dev/badge/skills/tomcounsell/ai/layout-grid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,395 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.
Origin unknown 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.00090 $0.01395
Opus 5.5 $0.00036 $0.00558
Sonnet 5.5 $0.00018 $0.00279
Haiku 4.5 $0.00009 $0.00139

Measured today against content hash 51d265f4f45d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

layout-grid 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 today.

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.

skills/valor/bama/skills/design/layout-grid/SKILL.md · 122 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 122 lines · 90 tokens per session scan A 51d265f4f45d

Subscribe to this mod's changes

layout-grid is a skill published in the GitHub repository tomcounsell/ai (31 stars, last pushed today), licensed GPL-3.0. It adds 90 tokens to every session and 1,395 once invoked, about $0.0004 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-10-28.

Related

Other skills, from other repositories

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now…

jcarlosrodicio/opencode-agent-orchestration-kit · 67 tokens

oak-adversarial-review

Use for every final review of a diff - an independent pass that assumes the change is wrong, accounts for every changed file, attacks it along fixed dimensions, fact-checks its own findings and ends in an explicit verdict. Use also when the user asks for a red-team or devil's-advocate review.

jcarlosrodicio/opencode-agent-orchestration-kit · 68 tokens

code-review-and-quality

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

jcarlosrodicio/opencode-agent-orchestration-kit · 51 tokens

code-simplification

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

jcarlosrodicio/opencode-agent-orchestration-kit · 51 tokens

auto-review-loop-minimax

Autonomous multi-round research review loop using MiniMax API. Use when you want to use MiniMax instead of Codex MCP for external review. Trigger with "auto review loop minimax" or "minimax review".

wanshuiyin/Auto-claude-code-research-in-sleep · 50 tokens

address-pr-comments

Work through the review comments on a pull request: check each point against the code, make the changes that are right, answer the ones that are not, and hold every reply for approval before it is posted.

androoAGI/starnet · 46 tokens