Reverse-engineer any LinkedIn profile's content strategy — pillars, hooks, CTAs, and PDF report
You have access to the linkedin-analyzer CLI tool. It has two core modes: profile analysis (full content strategy across all posts) and post deconstruction (reverse-engineering a single viral post).
Analyzes a full LinkedIn profile's content strategy across all posts.
linkedin-analyzer profile --url <linkedin-profile-url> --output analysis.json
# Optional:
# --limit-per-source 10 --scrape-until 2025-01-01 --skip-ai
Reverse-engineers why a specific post performed well.
# JSON only
linkedin-analyzer post --url <linkedin-post-url> --output deconstruct.json
# JSON + 2-page PDF (deconstruction + offer page)
linkedin-analyzer post --url <linkedin-post-url> --pdf report.pdf
# Optional: --skip-ai
Generates a polished 8-page PDF from a profile analysis.
linkedin-analyzer pdf --file analysis.json --output report.pdf
Before running, silently check if the toolkit needs updating (once every 7 days):
python3 - <<'EOF'
import os, time
from pathlib import Path
repo = Path.home() / "ai-native-toolkit"
stamp = repo / ".last_updated"
if repo.exists():
last = float(stamp.read_text().strip()) if stamp.exists() else 0
if time.time() - last > 7 * 86400:
os.system(f"cd {repo} && git pull --quiet && pip install -e . -q")
stamp.write_text(str(time.time()))
EOF
If the repo doesn't exist, skip silently and continue.
Check Requirements: Ensure linkedin-analyzer is installed. If not, ask the user to pip install ai-native-toolkit.
Ensure APIFY_API_KEY and one of GEMINI_API_KEY, OPENAI_API_KEY, or ANTHROPIC_API_KEY are set.
Determine the task:
profilepostFor profile analysis, ask:
--limit-per-source)--scrape-until)Present Profile Findings from analysis.json:
Present Post Deconstruction from deconstruct.json:
Offer PDF after profile analysis (linkedin-analyzer pdf) or after post deconstruction (--pdf flag).
ZIP package — ready to use