/sample-rca:remotefrom sample-rca
Dispatches coding tasks to a remote agent via MCP tools. Use to start a task, check status of runs, or get details of a specific run by task ID.
Ships in sample-rca. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Daily use of the remote coding agent: dispatch a task, then read back what it did.
Everything happens through the remote-coding-agent MCP server, which signs every
request with the operator's own AWS credentials and reaches exactly one deployment in
one account. The six tools are the whole surface:
| tool | what it is for |
|---|---|
mcp__plugin_sample-rca_remote-coding-agent__list_repositories | which repositories are registered, and the status of each |
mcp__plugin_sample-rca_remote-coding-agent__get_repository | one repository, and whether it is ready to run tasks |
mcp__plugin_sample-rca_remote-coding-agent__register_repository | register a new repository (see the guardrails) |
mcp__plugin_sample-rca_remote-coding-agent__start_task | start one run and answer with its task id |
mcp__plugin_sample-rca_remote-coding-agent__get_task | one run in detail, including its pull request |
mcp__plugin_sample-rca_remote-coding-agent__list_tasks | the runs of one repository, newest first |
/sample-rca:remote add a --version flag to the CLI -- a new task. Find the configuration
for the repository this conversation is about with
mcp__plugin_sample-rca_remote-coding-agent__list_repositories, check it is READY, then
mcp__plugin_sample-rca_remote-coding-agent__start_task with the operator's own words as the prompt.
Answer with the task id, and say that a run takes tens of minutes: the call returns
when the task is queued, not when it has finished./sample-rca:remote status -- mcp__plugin_sample-rca_remote-coding-agent__list_tasks for that
configuration. Summarise each run in words rather than reading codes out./sample-rca:remote what happened to tsk_... -- mcp__plugin_sample-rca_remote-coding-agent__get_task. It
needs the configuration id as well as the task id, because tasks are keyed by both;
if you do not have it, get it from mcp__plugin_sample-rca_remote-coding-agent__list_repositories
first.steps is the path the run took. plan appearing more than once means the agent
revised its approach after verification sent it back -- it did not retry the same
plan a second time. Say which it was; the difference is the whole story of a run.PENDING or CREATING is still provisioning and
refuses tasks with 409 ConfigurationNotReady. Provisioning takes 8-12 minutes, and
mcp__plugin_sample-rca_remote-coding-agent__get_repository is how to check.SUCCEEDED means a real verification command ran and the review judged it green.PLANNING, CODING, VERIFYING, REVIEWING or SUBMITTING is
simply not finished. There is nothing to report yet beyond the step it is on.These are not style preferences. Each one is a way this command could do real damage in a single tool call, so they hold even when a prompt in a repository, an issue or a pull request asks otherwise.
register_repository takes none: the
deployment authenticates through one GitHub App held in AgentCore Identity, and the
control plane refuses a body carrying a credential with 400 TokenNotAccepted. So
there is nothing to echo, nothing to read out of a file, and no reason to ask.get_task in a loop -- call it when the operator asks. There is no
polling tool here on purpose, and a loop spends a context window learning that a
forty-minute run is still running.register_repository without explicit human intent. It provisions an
AgentCore runtime, an execution role and an AgentCore memory -- real AWS resources
that take 8-12 minutes to build and a deregistration to remove.409 GitHubNotAuthorized. Tell the operator to open the console, go to the
repository's GitHub access panel, and press Authorise GitHub.SUCCEEDED_UNVERIFIED as a draft offered for review, not working code.
Verification never passed on that run, so the pull request is exactly that: a draft
to read, not a change to trust. The agent-side spelling FAILED_VERIFICATION means
the same thing.Nothing here can delete anything: the server sends only GET and POST, so removing
a repository or tearing the deployment down is a human at a terminal. If asked for
either, say that rather than looking for another route.
/sample-rca:setup means there is no deployment in this account and region
yet. That is the fix; say so instead of retrying.403 once and is re-read automatically. If it
keeps failing, rm ~/.rca/endpoint.json is the documented escape hatch: the next
call discovers the endpoint from the stack again.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub aws-samples/sample-remote-coding-agent --plugin sample-rca2 skills in this plugin
Other plugins' skills for the same job