linkedin-power-audit
Skill7 starsChanged 19 days agoMITView on GitHub
Deep, deterministic read of your own LinkedIn data export - far more than the connection scan. Trigger on "audit my LinkedIn", "power audit my LinkedIn", "analyse my whole LinkedIn", "what does my LinkedIn network look like", "where is my network thin", or when the user wants brand or network-health analysis (the front door routes here for those). A local Python script reads the unzipped export and writes audit.json: profile, metrics, network composition (role clusters, stakeholder buckets, industries, top companies, founder pool), message warmth, invitations, content themes, skills, plus an optional network-gap read. No AI in the extract, no third-party calls, message content never read. audit.json is the prerequisite linkedin-warm-revival and linkedin-brand-direction read.
- Installs packages
In this repository100 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- notion-package/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- add-handsSkill
- add-mouthSkill
- add-voiceSkill
- approval-gatesSkill
- auditSkill
- backupSkill
- blind-spot-reviewSkill
- bottleneck-diagnosticSkill
- brain-logSkill
- brain-passSkill
- brain-snapshotSkill
- brand-interviewSkill
- brand-voice-interviewSkill
- business-context-loaderSkill
- campaign-from-themeSkill
- capture-sweepSkill
- catch-upSkill
- client-updateSkill
- connectSkill
- content-repurposerSkill
- content-startSkill
- context-persistenceSkill
- cross-linkSkill
- data-securitySkill
- decision-frameworkSkill
- decisions-startSkill
- delivery-startSkill
- email-drafterSkill
- employee-reviewSkill
- finance-importSkill
- forcing-questionsSkill
- founder-coachingSkill
- founder-next-moveSkill
- founder-os-setupSkill
- founder-reviewSkill
- founder-scope-challengeSkill
- github-opsSkill
- handoff-protocolSkill
- hireSkill
- historySkill
- housekeepingSkill
- ingestSkill
- knowledge-captureSkill
- legal-complianceSkill
- linkedin-brand-directionSkill
- linkedin-network-scanSkill
- linkedin-postSkill
- linkedin-startSkill
- linkedin-warm-revivalSkill
- lintSkill
- list-prunerSkill
- log-archiveSkill
- log-replySkill
- meeting-prepSkill
- memory-passSkill
- menuSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Ask: "Do you have your LinkedIn data export downloaded and unzipped?"
- Very specific: line 46
If python is not found, try python3.
- Very specific: line 50
Read audit.json from the output folder.
- Very specific: line 57
Export honesty: if _meta.export_type is basic or partial, say so - the audit is thinner than it looks and a re-run on the Complete export …
- Very specific: line 63
When the user has a goal, pass --goal-buckets with the buckets that goal needs, and surface audit.json's network.gap:
- Distinctive: line 67
Every line traces to a real count ("operations leaders: 4 of 220 connections, 1.8% - under").
- Distinctive: line 84
No location field in the export.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LinkedIn Power Audit
Runs on: local-exec - runs a local Python script against a local export folder. On a cloud surface I read the produced audit.json, I do not run the script.
The deep counterpart to linkedin-network-scan. The scan ranks who to act on; the audit reads the whole shape of your network and writes a structured audit.json the rest of the pack builds on. Python standard library only, no pip install, no AI in the extract, message content never read.
Known limitation: the export is title-only and point-in-time, has no location field, no firmographics, email mostly blank, and no engagement data on other people. The audit is a strong read of the network you have, not a database of strangers.
Step 1 - the export gate (do this FIRST)
Ask: "Do you have your LinkedIn data export downloaded and unzipped?"
This skill needs the UNZIPPED folder, not the .zip (unlike the scan, which takes the zip). If they have not requested it:
LinkedIn -> Settings -> Data privacy -> Get a copy of your data -> Download larger data archive -> Request archive.
LinkedIn delivers in two installments:
- Basic (within ~10 minutes): profile, connections, positions, education, skills only.
- Complete (~24 hours later): everything else - messages, posts, reactions, comments, invitations, follows.
The script detects which one it reads and prints a banner. Run on the Complete export for the full audit; re-run when it arrives if you only have the Basic one. If the zip unzipped to another zip (LinkedIn sometimes wraps twice), unzip again until you see Profile.csv and Connections.csv directly.
Step 2 - run the audit
python skills/linkedin-power-audit/power_audit.py <unzipped-export-folder> <output-folder> [--goal-buckets a,b]<unzipped-export-folder>is the folder withProfile.csvandConnections.csvin it (the script descends one level automatically if it is nested in a single subfolder, and resolves member-id-suffixed activity files likeShares_<id>.csv).<output-folder>MUST be outside any git repo -audit.jsonholds real names. A folder in their home directory is fine.--goal-bucketsis optional. Pass the stakeholder buckets the user's goal needs (comma-separated) to add anetwork.gapread - see Step 4. Valid bucket keys are intaxonomy.jsonunderstakeholder_priority(e.g.founder_owner_entrepreneur,tech_product_innovation,sales_partnerships_bd,hr_talent_recruitment,operations_general_management).--as-of YYYY-MM-DDis an internal determinism input.linkedin-start/run.pysupplies today. Tests pass a fixed date.
If python is not found, try python3. The script refuses a .zip path with a clear unzip message.
Step 3 - read audit.json and give the read
Read audit.json from the output folder. It is structured and compact - safe to read (it does not dump 2,000 raw rows; it dumps rolled-up counts plus the top 50 message counterparties and top 30 companies and founders). Give the user the read that matters for their goal:
- Network composition: the role clusters and stakeholder buckets - what the network is weighted toward.
- Industry and company concentration: where their connections cluster.
- Founder pool: how many founders/owners, by use and by industry.
- Message warmth: how many hot / warm / dormant / outbound-only / light relationships, from metadata only. Every relationship label requires at least one inbound reply; outbound-only activity is never revival evidence.
- Content lanes: posting themes and follow themes - what they already play in (feeds
linkedin-brand-direction). - Export honesty: if
_meta.export_typeisbasicorpartial, say so - the audit is thinner than it looks and a re-run on the Complete export is worth it.
Frame it as a read of where they stand, not a file dump.
Step 4 - network-gap (over/under-representation)
When the user has a goal, pass --goal-buckets with the buckets that goal needs, and surface audit.json's network.gap:
- For each goal bucket: its share of the network and a status -
under(thin, below 10%),balanced, orover(above 25%). - The
biggest_gapis the goal-relevant role the network is thinnest on. - Every line traces to a real count ("operations leaders: 4 of 220 connections, 1.8% - under"). Do not assert a gap the counts do not show.
This is the "you sell to ops leaders but only 4% of your network holds an ops title" read. It is evidence-cited, never invented.
What it produces
audit.json- the deterministic structured audit. The prerequisite forlinkedin-warm-revival(reads the dormant counterparties) andlinkedin-brand-direction(reads the composition and content lanes). Schema documented inaudit.schema.json.
Privacy
- Message content is never read - only counterparty, direction, count, and date.
- The script makes no API calls and uses no scrapers. The raw export stays on your machine. What your Claude session reads from
audit.json, real names included, goes to Anthropic under your plan like anything else the session reads. audit.jsonholds real names and should stay local - keep the output folder out of any repo.
Honest limitations (state these)
- Title-only and point-in-time. Seniority and role are inferred from one title string.
- No location field in the export. Region is never asserted from this data.
- Warmth sees export metadata only - a thread that moved to email looks cold here.
- The Basic export is thin. Half the audit needs the Complete installment.
Files
power_audit.py- the deterministic extractor + classifier + network-gap (stdlib only).taxonomy.json- role / stakeholder / industry / founder-pool keyword taxonomy (generic, editable).theme-keywords.json- content and follow theme keywords (generic, editable).audit.schema.json- the audit.json contract downstream skills depend on.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

