text-network

text-network is a command for Claude Code from MattArtzAnthro/gephi-ai. It costs 23 tokens per session (632 once invoked), scanned A, original, Apache-2.0.

A command that turns written material into a word co-occurrence network in Gephi. It represents recurring words as nodes and words appearing near each other in the same text segment as connected links.

In plain words
What is it for?
Use it with text files, folders, transcripts, notes, or survey answers to build, inspect, color, size, and arrange a word network.
Why use it?
It provides a visual way to spot recurring concepts and possible themes in transcripts, notes, or survey answers. It also reduces noise by revising word filters and frequency settings when common words dominate.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 with text files, folders, transcripts, notes, or survey answers to build, inspect, color, size, and arrange a word network.

Compare 6 commands 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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/mattartzanthro/gephi-ai/text-network"><img src="https://agentmods.dev/badge/commands/mattartzanthro/gephi-ai/text-network.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 632 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.00023 $0.00632
Opus 5.5 $0.00009 $0.00253
Sonnet 5.5 $0.00005 $0.00126
Haiku 4.5 $0.00002 $0.00063

Measured 2mo ago against content hash 39ac4dd1be7b, 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 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/commands/text-network.md · 40 lines

How it starts

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

Build a text network

Turn the text in $ARGUMENTS into a word co-occurrence network in Gephi: recurring concepts as nodes, co-occurrence as edges, themes as communities.

Rules this command must keep

  • Asking. When a step says to ask, ask once. If the person cannot answer, is away, or asked for a finished product, use the default named in that step and remove or overwrite nothing. At the end, give one short line for each choice that changed the result, under "Choices I made"; leave the section out when every step used its obvious default. If there is no input to work on, stop and say what is needed.
  • 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).

Steps

  1. Load the gephi skill first. Before any Gephi call, load the gephi-network-analysis:gephi skill. Its rules apply to every step below; this command repeats only the ones it is most likely to break.

  2. Get the text. If $ARGUMENTS is empty, ask the user for the text or a path. There is no default text: without one, stop and say what is needed.

  3. Dispatch the text-network-builder agent with the text or path.

    • If $ARGUMENTS is a file path (or several), pass it on; if it is a folder or a naturally segmented corpus, tell the agent so it builds from a list (one transcript turn, note, or answer per item) rather than one blob, because the co-occurrence window should reset per segment.
    • The agent reads ${CLAUDE_PLUGIN_ROOT}/skills/gephi/references/text-network-analysis.md, builds in a new workspace, inspects the vocabulary, rebuilds with better stopword, part-of-speech, or frequency settings if the hubs are noise, checks community stability, then colors, sizes, and lays out the graph. It runs in its own context so the tuning iterations stay out of this conversation.

Read the full file on GitHub · 40 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 39ac4dd1be7b
  2. 2mo ago Changed · +15 lines 500667fe410f
  3. 3mo ago First seen · 25 lines · 23 tokens per session scan A 4aca550c04d2

Subscribe to this mod's changes

text-network is a command published in the GitHub repository MattArtzAnthro/gephi-ai (27 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 632 once invoked, about $0.0001 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 compared with commands from other repositories

text-network next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
text-networkMattArtzAnthro/gephi-aiCommand27todayApache-2.0A23Claude Code
me-cfd-reviewhanhuark/mechanical-engineering-research-skillCommand278d agoMITA25Claude Code
me-experiment-planhanhuark/mechanical-engineering-research-skillCommand278d agoMITA25Claude Code
me-figure-discussionhanhuark/mechanical-engineering-research-skillCommand278d agoMITA21Claude Code
researchGRCEngClub/claude-grc-engineeringCommand4494d agononeA20Claude Code
openehr-explainCadasto/openehr-assistant-pluginCommand62mo agoMITA95Claude Code
gpd:write-paperpsi-oss/get-physics-doneCommand9854mo agononeA23Claude Code