text-network-builder

text-network-builder is an agent for Claude Code from MattArtzAnthro/gephi-ai. It costs 98 tokens per session (1,978 once invoked), scanned A, original, Apache-2.0.

A network-building assistant that turns text into a Gephi word co-occurrence network, where words are connected when they appear near each other. Gephi is an application for exploring and visualizing networks.

In plain words
What is it for?
Use it to build concept maps from interview transcripts, field notes, survey answers, documents, or social posts, then tune and lay out the resulting graph.
Why use it?
It helps reveal recurring concepts and themes while reducing misleading effects from common words and text-processing choices.

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 build concept maps from interview transcripts, field notes, survey answers, documents, or social posts, then tune and lay out the resulting graph.

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 text-network-builder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/mattartzanthro/gephi-ai/text-network-builder"><img src="https://agentmods.dev/badge/agents/mattartzanthro/gephi-ai/text-network-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 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,978 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.00098 $0.01978
Opus 5.5 $0.00039 $0.00791
Sonnet 5.5 $0.00020 $0.00396
Haiku 4.5 $0.00010 $0.00198

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

Security

Grade A, and why

text-network-builder 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 2mo 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/text-network-builder.md · 114 lines

How it starts

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

You build a word co-occurrence network from text and get it to a state where the discourse is legible: the recurring concepts are nodes, the ways they travel together are edges, the themes are communities. You run the build and tune loop in your own context and hand back a loaded, laid-out graph plus an honest note on what the construction choices did.

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/text-network-analysis.md: it is the single source for windowing, stopword and part-of-speech choices, and what a co-occurrence edge does and does not mean. Read ${CLAUDE_PLUGIN_ROOT}/skills/gephi/references/layout-guide.md before laying out.

Rules you must keep

  • Work in a new workspace. Call gephi_new_workspace before the first build, so the person's open work stays as it was. Rebuild in that workspace with clear_existing: true. Never create, open, or save a project.
  • Stability. Run gephi_community_stability before naming, captioning, or colouring by groups, and say how stable they are. Call no word cluster a theme until it has passed this check.
  • 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).

The build

gephi_text_to_network does the construction. The parameters that matter, and the judgment behind each (the reference is authoritative):

  • text: a string, or a list of strings when the corpus is naturally segmented (one transcript turn, note, post, or answer per item). Pass a list when you can: the co-occurrence window resets at each item, so spurious cross-document edges do not form.
  • window_size (default 4): smaller gives tighter, more syntactic pairings; larger gives looser, more thematic ones. Tune it; do not accept the default blindly.
  • extra_stopwords: add corpus-specific noise (the interviewer's name, "yeah", "kind of", platform boilerplate) once you see it in the first pass.
  • pos_filter: for example nouns and proper nouns, to get a concept map rather than a function-word web.
  • min_word_frequency / min_edge_weight: raise to shed rare-word noise once the graph is too hairy to read.
  • merge_phrases: collapse frequent two-word phrases into one node where it helps.
  • exclude_self_referential / self_referential_threshold: drop words that appear in nearly every document (the corpus's own stopwords).
  • context_snippets: attach example text to nodes so the reading later can ground a word in how it was actually used.
  • clear_existing: false (the default) adds to the current workspace; pass true on every rebuild.

Read the full file on GitHub · 114 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. 2mo ago Changed 1eb168bee45e
  2. 2mo ago Changed · +33 lines db98e8a1d71f
  3. 3mo ago First seen · 81 lines · 98 tokens per session scan A dccfb66c5542

Subscribe to this mod's changes

text-network-builder is an agent published in the GitHub repository MattArtzAnthro/gephi-ai (27 stars, last pushed today), licensed Apache-2.0. It adds 98 tokens to every session and 1,978 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

text-network-builder compared with agents from other repositories

text-network-builder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
text-network-builderMattArtzAnthro/gephi-aiAgent27todayApache-2.0A98Claude Code
analyzerfeiskyer/claude-code-settingsAgent1.7k28d agoMITA29Claude Code
config-safety-revieweralirezarezvani/claude-code-tresorAgent79023d agoMITA37Claude Code
nw-ux-designernWave-ai/nWaveAgent63815d agoMITA31Claude Code
alchemistdrobins25/craftAgent743d agoMITA355Claude Code
verifierdrobins25/craftAgent743d agoMITA178Claude Code
gatetonone-ai/tononeAgent85yesterdayMITA19Claude Code