Blowhorn for OpenCode
OpenCode reads AGENTS.md and lets you set bash permissions per command. That is exactly the leash a marketing agent needs.
How it works
- 1
Install Blowhorn
Blowhorn for your computer and the Blowhorn browser extension. Your posts go out from your own signed-in browser.
- 2
Write the rules where OpenCode looks
AGENTS.md and per-command permissions. A few lines and OpenCode knows the commands.
- 3
Say what you want
OpenCode turns it into blowhorn commands. You approve what publishes.
Write the rules where OpenCode looks
OpenCode reads AGENTS.md. Put the Blowhorn rules there, then set the bash permission map in opencode.json: reads run freely, writes ask, pause is always allowed.
## Marketing with Blowhorn
- Read state with --json: blowhorn schedule list, blowhorn content list --pending
- Edit queue rows with blowhorn content upsert and pass --expected-fingerprint
- Preview publishing with --dry-run; never trigger without asking
- Emergency stop: blowhorn schedule pause --all --reason "<why>"{
"permission": {
"bash": {
"blowhorn schedule list*": "allow",
"blowhorn content list*": "allow",
"blowhorn schedule pause*": "allow",
"blowhorn post*": "ask",
"*": "ask"
}
}
}Try saying
-
You say: "List every scheduled row that is due this week and the computer that will claim it."
-
You say: "Draft three Bluesky rows for profile team-dev from docs/launch.md, unapproved, so I can edit them."
-
You say: "Explain why row 7 did not run."
-
You say: "Pause row 12 only, the rest of the schedule keeps going."
What OpenCode runs
blowhorn schedule list --due-only --profile all --json
blowhorn schedule why 7 --json
blowhorn schedule pause --row 12 --reason "copy under review"
blowhorn schedule resume --row 12Where it pays off
Model of your choice
OpenCode talks to many model providers. Blowhorn does not care which one is driving; the CLI and its JSON stay the same.
Scripted checks
opencode run takes a prompt from the command line, so a nightly "what is owed tomorrow" check fits in a cron line.
One row at a time
schedule pause --row N parks a single job on every computer while the rest of the launch keeps moving.
Frequently Asked Questions
Why not let it run everything?
You can. We suggest ask for anything that publishes because a post is public the moment it lands, and within a run Blowhorn doesn't retry a failed post.
Does it work with OpenCode's other agents?
Any agent in OpenCode that can run bash can run blowhorn. The permission map applies to all of them.
Does my agent see my social passwords?
No. Blowhorn posts through your own signed-in browser; the agent only runs commands and reads their output. Review what you allow it to run, as with any tool that acts on your accounts.
What OpenCode can do on each platform
Every action below is a blowhorn command OpenCode can run for you. Each platform's docs page has the details.
| Platform | Action | How it behaves | Limits |
|---|---|---|---|
| Post | Publishes your message to your LinkedIn feed, to a group, or to a Page you manage, with an image or link preview when you add one. | None | |
| Comment | Comments on the LinkedIn post you point it at. Anything that isn't a LinkedIn post address stays a normal post. | None | |
| Amplify | Reposts a post from each of your profiles. A post you already reposted is never reposted twice. | None | |
| Accept | Accepts the invitations people sent you, one at a time. An invitation LinkedIn flags with its "Take care when connecting" warning is skipped, never accepted. | At most 20 confirmed acceptances a run, unless you set --limit. | |
| Withdraw | Withdraws invitations you sent that have waited 21 days or more, to free room for new ones. Shows a preview until you add --apply. | At most 20 confirmed withdrawals a run, unless you set --limit. LinkedIn blocks re-inviting a withdrawn person for up to three weeks. | |
| Analytics | Reads your Page's analytics for a date range and saves them, so you can watch the trend. | Read-only. | |
| Post | Publishes your message, with an image if you add one. A message longer than 274 characters goes out as a thread. | X publishes 50 original posts a day for an account without a checkmark, and no setting in Blowhorn goes past it. | |
| Reply | Replies in a conversation when your post is addressed to it. | X publishes 200 replies a day for an account without a checkmark, and no setting in Blowhorn goes past it. | |
| Amplify | Retweets or quotes a post from each of your profiles. | None | |
| Follow | Name a target account. With --limit 0, follow that account, or several comma-separated. With a positive limit, follow up to that many of the target's followers, never the target itself, skipping anyone you already follow. | At most 400 follows per profile a day, and 15 in any 15 minutes, counted from that profile's follow log on this computer. | |
| Analytics | Records your follower and following counts on each run, so you can watch the trend. | Read-only. | |
| Post | Publishes your post to the subreddit you name, as r/<name>. | A post with no subreddit is skipped, never guessed. | |
| Comment | Comments on the Reddit post or comment you point it at. | None | |
| Amplify | Upvotes a post from each of your profiles. | None | |
| Post | Submits a link or a text post. Titles hold up to 80 characters; a longer title is refused, never cut short, because a submission can't be edited once it's up. | At most 2 link submissions per profile per UTC day; only link submissions are recorded, so only they count toward the cap. Preview first with --dry-run, because every submission is permanent. Blowhorn never votes. | |
| Comment | Comments on the Hacker News item your post is addressed to, under your name. | None | |
| Post | Sends a message as you to a channel or to a person, as #channel, @user, a channel ID, or a channel link. Shows a preview until you confirm. | One profile sends per run. A target Blowhorn can't read is refused, never sent somewhere else. | |
| Reply | Replies in a thread when you give it the link to the message. | None | |
| React | Adds an emoji reaction to a message. A reaction already there is left as-is. Take it back with --remove. | None | |
| Post | Publishes your message. A message longer than 300 characters goes out as a thread. | None | |
| Reply | Replies to the Bluesky post you point it at. | None | |
| Amplify | Reposts a post from each of your profiles. | None | |
| Follow | Name a target account. With --limit 0, follow that account, or several comma-separated. With a positive limit, follow up to that many of the target's followers, never the target itself. | None | |
| Unfollow | Unfollows one account. | None | |
| Find | Searches Bluesky posts for the words you give it. | None | |
| Analytics | Records your follower and following counts on each run, so you can watch the trend. | Read-only. | |
| React | Adds the five upbeat reactions (+1, laugh, hooray, heart, rocket) to an issue or pull request from each of your profiles. Running it again adds none of them twice. | GitHub doesn't publish posts; it needs an issue or pull request link. | |
| Star | Stars each named repository from every selected profile, over the REST API. A repository already starred is counted apart, never starred twice. | GitHub only. Repositories are named on the command line; star cannot be scheduled. | |
| Follow | Name a target account. With --limit 0, follow that account, or several comma-separated. With a positive limit, follow up to that many of the target's followers, never the target itself. | None | |
| Find | Searches issues and pull requests by query, with repository, type, and state filters. | Read-only. Issues and pull requests only, not repositories or code. | |
| Post | Uploads a video through YouTube Studio in your signed-in browser by default (after YouTube Data API consent, through YouTube's official API) with its title, description and visibility (private unless you choose unlisted or public), or as a Short. With Community set to yes, it publishes a post on your channel's Posts tab instead, always in the signed-in browser. | At most 3 uploads and 2 Posts tab posts per profile a day. A Short longer than 3 minutes or wider than it is tall is refused before anything opens. Check each upload in YouTube Studio. | |
| Comment | Comments on the YouTube video you point it at. | At most 10 a day per profile. A comment with an @name in it is refused. A scheduled run never comments; it waits for a run you start. | |
| Reply | Replies to the YouTube comment you point it at, by the comment's own link. | At most 10 a day per profile. A reply to a reply, or one with an @name in it, is refused. A scheduled run never replies. | |
| Amplify | Likes a video from each of your profiles. | At most 20 likes a day per profile. A scheduled run never likes; it waits for a run you start. | |
| Analytics | Reads your channel's and videos' figures through the YouTube Analytics and Data APIs, with the profile's own OAuth consent. | Read-only. A profile without the consent is skipped. YouTube figures are kept for 30 days. |
Not a bot. It's you.
Want the details before OpenCode does the talking? The docs cover setup, every command, and each platform.