connections-optimizer

connections-optimizer is a skill for Claude Code, Codex from ufy2024/AuC. It costs 64 tokens per session (1,302 once invoked), scanned A, original, MIT.

A tool for reviewing and reorganizing X and LinkedIn networks around your current work, interests, and target contacts.

In plain words
What is it for?
Use it to review pruning suggestions, find people to follow or reconnect with, and draft personalized outreach.
Why use it?
It helps reduce low-value follows and connections while identifying useful relationships and warmer routes to people.

Skill for Claude CodeCodex

About the project

AuC is a Python framework for running a single AI agent with an asynchronous, pluggable reasoning loop, language-model adapters, permission levels, and observable events. It is used to build coding and conversational agents with tools, security checks, web interfaces, background jobs, evaluations, and isolated execution. The catalogue entries are skills for extending its agent workflow.

ufy2024/AuC · 1,091 stars · on GitHub

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.

agentmods
npx agentmods add skills/ufy2024/auc/connections-optimizer
Any agent
npx skills add ufy2024/AuC --skill connections-optimizer
Clone the repo
git clone --depth 1 https://github.com/ufy2024/AuC

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/ufy2024/auc/connections-optimizer.svg)](https://agentmods.dev/skills/ufy2024/auc/connections-optimizer)
Your own site
<a href="https://agentmods.dev/skills/ufy2024/auc/connections-optimizer"><img src="https://agentmods.dev/badge/skills/ufy2024/auc/connections-optimizer.svg" alt="Measured on agentmods" 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,302 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.01302
Opus 5 $0.00032 $0.00651
Sonnet 5 $0.00013 $0.00260
Haiku 4.5 $0.00006 $0.00130

Measured 2d ago against content hash 6a67a9e44f9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 2d 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

Copies of this mod

5 near-identical copies found in the catalogue:

auc/skill_library/bundled/connections-optimizer/SKILL.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 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 · 212 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. 2d ago First seen · 212 lines · 64 tokens per session scan A 6a67a9e44f9d

Subscribe to this mod's changes

connections-optimizer is a skill published in the GitHub repository ufy2024/AuC (1,091 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 1,302 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens