BotCurrent
← Back to examples

Build & debugFrom the makerActs with your OK

Port a merged fix to a second repo

A fix in one SDK leaves the other one behind. Your AI rewrites the change in the second repo's style.

What happened

Nous Research's guide shows Hermes Agent reacting to a GitHub webhook when a change merges. The agent reads the merged diff, works out the same change for another SDK and opens a linked pull request. The guide doesn't say who approves that pull request.

Source: Nous Research · hermes-agent.nousresearch.com · Tool: Hermes Agent

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/port-a-merged-fix-to-a-second-repo && curl -fsSL https://botcurrent.com/skills/port-a-merged-fix-to-a-second-repo/SKILL.md -o ~/.claude/skills/port-a-merged-fix-to-a-second-repo/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/port-a-merged-fix-to-a-second-repo && curl -fsSL https://botcurrent.com/skills/port-a-merged-fix-to-a-second-repo/SKILL.md -o ~/.agents/skills/port-a-merged-fix-to-a-second-repo/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, hermes-agent.nousresearch.com. Fingerprint: 0b6f11dc71ba. What we check

What you'll get

A patch for the second repo that matches the original fix, with notes on what changed and why.

You'll need

  • The merged diff and PR link
  • The matching files in the second repo
  • That repo's style and test rules

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your GitHub repositories
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: Two SDKs can look alike and still behave differently. Run the second repo's tests before you merge.

More details: full instructions, sources and safeguards

Before you begin

Approve repository scopes, writes and PR publication separately. Maintainers review target-language behavior before merge. Missing target context remains unresolved; a plausible translation is not tested equivalence.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

The merged source diff, immutable revision and intended behavior from supplied authorized excerpts.

Target SDK interfaces, language conventions, error behavior and concurrency constraints.

Protected scope, reviewer and private proposal format; no repository access, checks, PR creation or merge.

Start here

  1. Link each source behavior to the relevant target interface and supplied revision.
  2. Draft candidate target edits or precise patch text, retaining language-specific error and concurrency questions.
  3. Provide independent validation cases and a linked pull-request description draft; label checks unrun.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Original change packet

    Owner

    Source maintainer

    Minimum scope

    Merged diff, issue rationale and relevant test descriptions

    Quality check

    Separate intended behavior from incidental refactoring.

  2. Name

    Target SDK context

    Owner

    Target maintainer

    Minimum scope

    Corresponding interfaces, conventions and supported-version policy

    Quality check

    Identify target-specific error and concurrency semantics.

Access and setup — proposed or unknown

Proposed minimum
  1. Read-only supplied excerpts and a target-change proposal without repository access.

Compatibility unknowns
  1. Unknown: current runtime, target toolchain, repository permissions and test coverage.

External actions requiring approval
  1. Repository writes, pull-request publication, externally exposed code and any merge or release.

Source evidence, attribution & limitations

Full source evidence

Official recipe · Coding tasks

Original task title: Port a merged change into a second repository

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://hermes-agent.nousresearch.com/docs/guides/automation-blueprints

Attributed to: Nous Research

Official recipe
Original action type
coding_action
What the source reports
The documented Hermes recipe reads a merged diff, determines its equivalent in another SDK and opens a linked pull request.
Source outcome limits
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Evidence attribution caveat
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
Not specified; the output is a pull request.
Named tools
Hermes; GitHub webhook; github-pr-workflow skill.
Model or version
Unknown
Publication date
Unknown
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Use owned repositories, bilingual documentation where needed and independent tests for target-language behavior.
Recommended approval boundaries
Approve repository scopes and review target-language behavior before merge.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A target-repository PR linked to the original change for language-specific review and testing.Suggested; untested.
Tool
Hermes AgentSource-named; check current access.
Suggested inputs
Original change packet; Target SDK contextProposed; access notes below.
Human review
Approve repository scopes and review target-language behavior before merge.Suggested boundaries; source approvals below.
Setup notes
Read-only supplied excerpts and a target-change proposal without repository access.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

A fix merged into one SDK can leave a second repository inconsistent until someone translates the change into its local conventions.

Suggested task

Read the merged diff, determine the equivalent change in the target SDK and open a linked pull request.

What you could produce

A target-repository PR linked to the original change for language-specific review and testing.

Where these suggestions come from
  • Core problem: Our interpretation of the task
  • Agent job: Our interpretation of the task
  • Expected output: Our interpretation of the task
  • Relevant job roles: Our interpretation of the task
  • Benefit type: Our interpretation of the task
Suggestions and their limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A change that is straightforward in one SDK can interact differently with error handling, asynchronous behavior or public types in another. Copying the visible diff may preserve the shape of a fix while missing the behavior it was intended to change.

  2. A porting review packet could connect the original behavioral intent to target-language decisions and compatibility questions. Maintainers could assess a proposed equivalent change before authorizing repository writes, test execution or a pull request.

Why an agent / simpler alternative

Useful judgment

Translate intent across local conventions and identify assumptions that do not carry between languages.

Simpler alternative

Apply a small manual patch when both repositories share the same structure and behavior.

Unsuitable when

The original change's intended behavior or the target repository's compatibility contract is unclear.

Expected deliverable and review checks

Proposed artifact

Source-to-target change map with rationale, compatibility risks and proposed validation cases.

Critical checks
  1. Each target edit connects to an intended source behavior.

  2. Language-specific differences remain visible rather than being described as automatically equivalent.

Missing output evidence

No new workflow run or output inspection was performed for this overlay; use the canonical source-outcome references.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

A fictional diff changes error handling; its target interface uses a different result type and concurrency convention.

Acceptance checks
  1. List the semantic decisions needing review.

  2. Draft a linked change plan without claiming equivalent runtime behavior.

Stop conditions
  1. Real repository writes, compilation, tests or pull-request creation is required.

Tasks: Build & debug

Useful for: Software developer

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Hermes AgentIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    The proposed port changes a public return type.

    Why it matters

    A local-looking fix could break existing clients.

    Proposed response

    Flag the interface change and request a target-maintainer compatibility decision.

  2. Signal

    The original regression case depends on source-language semantics.

    Why it matters

    Copying its structure may not test the target failure.

    Proposed response

    Describe the underlying observable behavior and propose a target-specific case.

Effort and cost — unknown

Setup work
  1. Identify counterpart interfaces and the original bug contract.

Ongoing review
  1. Review semantic differences and later authorized test evidence.

Unknowns
  1. Unknown: porting complexity, CI costs and maintainer review time.

Limits

  1. A plausible translation plan is not a validated port; target-language correctness needs separate authorized engineering work.

Original task overview & interpretation

Official recipe

Port a merged change into a second repository

A fix merged into one SDK can leave a second repository inconsistent until someone translates the change into its local conventions.

Suggested result

A target-repository PR linked to the original change for language-specific review and testing.

What you need: Source-named agent: Hermes Agent. Suggested inputs: Original change packet; Target SDK context. Read-only supplied excerpts and a target-change proposal without repository access. Workflow costs and current compatibility remain unverified.

Approve repository scopes and review target-language behavior before merge.

Official recipe. BotCurrent has not independently tested this workflow.