connections-optimizer

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.

144,923 stars
Complexity: easy

About this skill

The Connections Optimizer skill empowers you to strategically refine and expand your professional and social networks on X (formerly Twitter) and LinkedIn. Instead of treating outbound interactions as mere prospecting, this skill facilitates a "review-first" approach to network management. It intelligently analyzes your existing connections and followers, provides recommendations for pruning inactive or low-signal relationships, and suggests high-value individuals or organizations to follow or connect with. Furthermore, it identifies warm outreach paths and drafts personalized messages (for Apple Mail, X DMs, and LinkedIn messages) that genuinely reflect your communication style, ensuring authentic and effective engagement. This comprehensive tool helps users clean up cluttered feeds, align their network with current professional priorities, and cultivate a social graph rich in meaningful, high-signal relationships.

Best use case

Streamlining and decluttering overloaded social media feeds on X and LinkedIn. Strategically growing a professional network towards specific career or business objectives. Enhancing the quality of social interactions by focusing on higher-signal connections. Preparing personalized outreach messages for networking, collaboration, or business development. Rebalancing a social graph to better reflect current interests and professional priorities.

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.

A cleaner, more relevant X and LinkedIn following/connection list. A curated list of recommended individuals to follow or connect with, aligned with your specific goals. Drafted, personalized warm outreach messages ready for review and sending via Apple Mail, X DMs, or LinkedIn. A more focused and high-signal social graph that actively supports your current priorities. Increased engagement with valuable connections and reduced noise in your social feeds.

Practical example

Example input

I need help cleaning up my LinkedIn connections and X followers. My main goal is to connect more with AI researchers and founders in the ethical AI space. Also, can you draft some outreach messages for potential collaborators I identify?

Example output

{"status": "success", "message": "Analyzing your LinkedIn and X networks for connections related to ethical AI research and founders. Here are the initial findings and recommendations:", "pruning_suggestions": {"linkedin": [{"name": "Old Connection A", "reason": "Inactive for 3+ years, no shared interests with ethical AI.", "action": "Suggest to prune"}, {"name": "Old Connection B", "reason": "Industry shift, no current relevance to ethical AI.", "action": "Suggest to prune"}], "x": [{"handle": "@random_influencer", "reason": "High volume, low signal relative to ethical AI.", "action": "Suggest to unfollow"}, {"handle": "@past_project_member", "reason": "No longer active in ethical AI space.", "action": "Suggest to unfollow"}]}, "add_follow_recommendations": {"linkedin": [{"name": "Dr. Anya Sharma", "title": "Lead AI Ethicist at SynthLabs", "reason": "Highly influential in ethical AI, frequent speaker.", "action": "Suggest to connect"}, {"name": "OpenAI Ethics Research Group", "reason": "Key organization in your target field.", "action": "Suggest to follow"}], "x": [{"handle": "@AI_Ethicist_XYZ", "reason": "Active researcher, shares relevant papers.", "action": "Suggest to follow"}, {"handle": "@EthicalAIFounder", "reason": "Founder of a startup aligned with your goals.", "action": "Suggest to follow"}]}, "drafted_outreach": [{"platform": "LinkedIn Message (Draft)", "recipient": "Dr. Anya Sharma", "subject": "Connecting on Ethical AI Research - [Your Name]", "body": "Hi Dr. Sharma, I've been following your work on [mention specific project/paper] with great interest, particularly your insights on [specific insight]. As an AI professional deeply committed to ethical AI practices, I'm keen to connect with leaders like yourself. I recently [mention relevant experience or project] and would value the opportunity to learn from your experiences. Would you be open to a brief chat sometime? Best, [Your Name]"}, {"platform": "X DM (Draft)", "recipient": "@EthicalAIFounder", "body": "Hi! Really impressed with [Founder's Company] and your recent thoughts on [specific tweet/topic]. I'm also working in the ethical AI space [briefly mention your area]. Would love to connect/chat if you're open to it! Cheers, [Your Name]"}], "next_steps": "Please review the suggestions and drafts. Let me know which actions you'd like to take or if you'd like any adjustments to the drafts."}

When to use this skill

  • When your X or LinkedIn feed feels overwhelming, irrelevant, or low-signal.
  • When you want to curate a more targeted and high-quality professional or social network.
  • When you're looking to expand your reach with meaningful new connections aligned with specific goals.
  • When you need to draft warm, personalized messages for specific individuals on social platforms or email.

