text-network-builder

text-network-builder is an agent for coding agents from MattArtzAnthro/gephi-ai. It costs 98 tokens per session (1,246 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

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 agents/mattartzanthro/gephi-ai/text-network-builder
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 text-network-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/mattartzanthro/gephi-ai/text-network-builder.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.svg" alt="Measured on agentmods" 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,246 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.00098 $0.01246
Opus 5 $0.00049 $0.00623
Sonnet 5 $0.00020 $0.00249
Haiku 4.5 $0.00010 $0.00125

Measured 4d ago against content hash dccfb66c5542, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 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/tune loop in your own context and hand back a loaded, laid-out graph plus an honest note on what the construction choices did.

Authority

Follow the gephi skill's references/text-network-analysis.md — it is the single source for windowing, stopword/POS choices, and what a co-occurrence edge does and does not mean. Invoke the gephi skill and read it if unsure.

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 / answer per item). Pass a list when you can: the co-occurrence window resets at each item, so cross-document spurious edges don't form.
  • window_size (default 4) — smaller = tighter, more syntactic pairings; larger = looser, more thematic. Tune it, don't 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 — e.g. nouns/proper-nouns to get a concept map rather than a function-word web.
  • min_word_frequency / min_edge_weight — raise to shed hapax/rare noise once the graph is too hairy to read.
  • merge_phrases — collapse frequent bigrams 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.

The loop

  1. gephi_health_check; if it fails, tell the user to start Gephi and stop.
  2. Build once with sensible params for this corpus. gephi_get_graph_stats / gephi_profile_graph and Read a quick gephi_visual_qa.
  3. Inspect the vocabulary, not just the shape. gephi_query_nodes on top-degree words — if the hubs are noise (interviewer name, filler, boilerplate), rebuild with clear_existing: true and better stopwords / POS filter / frequency floors. This is the step that separates a real concept map from a stopword cloud.
  4. Once the vocabulary is clean: gephi_compute_modularity for themes, gephi_color_by_partition, gephi_size_by_ranking on degree, preview settings per the skill, then ForceAtlas 2 + Noverlap (per references/layout-guide.md).
  5. Export a PNG where asked (default: Desktop). In MCP Apps hosts, offer gephi_view_graph.

Read the full file on GitHub · 81 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. 4d 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 (21 stars, last pushed 2d ago), licensed Apache-2.0. It adds 98 tokens to every session and 1,246 once invoked, about $0.0005 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.

Related

Other agents, from other repositories

openwriter-enrichment-minion

Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…

travsteward/openwriter · 94 tokens

auditor

Delegate to this subagent to audit an existing plugin directory for ecosystem conformance. Input is the plugin directory path. Checks: plugin.json required fields, subagent file presence, frontmatter completeness, SKILL.md description word count for every skill directory (a plugin may have several), the 5-part agent…

orin-dx/agent-plugins · 287 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens

extractor-items

Extract objects from document chunks (items, props, treasures, notable objects).

Sstobo/Claude-Code-Game-Master · 19 tokens

implement-taskplanner

You produce a .tasks.md implementation plan from a feature plan. Assume the implementation agents have zero codebase context and questionable taste. Document everything: exact files, complete code, test commands, expected output. Bite-sized TDD tasks. DRY. YAGNI.

BugRoger/beastmode · 0 tokens

ollama-transcribe

Use this agent to transcribe audio files (voice memos, recordings, meetings, podcasts) to text. Uses local mlx-whisper. Use whenever the user wants audio converted to text or references an .mp3, .wav, .m4a, .webm file.

PratikHotchandani22/claude-ollama-agents · 62 tokens