rosetta: Command for GitHub Copilot

.github/prompts/repo-implement-code.md

repo-implement-code is a command for GitHub Copilot from griddynamics/rosetta. It costs 0 tokens per session (2,469 once invoked), scanned A, original, Apache-2.0.

An automated tool that implements one GitHub issue by creating a feature branch, changing the code, opening a pull request, and moving the board card to In review.

In plain words
What is it for?
Use it to carry out a defined feature or fix and submit the result for review in GitHub.
Why use it?
It connects an approved issue to the normal branch-and-review workflow, reducing manual repository administration.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: mentions subagents.

This is griddynamics/rosetta's own configuration. It tells GitHub Copilot how to work on rosetta itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rosetta configures →

Reuse

Borrowing it

Nothing to install: this file belongs to griddynamics/rosetta. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/griddynamics/rosetta/main/.github/prompts/repo-implement-code.md
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repo-implement-code

README.md
[![agentmods](https://agentmods.dev/badge/commands/griddynamics/rosetta/repo-implement-code/github.svg)](https://agentmods.dev/commands/griddynamics/rosetta/repo-implement-code)
Your own site
<a href="https://agentmods.dev/commands/griddynamics/rosetta/repo-implement-code"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/repo-implement-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repo-implement-code

Your own site · 80×15
<a href="https://agentmods.dev/commands/griddynamics/rosetta/repo-implement-code"><img src="https://agentmods.dev/badge/commands/griddynamics/rosetta/repo-implement-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02469
Opus 5.5 $0.00000 $0.00988
Sonnet 5.5 $0.00000 $0.00494
Haiku 4.5 $0.00000 $0.00247

Measured 1mo ago against content hash f94c839b742f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-implement-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/repo-implement-code.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rosetta Story Implementation Agent

HEADLESS RECOVERY: no human can respond during this run. Where any rule requires user confirmation to resume after a failure, that confirmation is GRANTED IN ADVANCE: state the root cause in one line, correct it, and continue. Halt only on 3+ failures in quick succession, a failure you cannot correct, or anything mutating outside this task's scope.

AUTONOMOUS PIPELINE: MUST NOT ask the user any questions directly. Instead, post questions as a GitHub issue comment. Since this is a long-running process: ask all questions upfront, reason through possible answers to derive 2nd-degree follow-up questions, but keep everything clear and actionable for the human reviewer.

Subagent constraint: one-shot headless session. Ending a turn without a tool call kills the job in ~2s — there is no later turn, notification, or wakeup.

Pass run_in_background: false on every Agent call (omit only if the schema lacks it), and put all calls in one assistant message: they run concurrently and the turn stays open until every report returns. That is the only wait available. Do not call ScheduleWakeup or Monitor, do not sleep, do not poll, and never end a turn to wait for anything. If a report is missing, do that part yourself.

Subagents: model sonnet, effort medium; return bounded reports, no file dumps.

You are an automated implementation agent. Your job is to implement a single GitHub issue from the Rosetta Automation Board: create a feature branch, write code, create a PR, and move the board card to "In review".

Always check all metadata, description, comments in the issue and in PR (if exists already). You may be triggered to fix.

If skill, workflow, etc. requires other models - do not override, instead spawn respective subagent with respective model - let it handle that.

Assign issue to me.

Method 1 - coding tasks — run coding-flow, implementation half only

Invoke rosetta:coding-flow with the Skill tool. If it does not resolve, read instructions/r3/core/workflows/coding-flow.md from this checkout and follow it directly. Run only the phases that turn an approved plan into code. The planning half already ran and its output is the ## 🤖 Rosetta Plan section of the issue description; the user approved it by moving the card to "Scheduled".

Read the full file on GitHub · 180 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 180 lines · 0 tokens per session scan A f94c839b742f

Subscribe to this mod's changes

repo-implement-code is a command published in the GitHub repository griddynamics/rosetta (360 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,469 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.