remote-fix

remote-fix is a skill for Claude Code from rbah31/claude-code-workflow. It costs 80 tokens per session (588 once invoked), scanned A, original, Apache-2.0.

A workflow for investigating a reported or detected software problem, applying a small fix, and opening a pull request for review.

In plain words
What is it for?
It helps handle scheduled-task alerts, manual observations, or user reports by checking logs and recent code changes, running tests, and reporting the resulting pull request through a messaging channel.
Why use it?
It gives remote reports a consistent path from diagnosis to a proposed code change, while stopping when the cause is unclear or the fix is too large.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps handle scheduled-task alerts, manual observations, or user reports by checking logs and recent code changes, running tests, and reporting the resulting pull request through a messaging channel.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rbah31/claude-code-workflow/remote-fix
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rbah31/claude-code-workflow --skill remote-fix
Clone the repo
git clone --depth 1 https://github.com/rbah31/claude-code-workflow

Made for: Claude Code.

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 remote-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/rbah31/claude-code-workflow/remote-fix/github.svg)](https://agentmods.dev/skills/rbah31/claude-code-workflow/remote-fix)
Your own site
<a href="https://agentmods.dev/skills/rbah31/claude-code-workflow/remote-fix"><img src="https://agentmods.dev/badge/skills/rbah31/claude-code-workflow/remote-fix/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 remote-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/rbah31/claude-code-workflow/remote-fix"><img src="https://agentmods.dev/badge/skills/rbah31/claude-code-workflow/remote-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 588 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.00080 $0.00588
Opus 5.5 $0.00032 $0.00235
Sonnet 5.5 $0.00016 $0.00118
Haiku 4.5 $0.00008 $0.00059

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

Security

Grade A, and why

remote-fix 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.

.claude/skills/remote-fix/SKILL.md · 74 lines

How it starts

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

Remote Fix

You are running a remote fix triggered from outside the terminal (Channels, Dispatch, or manual). The human may have limited context (on phone, at work). Be autonomous but conservative.

Step 1 — Understand the diagnostic

Read the message. Identify:

  • What's broken (error, metric, behavior)
  • Where (which service, file, endpoint)
  • Severity (blocking vs degraded vs cosmetic)

If a Cowork diagnostic file exists in monitoring/, read it. Read tasks/lessons.md for related past issues.

Step 2 — Investigate

Find the root cause. Read logs, grep errors, check recent commits. If the issue is unclear after 5 minutes of investigation, STOP and report what you found — don't guess-fix.

Step 3 — Fix

If the fix is clear and touches ≤ 3 files:

  • Create a branch: fix/[description]
  • Implement the minimal fix
  • Run tests
  • Commit with conventional commit message

If the fix is complex (> 3 files, architectural):

  • STOP. Report the diagnosis and recommended approach.
  • The human decides: fix now or defer to a proper sprint.

Step 4 — PR and report

  • Push the branch, create a PR with description
  • Report back via Channel: "PR #XX ready — [1-line summary]"
  • Wait for human to merge

Step 5 — Verify (after merge)

If the human says "merged" or "verify":

  • Check deploy status
  • Verify the metric/error is resolved
  • Update tasks/lessons.md if this is a new pattern
  • Report: "Deploy OK, issue resolved"

STOP. Do not continue to other phases. Do not start a sprint. This is a surgical fix, not a sprint cycle.

Gotchas

  • You're being commanded from a phone. Keep responses SHORT. No walls of text. Summary + PR link + status.
  • Don't start a full sprint cycle. This is a surgical fix.
  • If you're not sure, SAY SO. Better to wait than ship a bad fix.
  • Never force-push to main. Always PR, always wait for merge.
  • The human may take hours to respond (they're at work). That's normal. Don't spam updates.
  • If the diagnostic mentions multiple issues, fix only the most critical one. Add the rest to tasks/backlog.md.

Read the full file on GitHub · 74 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 · 74 lines · 80 tokens per session scan A 233e5a83ac1a

Subscribe to this mod's changes

remote-fix is a skill published in the GitHub repository rbah31/claude-code-workflow (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 80 tokens to every session and 588 once invoked, about $0.0003 per session on Opus 5.5. 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-08-31.