Skip to main content
AI/MLjmagly

profile-communities

Detect co-author communities (label propagation), report modularity Q, and identify bridge authors (high betweenness). Runs via `aiwg corpus profile-communities`.

Stars
141
Source
jmagly/aiwg
Updated
2026-05-31
Slug
jmagly--aiwg--profile-communities
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/jmagly/aiwg/HEAD/agentic/code/frameworks/research-complete/skills/profile-communities/SKILL.md -o .claude/skills/profile-communities.md

Drops the SKILL.md into .claude/skills/profile-communities.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Profile Communities

Community structure of the corpus co-author graph.

How to run

aiwg corpus profile-communities
aiwg corpus profile-communities --out indices/communities.md

Uses label propagation (deterministic variant — no python-louvain dependency; the graceful fallback the corpus tooling specifies), reports modularity Q (warns when Q < 0.3 = weak structure on a sparse graph), and lists bridge authors (highest betweenness, spanning communities).

Triggers

  • "detect research communities"
  • "co-author clusters / modularity"
  • "bridge authors"
  • /profile-communities

References

  • @$AIWG_ROOT/src/artifacts/corpus-tools/profile-communities.ts — implementation
  • profile-metrics / profile-temporal skills