layout-iterator

layout-iterator is an agent for Claude Code from MattArtzAnthro/gephi-ai. It costs 92 tokens per session (1,804 once invoked), scanned A, original, Apache-2.0.

An agent that improves the appearance of a graph already open in Gephi, a desktop tool for drawing networks of connected items. It repeatedly runs the layout, checks the result, inspects the graph, and adjusts it before returning an export, caption, and short change log.

In plain words
What is it for?
Use it to make hubs stand out, show communities, quiet down edges, fix layout problems, and produce a finished network image with an explanation of the changes.
Why use it?
It removes the trial-and-error work of making a network map readable and suitable for publication. It also checks whether the colors and visible groups reflect real graph structure.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the gephi-network-analysis plugin — 1 skill, 11 commands, 4 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to make hubs stand out, show communities, quiet down edges, fix layout problems, and produce a finished network image with an explanation of the changes.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add MattArtzAnthro/gephi-ai
Claude Code
/plugin install gephi-network-analysis

Made for: Claude Code.

Or install gephi-network-analysis, the plugin that ships this one along with the rest of its 1 skill, 11 commands, 4 agents, 1 hook, 1 MCP server.

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-iterator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/mattartzanthro/gephi-ai/layout-iterator"><img src="https://agentmods.dev/badge/agents/mattartzanthro/gephi-ai/layout-iterator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,804 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 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.00092 $0.01804
Opus 5.5 $0.00037 $0.00722
Sonnet 5.5 $0.00018 $0.00361
Haiku 4.5 $0.00009 $0.00180

Measured 19d ago against content hash 1948bfdc5a43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

layout-iterator 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 19d 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.

plugins/claude-code/agents/layout-iterator.md · 95 lines

How it starts

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

You take the loaded graph to a genuinely good map: real structure visible, hubs prominent, communities unmistakable, edges informative but quiet, nothing invisible. You run the whole run, inspect, and adjust loop in your own context so the dozens of intermediate exports and diagnoses never touch the main conversation: it gets the finished map.

First: load the skill

Before any Gephi call, load the gephi-network-analysis:gephi skill. Its rules apply to everything below. Then follow ${CLAUDE_PLUGIN_ROOT}/skills/gephi/references/layout-guide.md (layout choice and the symptom-to-fix table) and ${CLAUDE_PLUGIN_ROOT}/skills/gephi/references/reading-network-maps.md (what "good" means and the caption discipline). Do not re-derive layout tuning from memory.

Rules you must keep

  • Stability. Run gephi_community_stability before naming, captioning, or colouring by groups, and say how stable they are.
  • Palette. On a light background, leave colors unset: the plugin gives the largest group the first of eight colours validated for readability, the next largest the second, and so on, in an order that keeps the five largest groups distinguishable wherever they touch, even for colour-blind readers; past five groups, label the groups as well. On a dark background, pass the dark-surface palette. Colour must never be the only way to tell groups apart: label the largest nodes or the groups. Dark-surface palette, keyed largest group first: {"0":[57,135,229],"1":[201,133,0],"2":[0,131,0],"3":[213,81,129],"4":[144,133,233],"5":[230,103,103],"6":[25,158,112],"7":[217,89,38]}
  • Edges. On a light background, edges use {"edge.color": "#D0D0D0", "edge.opacity": 90, "edge.thickness": 1.0, "edge.curved": false}. Label settings change labels only; they never reset edge values.
  • Caption and legend. Every export ships with a copy-ready caption (data, layout and settings, what size and colour encode, what the map does and does not show) and, when colour encodes groups, a legend (gephi_export_legend).

Read the full file on GitHub · 95 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. 19d ago Changed 1948bfdc5a43
  2. 21d ago Changed · +31 lines · +3 tokens per session 15ff25af1b5c
  3. 1mo ago First seen · 64 lines · 89 tokens per session scan A f1ccaf18ee0e

Subscribe to this mod's changes

layout-iterator is an agent published in the GitHub repository MattArtzAnthro/gephi-ai (25 stars, last pushed 6d ago), licensed Apache-2.0. It adds 92 tokens to every session and 1,804 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-08-30.

Related

Other agents, from other repositories

nw-product-owner-reviewer

Use as hard gate before DESIGN wave - validates journey coherence, emotional arc quality, shared artifact tracking, Definition of Ready checklist, LeanUX antipatterns, and story sizing. Blocks handoff if any critical issue or DoR item fails. Runs on Haiku for cost efficiency.

nWave-ai/nWave · 62 tokens

form

Visual designer — brand identity, color systems, typography, UI design, and design systems.

tonone-ai/tonone · 19 tokens

nw-diverger

Use before DISCUSS — runs JTBD analysis, competitive research, structured brainstorming, and taste-filtered evaluation to produce 3-5 design directions before the team converges on one. Use when the team has a validated problem but hasn't chosen a solution approach.

nWave-ai/nWave · 57 tokens

vibe-prototype-worker

Prototype guidance and operational publisher for an owned vibe mockup. Read-only advice goes to the same persistent implementation writer; share mode only validates/publishes its reviewed committed result. Never builds, iterates or fixes source in another context.

closedloop-ai/claude-plugins · 53 tokens

security

Security review with two-phase enforcement: pre-impl analysis plus post-impl verification.

rjmurillo/ai-agents · 0 tokens

design-md-consumer

Load when the user's project ships a design contract — a .design file (schema design.v1) or a DESIGN.md (the Google Labs design-token format) — and wants generated UI to consume its tokens. Discovers the contract, resolves precedence, normalizes the tokens, and produces TypeScript / CSS variables / a Tailwind config /…

AgentsORG/design-engineering · 98 tokens