Linkedin AI Post Builder and Publisher
/install linkedin-ai-optimizer
LinkedIn Skill
Post updates, track performance, and optimize your content for maximum reach.
Setup & Authentication
- Create an App: Go to LinkedIn Developers, create an app, and add the "Sign In with LinkedIn" and "Share on LinkedIn" products.
- Generate Token: Use the included helper script to generate an OAuth 2.0 Access Token.
# 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 - Save Token: Save the generated token as
LINKEDIN_ACCESS_TOKENin your environment.
Usage
1. Optimize & Feedback Loop (New!)
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..."
2. Posting
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
3. Analytics
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
Configuration
LINKEDIN_ACCESS_TOKEN: Valid OAuth 2.0 Access Token.GEMINI_API_KEY: Required for the Feedback Loop/Optimizer.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install linkedin-ai-optimizer - After installation, invoke the skill by name or use
/linkedin-ai-optimizer - Provide required inputs per the skill's parameter spec and get structured output
What is Linkedin AI Post Builder and Publisher?
Post updates to LinkedIn, track analytics, and optimize content. It is an AI Agent Skill for Claude Code / OpenClaw, with 307 downloads so far.
How do I install Linkedin AI Post Builder and Publisher?
Run "/install linkedin-ai-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Linkedin AI Post Builder and Publisher free?
Yes, Linkedin AI Post Builder and Publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Linkedin AI Post Builder and Publisher support?
Linkedin AI Post Builder and Publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Linkedin AI Post Builder and Publisher?
It is built and maintained by yadavabhijeet4 (@yadavabhijeet4); the current version is v1.0.0.