community-detection

community-detection is a skill for Claude Code, Codex from MattArtzAnthro/gephi-ai. It costs 43 tokens per session (1,001 once invoked), scanned A, original, Apache-2.0.

A workflow for finding groups of closely connected nodes in a network loaded in Gephi. It can compare different grouping methods and show the groups with colors.

In plain words
What is it for?
Use it to identify communities, compare Louvain or Leiden results, assess how reliable the groups are, and color the network by group.
Why use it?
It helps reveal clusters that may be hidden in a large network and checks whether the result changes when the grouping settings change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify communities, compare Louvain or Leiden results, assess how reliable the groups are, and color the network by group.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mattartzanthro/gephi-ai/community-detection
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.

Any agent
npx skills add MattArtzAnthro/gephi-ai --skill community-detection
Clone the repo
git clone --depth 1 https://github.com/MattArtzAnthro/gephi-ai

Made for: Claude Code, Codex.

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 community-detection

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mattartzanthro/gephi-ai/community-detection"><img src="https://agentmods.dev/badge/skills/mattartzanthro/gephi-ai/community-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,001 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.01001
Opus 5 $0.00022 $0.00500
Sonnet 5 $0.00009 $0.00200
Haiku 4.5 $0.00004 $0.00100

Measured 9d ago against content hash 2231ef8989ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

community-detection 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 9d 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/gephi-network-analysis/skills/community-detection/SKILL.md · 77 lines

How it starts

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

Community Detection Workflow

Run a complete community detection and visualization workflow on the current Gephi graph.

Tell the user what you're doing at each step — narrate briefly before each tool call.

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.

  3. Ask which method (skip if the request names one or the user already said). One question, with the trade-off stated plainly:

    • Louvain (Gephi's built-in Modularity; Blondel et al. 2008): maximizes modularity by greedy local moves. Fast and familiar; the default.
    • Leiden (Traag, Waltman, and van Eck 2019): the same objective with a refinement step that guarantees every community is internally connected and converges more reliably. Its partitions can be more uneven in size. Requires the CWTS Leiden plugin in Gephi; check gephi_list_statistics for "Leiden algorithm" before offering it as available.
    • Stochastic block model inference (Peixoto 2019): fits a generative model of the edges and selects the partition that best explains them, with model selection that returns a single block when the data support no structure. Modularity maximization has no such check and returns a partition for any graph, including a random one. SBM inference is not implemented in Gephi; if the user wants it, say so and point to graph-tool (minimize_blockmodel_dl) outside this workflow.

    Frame the choice as: modularity maximization gives a partition that describes how the observed edges cluster; SBM inference tests whether a block structure is supported at all. Cite the papers in the caption when the map is publication-bound.

  4. Compute communities:

    • Louvain: call gephi_compute_modularity with the requested resolution (default 1.0). Note Gephi's resolution runs opposite to the gamma convention in most papers: raising it merges communities.
    • Leiden: call gephi_run_statistic with name="Leiden algorithm" and params={"algorithm": "Leiden", "qualityFunction": "Modularity", "resolution": <resolution>}; the result column is what the plugin reports (check gephi_get_columns and use that name in step 6). Tell the user: "Running community detection..." then report the modularity score and number of communities.

Read the full file on GitHub · 77 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. 9d ago First seen · 77 lines · 43 tokens per session scan A 2231ef8989ea

Subscribe to this mod's changes

community-detection is a skill published in the GitHub repository MattArtzAnthro/gephi-ai (22 stars, last pushed 8d ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,001 once invoked, about $0.0002 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 skills, from other repositories

cuopt-numerical-optimization-formulation

LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.

NVIDIA/skills · 42 tokens

earth2studio-create-datasource

Create and validate Earth2Studio data source wrappers (DataSource, ForecastSource, DataFrameSource, ForecastFrameSource) from remote stores. Do NOT use for fetching data with existing sources, model inference, or installation tasks.

NVIDIA/skills · 53 tokens

earth2studio-data-fetch

Fetch weather/climate data via Earth2Studio data sources for specific variables and times. Do NOT use for inference pipelines, model discovery, or installation.

NVIDIA/skills · 36 tokens

i4h-workflow-dataset-convert

Convert workflow HDF5 recordings to LeRobot datasets for training or browser inspection. Use for conversion; do not use for replay, augmentation, or raw-data repair.

NVIDIA/skills · 43 tokens

i4h-catheter-navigation-e2e

End-to-end smoke for catheter navigation covering setup, digital twin, DRR, and unit tests. Use when asked to run the full catheter workflow smoke or demo the v0.7 pipeline.

NVIDIA/skills · 49 tokens

medtech-model-evidence-export

Exports sanitized metadata, parameters, reproducibility details, quality metrics, and optional review artifacts from Medical AI inference runs or evidence packs to MLflow. Use after inference, including NV-Generate runs; not for live training tracking, model registration, or clinical use.

NVIDIA/skills · 59 tokens