code-communities skillA
code-communities is agent-read markdown (skill) from athola/claude-night-market: Detects architectural clusters and coupling boundaries via community detection on the code graph. Use when identifying module groupings or refactoring targets..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Code Community Detection
Identify architectural clusters and module boundaries
in the codebase.
## When NOT To Use
- One module's imports (use `cartograph:dependency-graph`)
- Rendering an architecture already decided (use
`cartograph:architecture-diagram`)
## Prerequisites
This skill requires the **gauntlet** plugin for graph
data. Discover it:
```bash
GRAPH_QUERY=$(find ~/.claude/plugins -name "graph_query.py" -path "*/gauntlet/*" 2>/dev/null | head -1)
```
**If gauntlet is not installed**: Fall back to directory
structure analysis. Group files by directory and use
import statements to identify module boundaries. Generate
a Mermaid diagram from directory-level relationships.
**If installed but no graph.db**: Tell the user to run
`/gauntlet-graph build`.
## Steps
1. **Run community detection** (requires gauntlet):
```bash
python3 "$GRAPH_QUERY" --action communities
```
**Fallback (no gauntlet)**: Analyze directory structure
and cross-directory imports:
```bash
# Directory-level grouping
find . -name "*.py" -not -path "*/node_modules/*" | \
sed 's|/[^/]*$||' | sort | uniq -c | sort -rn
…Read the whole file at its exact version.
How to install
mdr add athola/claude-night-market/code-communities@git:20260713.f98719bmdr add athola/claude-night-market/code-communities@sha256:be20e5e80201cdacPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_cppqdu2ls2zujm34)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260713.f98719b latest | 2026-07-13 | f98719b | 3,833 B | A | view · diff |
| git:20260622.78871f4 | 2026-06-22 | 78871f4 | 3,667 B | A | view · diff |
| git:20260521.6f5c7d9 | 2026-05-21 | 6f5c7d9 | 3,029 B | A | view · diff |
| git:20260521.810b41c | 2026-05-21 | 810b41c | 2,969 B | A | view · diff |
| git:20260506.55fecfb | 2026-05-06 | 55fecfb | 2,975 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3833 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
athola/claude-night-market · 338 stars · license MIT · pushed 2026-09-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_cppqdu2ls2zujm34 GET https://markdownregistry.com/api/v1/resolve?ref=athola/claude-night-market/code-communities GET https://markdownregistry.com/api/v1/blob/be20e5e80201cdac6eee5adf5a8e455a53b81b6c755040ec26af41222c6efaaf
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.