When not to use this skill

  • If you do not actively use X or LinkedIn for professional or social networking.
  • If you are primarily looking for a simple social media content scheduling or bulk analytics tool (this skill focuses on network structure and personalized outreach).
  • If you need to manage social networks other than X and LinkedIn.
  • If you require generic, high-volume outreach rather than personalized, warm messages.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/connections-optimizer/SKILL.md --create-dirs "https://raw.githubusercontent.com/affaan-m/everything-claude-code/main/skills/connections-optimizer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/connections-optimizer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How connections-optimizer Compares

Feature / Agentconnections-optimizerStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

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.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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

### LinkedIn

- 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

1. Capture priorities, do-not-touch constraints, and selected platforms.
2. Pull the current following / connection inventory.
3. Score prune candidates with explicit reasons.
4. Score keep candidates with explicit reasons.
5. Use `lead-intelligence` plus research surfaces to rank expansion candidates.
6. 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
7. Run `brand-voice` before drafting messages.
8. Return a review pack before any apply step.

## Review Pack Format

```text
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-voice` for the reusable voice profile
- `social-graph-ranker` for the standalone bridge-scoring and warm-path math
- `lead-intelligence` for weighted target and warm-path discovery
- `x-api` for X graph access, drafting, and optional apply flows
- `content-engine` when the user also wants public launch content around network moves

Related Skills

token-budget-advisor

144923
from affaan-m/everything-claude-code

Offers the user an informed choice about how much response depth to consume before answering. Use this skill when the user explicitly wants to control response length, depth, or token budget. TRIGGER when: "token budget", "token count", "token usage", "token limit", "response length", "answer depth", "short version", "brief answer", "detailed answer", "exhaustive answer", "respuesta corta vs larga", "cuántos tokens", "ahorrar tokens", "responde al 50%", "dame la versión corta", "quiero controlar cuánto usas", or clear variants where the user is explicitly asking to control answer size or depth. DO NOT TRIGGER when: user has already specified a level in the current session (maintain it), the request is clearly a one-word answer, or "token" refers to auth/session/payment tokens rather than response size.

Productivity & Content CreationClaude

google-workspace-ops

144923
from affaan-m/everything-claude-code

Operate across Google Drive, Docs, Sheets, and Slides as one workflow surface for plans, trackers, decks, and shared documents. Use when the user needs to find, summarize, edit, migrate, or clean up Google Workspace assets without dropping to raw tool calls.

Productivity & Content CreationClaude

frontend-slides

144923
from affaan-m/everything-claude-code

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

Productivity & Content CreationClaude

miro-automation

31392
from sickn33/antigravity-awesome-skills

Automate Miro tasks via Rube MCP (Composio): boards, items, sticky notes, frames, sharing, connectors. Always search tools first for current schemas.

Productivity & Content CreationClaude

interview-coach

31392
from sickn33/antigravity-awesome-skills

Full job search coaching system — JD decoding, resume, storybank, mock interviews, transcript analysis, comp negotiation. 23 commands, persistent state.

Productivity & Content CreationClaude

google-slides-automation

31392
from sickn33/antigravity-awesome-skills

Lightweight Google Slides integration with standalone OAuth authentication. No MCP server required. Full read/write access.

Productivity & Content CreationClaude

coda-automation

31392
from sickn33/antigravity-awesome-skills

Automate Coda tasks via Rube MCP (Composio): manage docs, pages, tables, rows, formulas, permissions, and publishing. Always search tools first for current schemas.

Productivity & Content CreationClaude

prompt-optimizer

144923
from affaan-m/everything-claude-code

分析原始提示,识别意图和差距,匹配ECC组件(技能/命令/代理/钩子),并输出一个可直接粘贴的优化提示。仅提供咨询角色——绝不自行执行任务。触发时机:当用户说“优化提示”、“改进我的提示”、“如何编写提示”、“帮我优化这个指令”或明确要求提高提示质量时。中文等效表达同样触发:“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”。不触发时机:当用户希望直接执行任务,或说“直接做”时。不触发时机:当用户说“优化代码”、“优化性能”、“optimize performance”、“optimize this code”时——这些是重构/性能优化任务,而非提示优化。

AI Tools & UtilitiesClaude

workspace-surface-audit

144923
from affaan-m/everything-claude-code

Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.

DevelopmentClaude

ui-demo

144923
from affaan-m/everything-claude-code

Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.

Developer ToolsClaude

skill-comply

144923
from affaan-m/everything-claude-code

Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines

DevelopmentClaude

santa-method

144923
from affaan-m/everything-claude-code

Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.

Quality AssuranceClaude