export-map

export-map is a command for coding agents from MattArtzAnthro/gephi-ai. It costs 11 tokens per session (750 once invoked), scanned A, original, Apache-2.0.

A Gephi command for exporting the current network map as clean and labeled PNG images and an SVG file. SVG is an image format that remains sharp when resized.

In plain words
What is it for?
Use it to check whether the open map is ready, then export clean, labeled, and scalable versions.
Why use it?
It prevents exporting an unreadable map before the network has been arranged and styled.

Command

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

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.

agentmods
npx agentmods add commands/mattartzanthro/gephi-ai/export-map
Clone the repo
git clone --depth 1 https://github.com/MattArtzAnthro/gephi-ai

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 export-map

README.md
[![agentmods](https://agentmods.dev/badge/commands/mattartzanthro/gephi-ai/export-map.svg)](https://agentmods.dev/commands/mattartzanthro/gephi-ai/export-map)
Your own site
<a href="https://agentmods.dev/commands/mattartzanthro/gephi-ai/export-map"><img src="https://agentmods.dev/badge/commands/mattartzanthro/gephi-ai/export-map.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.00750
Opus 5 $0.00005 $0.00375
Sonnet 5 $0.00002 $0.00150
Haiku 4.5 $0.00001 $0.00075

Measured 3d ago against content hash 2a2639b5fc10, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

export-map 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 3d 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/commands/export-map.md · 71 lines

How it starts

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

Export Map

Export the map currently open in Gephi: a clean PNG, a labeled PNG, and an SVG. This command exports; it does not lay out or style. The map has to be a map first (laid out, sized, colored), which /visualize or /analyze-network does.

Tell the user what you're doing at each step — narrate briefly before each tool call so they know what's happening.

Steps

  1. Health check: Call gephi_health_check. If it fails, tell the user to start Gephi and stop.

  2. Graph info: Call gephi_get_project_info. Tell the user the node/edge counts. If the graph is empty, stop and tell them.

  3. Is it a map yet? Call gephi_visual_qa (with the partition column if the graph has one). If its warnings include the "looks untouched" warning, or sizes.flat is true and colors.distinct is 1, the graph has been loaded but not laid out or styled: exporting now produces the block of overlapping default nodes. Say that, and offer the recommended path: run /visualize (layout, sizes, colors, with a visual check) and then export. Only continue without it if the user says so. If visual_qa returns other warnings (invisible sizes, near-white colors, an exploded layout), fix or flag them before exporting.

  4. Set preview settings for clean export (no labels). Call gephi_set_preview_settings with:

    {
      "node.label.show": false,
      "edge.opacity": 25,
      "edge.curved": true,
      "edge.color": "source",
      "edge.thickness": 2.0,
      "node.opacity": 100,
      "node.border.width": 0.3,
      "arrow.size": 0
    }
    

    Tell the user: "Setting preview to clean mode — no labels, community-colored edges."

  5. Export clean PNG: Call gephi_export_png with file set to the user's path or ~/Desktop/network.png, at width: 3840, height: 2160. Tell the user: "Exporting clean PNG at 4K resolution..."

  6. Enable labels and export annotated version:

    • Call gephi_set_preview_settings with:
      {
        "node.label.show": true,
        "node.label.proportinalSize": false,
        "node.label.font": "Arial 10 Plain",
        "node.label.outline.size": 4,
        "node.label.outline.opacity": 95,
        "edge.opacity": 15
      }
      
    • Export with _labeled suffix. Tell the user: "Exporting labeled version..."

Read the full file on GitHub · 71 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. 3d ago First seen · 71 lines · 11 tokens per session scan A 2a2639b5fc10

Subscribe to this mod's changes

export-map is a command published in the GitHub repository MattArtzAnthro/gephi-ai (20 stars, last pushed 3d ago), licensed Apache-2.0. It adds 11 tokens to every session and 750 once invoked, about $0.0001 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.