agentos.guide › blog
A Hermes Agent LinkedIn workflow in Agent OS uses three pieces you already have: a writing skill for your voice, a cron job that drafts each morning, and an approval step before anything is published.
Book a free SEO strategy session →
There is no LinkedIn gateway in Hermes, and LinkedIn bans bots that post or engage, so this workflow keeps the agent on writing and leaves posting to you or the official API.
For content that also brings search leads, book a free SEO strategy session.
Reference docs: skills, cron, memory, SOUL.md and Share on LinkedIn.
| Stage | Agent OS piece | Output |
|---|---|---|
| Voice | linkedin-writer skill plus SOUL.md | Drafts that sound like you |
| Input | A notes folder in your workspace | Fresh material each day |
| Drafting | Weekday cron job | Two drafts in Telegram each morning |
| Approval | You reply approve with the final text | One approved post |
| Publishing | By hand, or a publish skill on the official API | A live post |
| Review | Friday cron job reading your stats file | Updated hook list |
Create the folder and file:
mkdir -p ~/.hermes/skills/linkedin-writer
nano ~/.hermes/skills/linkedin-writer/SKILL.md
A starting SKILL.md:
---
name: linkedin-writer
description: Write LinkedIn post drafts in my voice from notes in ~/agentos/notes/linkedin/
---
# LinkedIn writer
Audience: small business owners and agency owners.
Rules:
- One sentence per line, blank line between lines.
- First line is a hook under 12 words.
- No hashtags in the body. No emojis unless I used one in the note.
- End with a question or a soft offer.
- Never invent results, numbers or client names.
Examples:
(paste five of your real posts here)
The agent loads the skill only when a job needs it, so long examples do not slow other sessions.
Memory is two small files in ~/.hermes/memories/: MEMORY.md around 2,200 characters and USER.md around 1,375.
Ask the agent to remember your offers, your audience and the products you mention, so every draft gets them right.
Keep the voice examples in the skill, not memory, because memory has a hard character limit.
hermes cron create "every weekday at 7am" "Read new notes in ~/agentos/notes/linkedin/, check ~/agentos/notes/linkedin/posted.md for repeats, and write two LinkedIn drafts" --skill linkedin-writer --name "LinkedIn drafts"
Book a free SEO strategy session →
Set your Telegram home channel first so the drafts reach your phone.
Cron runs start fresh sessions with the normal tools, and cron jobs cannot create more cron jobs, which keeps scheduling tidy.
🔥 Want the Agent OS content desk files?
Inside the AI Profit Boardroom you get step-by-step video trainings, the installable Agent OS, four coaching calls a week and 3,400+ members running content workflows.
Add this rule to the skill:
Publishing rule: never publish. Only output drafts.
A post is approved only when I reply "approve:" followed by the final text.
When you reply approve with your edited text, the agent appends it to posted.md, so future drafts avoid repeating it.
Option A: copy the approved text into the LinkedIn app. It takes seconds and needs nothing else.
Option B: a publish skill that calls Share on LinkedIn.
You need a LinkedIn Developer Portal app with the Share on LinkedIn product, member OAuth with the w_member_social scope, and your member ID.
Keep the token in ~/.hermes/.env, never in the skill file.
curl -X POST https://api.linkedin.com/v2/ugcPosts \
-H "Authorization: Bearer $LINKEDIN_TOKEN" \
-H "X-Restli-Protocol-Version: 2.0.0" \
-H "Content-Type: application/json" \
-d @approved-post.json
The JSON body follows Microsoft's documented format: author, lifecycleState PUBLISHED, ShareContent with your text, and PUBLIC visibility.
Only run it after an approve message, and log the response so you know the post went out.
Each Friday, paste your LinkedIn post stats into ~/agentos/notes/linkedin/stats.md.
A second cron job compares the best and worst posts and suggests edits to the hook list in the skill.
hermes cron create "every friday at 4pm" "Compare this week's posts in stats.md and suggest three skill edits" --skill linkedin-writer --name "LinkedIn review"
Approve the edits you agree with, and the next week's drafts improve.
📞 Content desk running. Point it at revenue.
Book a free SEO strategy session and my team will show you how LinkedIn and SEO can feed the same pipeline.
Book a free SEO strategy session →
Keep the LinkedIn files together so every job knows where to look.
~/agentos/notes/linkedin/
inbox/ new notes, voice memo transcripts, call summaries
used/ notes already turned into drafts
posted.md date, hook and topic of every published post
stats.md weekly numbers pasted from LinkedIn analytics
hooks.md winning first lines the review job maintains
The drafting job reads inbox/, moves used notes into used/, and checks posted.md before writing.
The review job reads stats.md and edits hooks.md, which the skill references.
Send a voice note to the agent on Telegram and say: save this as a LinkedIn note.
Hermes transcribes it and writes the text into inbox/ with today's date in the filename.
Do the same with a forwarded email or a screenshot of a client message, with names removed.
That way, the input folder fills itself during the week without you opening a laptop.
Short, specific prompts give steadier output than long ones.
A good drafting prompt names the folder, the log to check, the number of drafts and the delivery target.
Add one instruction to flag any note that seems too thin to make a post, instead of padding it.
Add another to list the claims each draft makes, so you can spot anything invented at a glance.
Cron jobs can pin their own model, separate from your chat model.
Pin the drafting job to the model whose drafts need the fewest edits, and leave your chat model free for other work.
If you change models, run a week of drafts side by side before switching for good.
If you write LinkedIn content for clients, give each client their own Hermes profile.
Each profile has its own SOUL.md, memory, skills and cron jobs, so one client's facts never appear in another's drafts.
Publishing for a client through the API needs that client to authorize their own app access; never use their password.
Add a second, small skill for comment and message replies.
Book a free SEO strategy session →
You paste the comment into Telegram, the skill returns two short reply options in your voice, and you post the one you like from the LinkedIn app.
Keep a rule in it that it only ever suggests text and never acts.
Add a weekly check that counts files in inbox/ and used/ and the entries in posted.md.
If inbox/ is empty, the agent should remind you to drop notes in, because the drafts will thin out otherwise.
If posted.md has not grown in a week, it should ask whether posting has stalled.
If you publish videos, save each transcript into inbox/ and add an instruction to the drafting job to pull one idea per post from it.
One video can feed a week of drafts, each with a different angle, and the posts then point people back to the full video.
Set the drafting job to weekdays only, and let the review job run on Friday, so you get a quiet weekend and a fresh inbox on Monday.
The LinkedIn User Agreement bans all of these, and the workflow does not need them.
The cron guide covers schedules, and the Hermes repo shows more skill examples.
Members of the AI Profit Boardroom share their LinkedIn skills inside Agent OS.
Book a free SEO strategy session →
Create a linkedin-writer skill, store facts in memory, schedule a weekday cron job for drafts and approve each post before publishing.
Yes, through a publish skill that calls the official Share on LinkedIn API with your OAuth token, only after you approve.
In ~/.hermes/.env, never inside the skill file or a prompt.
The LinkedIn User Agreement bans bots that like, comment or drive inauthentic engagement.
Create the skill, paste five real posts into it and schedule tomorrow's drafts.
For leads from search as well, book a free SEO strategy session, and keep this Hermes Agent LinkedIn workflow in your Agent OS notes.
About Julian
I'm Julian Goldie, an AI entrepreneur, SEO expert and the founder of the AI Profit Boardroom, which has 3,400+ members.
I help business owners scale with AI agents, automation and SEO.
My YouTube channel has 400,000+ subscribers, and I run Goldie Agency, a seven-figure SEO agency.
→ Hermes Agent For Content Creation In Your Agent OS
→ Hermes Agent For Lead Generation: 5 Prompts In Your Agent OS
→ Hermes Agent Cron Job: Schedule, Stop And Recover Jobs In Your Agent OS With 5 Copy-Paste Prompts
→ Hermes Agent Home Assistant: Setup + 3 Agent OS Prompts
The installable system behind every guide on this site — dashboard, agents, memory and pipelines — updated as new tools land, with 3,400+ members and four coaching calls a week.
Join the AI Profit Boardroom →📺 Video notes + links to the tools 👉
🎥 Learn how I make these videos 👉