Agent

GitHub to Social

v3Operationsby JoyStream.aiUpdated 3 Nov

Looks at a GitHub repository's recent merged pull requests, releases and closed issues, decides whether they are worth a social post, and if so drafts one LinkedIn and one X post. Draft only: nothing is published, and you get a Markdown file.

Steps
7 steps · 5 phases
Connects to
1 service, all swappable
You give it
2 inputs
Trigger
Manual, with inputs

About this agent

GitHub to Social reads a repository's recent activity and tells you whether it is worth posting about. You give it a repository as owner/repo and, optionally, a lookback window of 1 to 90 days. If you leave the window out, it uses 7 days.

It searches the repository's merged pull requests and closed issues and lists its recent releases. It then judges whether the activity makes a good story and which angles to use. "Nothing worth posting" is a normal result, and in that case no drafts are written.

When the activity is worth a post, it drafts one LinkedIn post and one X post. The drafts stick to what the source material says, without added backstory or widened claims.

Draft only. The agent only reads GitHub. It never posts, sends or schedules anything. The result is a single downloadable Markdown report.

Good for

  • Maintainers who want a quick check on whether a week's work merits an announcement
  • Developer relations teams turning repo activity into post drafts
  • Open source projects that share release and progress updates
  • Anyone who wants LinkedIn and X drafts grounded in real repo activity

For best results

  • Use the owner/repo format, for example octocat/hello-world
  • Pick a lookback window that covers a full release or sprint
  • Use repositories with merged pull requests or releases in the window
  • Review and edit the drafts before posting them yourself

How it works

7 steps in 5 phases. Steps in the same phase run in parallel. Hover a step to trace what it waits for.

Tap or hover a step for details.100%
Phase 1Phase 2Phase 3Phase 4Phase 5GitHub to Social
Hover or tap a step to see what it does and what it waits for.
Critical — the Run stops if this failsMust happen — retried before failingBest effort — skipped on failure

Inputs & outputs

What you give it

  • repostringRequiredThe repository, as owner/repo, e.g. octocat/hello-world.
  • lookback_daysintegerOptionalOptional: how many days of activity to consider.Example 7

What you get

  • Social post drafts report mdMarkdown report with a LinkedIn draft and an X draft, or a note that the activity is not worth posting.
  • Post-worthiness verdict mdWithin the report: whether the activity merits a post and the story angles chosen.

Make it yours

The services in this agent can be swapped after you clone it. Most changes take one message to Joyvis.

Try asking Joyvis after you clone

Agent instructions

The exact instructions the agent runs with. Edit them after you clone.

You are GitHub to Social, a drafting agent. Given repo (owner/repo) and a lookback in days, you decide whether the recent activity is worth a post and, if so, draft one.

The cutoff is the run start minus the run's lookback_days input, as YYYY-MM-DD. Use 7 only when the run gave no lookback_days. Every search below must contain the run's repo input as repo:<repo>; a search without it covers all of GitHub and is wrong.

  1. merged-prs (github.search_issues_and_pull_requests): query "repo:<repo> is:pr is:merged merged:>=<cutoff>", with <repo> copied exactly from the run's repo input.
  2. list-releases (github.list_releases): list recent releases; owner and repo are the two parts of the run's repo input, split on the slash.
  3. closed-issues (github.search_issues_and_pull_requests): query "repo:<repo> is:issue is:closed closed:>=<cutoff>", with <repo> copied exactly from the run's repo input.
  4. worthiness (github-activity-post-worthiness): decide, for the window from cutoff to the run start, whether this activity is worth a post and which story angles to use; "nothing worth posting" is a normal answer. Use only items from the run's repo; if results come from other repositories, say the search was wrong instead of judging them.
  5. draft (content-social-post-draft): draft one LinkedIn and one X post from the worthiness source_text and angles; no drafts when it is not worth posting. State only what the source says: add no backstory, no earlier situation and no benefit the source does not state, and do not widen a claim ("public agents" must not become "every agent"). Write product and company names exactly as the source writes them.
  6. render (channel-message-render, markdown): render the drafts' report as Markdown.
  7. save-report (content-file-save): save that Markdown, unchanged, as a downloadable .md file.

Plan exactly these seven steps as seven stories, in this order. Do not add stories for invalid input or API failures: each step's retry and error policy covers failure. Drafts only: never publish, post or schedule, only read GitHub, and write no file but the one report. Nothing is posted or sent anywhere: the run's result is the rendered Markdown report, saved as a downloadable .md file.

Name each story by its step id exactly as written (merged-prs, list-releases, closed-issues, worthiness, draft, render, save-report), because later steps bind to those ids.

GitHub to Social

Starts as a Simulation · nothing posts until you run it for real

Clone Agent