Install
openclaw skills install linkedin-ai-optimizerPost updates to LinkedIn, track analytics, and optimize content.
openclaw skills install linkedin-ai-optimizerPost updates, track performance, and optimize your content for maximum reach.
# Set your credentials
export LINKEDIN_CLIENT_ID="your_client_id"
export LINKEDIN_CLIENT_SECRET="your_client_secret"
export LINKEDIN_REDIRECT_URI="http://localhost:8000/callback"
# Run the auth helper
uv run /opt/homebrew/lib/node_modules/openclaw/skills/linkedin/scripts/linkedin_auth.py
LINKEDIN_ACCESS_TOKEN in your environment.Analyze your draft against top-performing posts before you publish. Requires GEMINI_API_KEY.
uv run /opt/homebrew/lib/node_modules/openclaw/skills/linkedin/scripts/linkedin_feedback.py "Your draft text here..."
Preview (Default):
uv run /opt/homebrew/lib/node_modules/openclaw/skills/linkedin/scripts/linkedin.py "Your post text"
Publish:
uv run /opt/homebrew/lib/node_modules/openclaw/skills/linkedin/scripts/linkedin.py "Your post text" --confirm
View Stats:
Reads from linkedin_history.jsonl and fetches current stats (Requires r_member_social).
uv run /opt/homebrew/lib/node_modules/openclaw/skills/linkedin/scripts/linkedin_analytics.py
LINKEDIN_ACCESS_TOKEN: Valid OAuth 2.0 Access Token.GEMINI_API_KEY: Required for the Feedback Loop/Optimizer.