connections-optimizer
affaan-m/everything-claude-code
Reorganize your X and LinkedIn network with review-first pruning, smart recommendations, and warm outreach in your voice.
What is connections-optimizer?
Connections Optimizer helps you clean up and strategically grow your social graph on X and LinkedIn. It scores your current follows/connections against your priorities, surfaces pruning candidates with confidence levels, recommends high-value targets to add, and drafts warm outreach messages—all review-gated before any action.
- Score and rank X follows and LinkedIn connections for pruning based on activity, reciprocity, priority alignment, and bridge value
- Generate review-gated prune queues in light-pass, default, or aggressive modes without auto-removing accounts
- Identify high-signal add and follow targets using lead intelligence and warm-path discovery
- Draft channel-specific outreach (X DM, LinkedIn message, or Apple Mail) in your authentic voice
- Distinguish one-way follows from mutual connections and treat them with appropriate review rigor
- Surface warm-path bridges and network adjacencies to accelerate relationship building
How to install connections-optimizer
npx skills add https://github.com/affaan-m/everything-claude-code --skill connections-optimizer- Current priorities and active work context
- Target roles, industries, geographies, or ecosystems (optional but recommended)
- Do-not-touch list of accounts to protect (optional)
- X API access (preferred for X analysis) or browser control as fallback
- LinkedIn API access (preferred) or browser control as fallback
How to use connections-optimizer
- 1.Specify your current priorities, target roles/industries, and which platforms (X, LinkedIn, or both) to optimize
- 2.Provide a do-not-touch list if you have accounts you want to protect
- 3.Choose a mode: light-pass (conservative), default (balanced), or aggressive (larger prune queue)
- 4.Review the generated report with prune queue, keep list, and add/follow recommendations
- 5.Review all drafted outreach messages before sending
- 6.Apply approved actions (pruning, follows, or outreach) manually or via connected tools
Use cases
- Clean up a bloated X following list while protecting mutuals and high-value accounts
- Rebalance your LinkedIn network toward current professional priorities and remove stale connections
- Discover who to follow next based on your work focus and existing warm paths
- Draft personalized outreach to reconnect with dormant contacts or new targets in your authentic voice
- Audit your social graph for bridge value and identify key connectors in your network
- Professionals managing large X or LinkedIn networks
- Founders and operators rebalancing their graph around new priorities
- People looking to improve outreach quality by starting with network structure
- Anyone wanting to prune without guesswork or auto-delete risk
connections-optimizer FAQ
No. The default is review-first. The skill generates ranked action plans and drafts but requires your approval before any pruning, follows, or outreach are applied.
It scores accounts using positive signals (reciprocity, recent activity, priority alignment, bridge value, engagement) and negative signals (dormant accounts, stale one-way follows, off-priority topics). Mutuals and warm-path bridges are penalized less aggressively than one-way follows.
Yes. You can optimize one platform or both. The skill applies platform-specific rules—for example, X treats non-follow-backs more aggressively, while LinkedIn distinguishes outbound follows from accepted 1st-degree connections.
The skill falls back to browser control for both X and LinkedIn analysis and drafting. API access is preferred for speed and accuracy but not required.
It uses the brand-voice skill to capture your authentic communication style, then generates channel-specific drafts (X DM, LinkedIn message, or Apple Mail) that sound like you, not like automated sales copy.
Full instructions (SKILL.md)
Source of truth, from affaan-m/everything-claude-code.
name: connections-optimizer description: Reorganize the user's X and LinkedIn network with review-first pruning, add/follow recommendations, and channel-specific warm outreach drafted in the user's real voice. Use when the user wants to clean up following lists, grow toward current priorities, or rebalance a social graph around higher-signal relationships. metadata: origin: ECC
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, oraggressive
If the user does not specify a mode, use default.
Tool Requirements
Preferred
x-apifor X graph inspection and recent activitylead-intelligencefor target discovery and warm-path rankingsocial-graph-rankerwhen the user wants bridge value scored independently of the broader lead workflow- Exa / deep research for person and company enrichment
brand-voicebefore 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
- API-first if the user actually has LinkedIn API access
- browser workflow must work when API access is missing
- distinguish outbound follows from accepted 1st-degree connections
- outbound follows can be pruned more freely
- accepted 1st-degree connections should default to review, not auto-remove
Modes
light-pass
- prune only high-confidence low-value one-way follows
- surface the rest for review
- generate a small add/follow list
default
- balanced prune queue
- balanced keep list
- ranked add/follow queue
- draft warm intros or direct outreach where useful
aggressive
- larger prune queue
- lower tolerance for stale non-follow-backs
- still review-gated before apply
Scoring Model
Use these positive signals:
- reciprocity
- recent activity
- alignment to current priorities
- network bridge value
- role relevance
- real engagement history
- recent presence and responsiveness
Use these negative signals:
- disappeared or abandoned account
- stale one-way follow
- off-priority topic cluster
- low-value noise
- repeated non-response
- no follow-back when many better replacements exist
Mutuals and real warm-path bridges should be penalized less aggressively than one-way follows.
Workflow
- Capture priorities, do-not-touch constraints, and selected platforms.
- Pull the current following / connection inventory.
- Score prune candidates with explicit reasons.
- Score keep candidates with explicit reasons.
- Use
lead-intelligenceplus research surfaces to rank expansion candidates. - Match the right channel:
- X DM for warm, fast social touch points
- LinkedIn message for professional graph adjacency
- Apple Mail draft for higher-context intros or outreach
- Run
brand-voicebefore drafting messages. - Return a review pack before any apply step.
Review Pack Format
CONNECTIONS OPTIMIZER REPORT
============================
Mode:
Platforms:
Priority Set:
Prune Queue
- handle / profile
reason:
confidence:
action:
Review Queue
- handle / profile
reason:
risk:
Keep / Protect
- handle / profile
bridge value:
Add / Follow Targets
- person
why now:
warm path:
preferred channel:
Drafts
- X DM:
- LinkedIn:
- Apple Mail:
Outbound Rules
- Default email path is Apple Mail / Mail.app draft creation.
- Do not send automatically.
- Choose the channel based on warmth, relevance, and context depth.
- Do not force a DM when an email or no outreach is the right move.
- Drafts should sound like the user, not like automated sales copy.
Related Skills
brand-voicefor the reusable voice profilesocial-graph-rankerfor the standalone bridge-scoring and warm-path mathlead-intelligencefor weighted target and warm-path discoveryx-apifor X graph access, drafting, and optional apply flowscontent-enginewhen the user also wants public launch content around network moves
Related skills
More from affaan-m/everything-claude-code and the wider catalog.

security-review
Security checklist and patterns for authentication, input validation, secrets, and sensitive features.

golang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable applications.

coding-standards
Baseline coding conventions for naming, readability, immutability, and quality across projects.

frontend-patterns
React and Next.js patterns for components, state management, performance, and modern frontend practices.

backend-patterns
REST/GraphQL API design, database optimization, and server-side patterns for Node.js, Express, and Next.js.

golang-testing
Go testing patterns: table-driven tests, subtests, benchmarks, fuzzing, and TDD methodology.