connections-optimizer

connections-optimizer is a skill for Claude Code, Codex from gongyijie85/dsh-ecc. It costs 64 tokens per session (1,202 once invoked), scanned A, a copy of connections-optimizer, MIT.

A review-first system for organizing X and LinkedIn connections and follows around current priorities. It can identify people to remove, add, follow, reconnect with, or contact warmly.

In plain words
What is it for?
Use it to analyze X or LinkedIn networks, create pruning and recommendation queues, find warm paths, and draft messages in the user's voice.
Why use it?
It helps reduce low-value network clutter and focus outreach on relevant relationships instead of treating everyone as a cold prospect.

Skill for Claude CodeCodex

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

Good fit Use it to analyze X or LinkedIn networks, create pruning and recommendation queues, find warm paths, and draft messages in the user's voice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gongyijie85/dsh-ecc/connections-optimizer
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 gongyijie85/dsh-ecc --skill connections-optimizer
Clone the repo
git clone --depth 1 https://github.com/gongyijie85/dsh-ecc

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 connections-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/connections-optimizer/github.svg)](https://agentmods.dev/skills/gongyijie85/dsh-ecc/connections-optimizer)
Your own site
<a href="https://agentmods.dev/skills/gongyijie85/dsh-ecc/connections-optimizer"><img src="https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/connections-optimizer/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 connections-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/gongyijie85/dsh-ecc/connections-optimizer"><img src="https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/connections-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,202 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 89% copy Near-identical to another mod 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.00064 $0.01202
Opus 5.5 $0.00026 $0.00481
Sonnet 5.5 $0.00013 $0.00240
Haiku 4.5 $0.00006 $0.00120

Measured 3mo ago against content hash 499c7e7e361e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

connections-optimizer 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 3mo 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.

Origin

This is a copy

89% identical to connections-optimizer — 29 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/connections-optimizer/SKILL.md · 191 lines

How it starts

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

Connections Optimizer

Reorganize the user's network instead of treating outbound as a one-way prospecting list.

This skill handles:

  • X following cleanup and expansion
  • LinkedIn follow and connection analysis
  • review-first prune queues
  • add and follow recommendations
  • warm-path identification
  • Apple Mail, X DM, and LinkedIn draft generation in the user's real voice

When to Activate

  • the user wants to prune their X following
  • the user wants to rebalance who they follow or stay connected to
  • the user says "clean up my network", "who should I unfollow", "who should I follow", "who should I reconnect with"
  • outreach quality depends on network structure, not just cold list generation

Required Inputs

Collect or infer:

  • current priorities and active work
  • target roles, industries, geos, or ecosystems
  • platform selection: X, LinkedIn, or both
  • do-not-touch list
  • mode: light-pass, default, or aggressive

If the user does not specify a mode, use default.

Tool Requirements

Preferred

  • x-api for X graph inspection and recent activity
  • lead-intelligence for target discovery and warm-path ranking
  • social-graph-ranker when the user wants bridge value scored independently of the broader lead workflow
  • Exa / deep research for person and company enrichment
  • brand-voice before drafting outbound

Fallbacks

  • browser control for LinkedIn analysis and drafting
  • browser control for X if API coverage is constrained
  • Apple Mail or Mail.app drafting via desktop automation when email is the right channel

Safety Defaults

  • default is review-first, never blind auto-pruning
  • X: prune only accounts the user follows, never followers
  • LinkedIn: treat 1st-degree connection removal as manual-review-first
  • do not auto-send DMs, invites, or emails
  • emit a ranked action plan and drafts before any apply step

Platform Rules

X

  • mutuals are stickier than one-way follows
  • non-follow-backs can be pruned more aggressively
  • heavily inactive or disappeared accounts should surface quickly
  • engagement, signal quality, and bridge value matter more than raw follower count

Read the full file on GitHub · 191 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. 3mo ago First seen · 191 lines · 64 tokens per session scan A 499c7e7e361e

Subscribe to this mod's changes

connections-optimizer is a skill published in the GitHub repository gongyijie85/dsh-ecc (13 stars, last pushed 12d ago), licensed MIT. It adds 64 tokens to every session and 1,202 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to connections-optimizer, differing in 29 lines, and is treated as a copy.

Related

connections-optimizer compared with skills from other repositories

connections-optimizer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
connections-optimizergongyijie85/dsh-eccSkill1312d agoMITA64Claude Code, Codex
manage-taskboardshengsheng90/DSH-taskboardSkill33028d agoApache-2.0A88Codex
refactoromagents/omagentsSkill3612d agoMITA55Codex
tech-debt-auditomagents/omagentsSkill3612d agoMITA57Codex
deep-researchomagents/omagentsSkill3612d agoMITB24Codex
hook-developmentSivan757/dsh-agent-plugins-marketSkill234d agoMITA113Claude Code
initSivan757/dsh-agent-plugins-marketSkill234d agoMITA48Claude Code