Borrowing it
Nothing to install: this file belongs to SNComrade/Rail-Connector-MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SNComrade/Rail-Connector-MCP/main/.agents/skills/rail-debugger/SKILL.mdgit clone --depth 1 https://github.com/SNComrade/Rail-Connector-MCPWrote 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.
[](https://agentmods.dev/skills/sncomrade/rail-connector-mcp/rail-debugger)<a href="https://agentmods.dev/skills/sncomrade/rail-connector-mcp/rail-debugger"><img src="https://agentmods.dev/badge/skills/sncomrade/rail-connector-mcp/rail-debugger.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01460 |
| Opus 5 | $0.00044 | $0.00730 |
| Sonnet 5 | $0.00017 | $0.00292 |
| Haiku 4.5 | $0.00009 | $0.00146 |
Grade A, and why
rail-debugger 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rail Connector Debugger
Move from symptom to evidence before changing configuration, processes, or repo files. Read debugging-playbook.md for exact checks.
Diagnostic Layers
- Codex tool exposure
- MCP registration and process environment
- installed Claude executable and capabilities
- Windows broker or tmux ownership/lifecycle
- Claude authentication, trust, and terminal state
- session-log identity and transcript completion
- caller workflow and concurrency
Do not reinstall before identifying the failed layer.
Core Rules
- Treat diagnose, inspect, list, and report-only requests as non-mutating. Stop before installation, process termination, configuration, or file edits unless the user asked for a fix.
- Enforce the same-OS contract. Native Windows Codex controls native Windows Claude; WSL is separate.
- On Windows, the broker owns Claude Code ConPTY sessions across MCP task refreshes. Distinguish Claude Desktop processes, MCP stdio clients, broker, and Claude Code children.
- If tools are missing after code/config changes, verify registration and use a fresh Codex task before diagnosing runtime behavior.
- Prefer the platform installer or
codex mcp addpluscodex mcp getover direct configuration edits. If a fallback edit is unavoidable, back upconfig.tomlfirst and parse it afterward. - Call
statusandget_claude_capabilities; do not infer permission or Ultracode support from stale docs. - Request
status.includeAgentDetailsonly when machine-wide Claude process inventory is necessary; managed-session status is the privacy-safe default. - Compare
posture.requested,posture.resolved,posture.observed,posture.ultracodeAssessment, and evidence sources. Missing observation is unknown, not proof of failure. - Separate
terminalStatefrom the combinedstate; workflow activity can make the latter busy without inventing terminal-busy evidence. On Unix, inspecttmuxCompatibilityand require tmux 3.2 or newer for a new or replacement launch. - For bypass failures, verify both policy
enabled: trueandconfirmBypassPermissions: true. Local-host and isolated policies are both supported. Compare the policy fields andstatus.mcpProcessidentity after registration changes. Inspectposture.audit.securityBoundary: isolated is an operator assertion,osIsolationVerifiedremains false, and allowed roots are not a Claude filesystem sandbox. Never silently downgrade an explicit bypass request. - For Ultracode failures, verify the dedicated booleans, omitted ordinary
effort, calibrated probe exit status, MCP-process environment blockers,
chosen launch mechanism, runtime effort, and sanitized workflow activity.
advertisedAsEffort: falseandhelpListsUltracode: falsemean only that CLI help did not list the literal value; checksupportedByInstalledVersion,launchArgument, and the probe before calling the capability unavailable. Timeout or terminated probes are inconclusive. Compare the persisted childlaunchEnvironmentwithcurrentMcpEnvironmentafter refresh; do not use the new process to rewrite an existing session's launch evidence.xhighalone is correlated evidence, not confirmed Ultracode. Treat boundhighormaxas conflicting effort evidence; leave unknown labels unmapped. Inspect the bound attachment lifecycle: current enter is active, a later exit is inactive, and skipped or partial history stays labeled even when a later complete transition restores current state. InspectattentionStatusfor a blocking environment, effort conflict, or terminal-rejection conflict. These records prove a client-side transition, not server-side orchestration. - For an explicit deep diagnostic, launch with
debug: trueand an optionaldebugFilter. VerifydebugLog.status, identity, launch binding, and growth without returning its sensitive contents. On Windows,ready_acl_unverifiedis the expected success-with-ACL-caveat state. Debug capture can prove local argv and event timing; it cannot prove Anthropic's effective server-side effort. - For report-only posture, remember that built-in tool flags do not remove MCP or connector tools. The current MCP does not provide a verified strict MCP-config roster; inspect the effective roster and use filesystem isolation when connector-level writes must be impossible.
- Before comparing Claude Desktop or CLI visuals, bind the view to the same managed name, conversation UUID, generation, and time window. An unbound screenshot cannot prove or disprove the MCP session's posture.
- Prefer the transcript returned by
wait_for_claude_turnover animated terminal capture. WhentextTruncatedis true, useget_claude_resultwith the returned opaque, record-scopedresultIdand verify the separatetextSha256content digest after the last chunk. - Distinguish
needs_attentionfrom a completed result with additiveattention; the latter still contains a valid completed transcript plus a weaker warning to surface or resolve. - Treat renderer, parser, and composer mistakes as testable defects. Add a focused regression fixture before broad heuristic changes.
- Treat spinner wording as variable Claude UI. Diagnose from animation glyphs, timing/interrupt markers, completion ordering, composer state, and transcript evidence rather than a fixed phrase list or a bare prose phrase.
- Treat non-idle stop/replacement refusal and mutation leases as protective lifecycle behavior, not random failure.
- A current MCP launch blocker must stop a new or replacement child, but it must not prevent read-only reconnection to an already-running managed child.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago Changed · +23 lines 3b5973ec979a
- 6d ago First seen · 92 lines · 87 tokens per session scan A 0f0d245dec10
rail-debugger is a skill published in the GitHub repository SNComrade/Rail-Connector-MCP (0 stars, last pushed 3d ago), licensed MIT. It adds 87 tokens to every session and 1,460 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
geargrafx-debugging
Debug and trace TurboGrafx-16 / PC Engine / SuperGrafx games using the Geargrafx emulator MCP server. Provides workflows for HuC6280 CPU debugging, breakpoint management, hardware inspection, disassembly analysis, and execution tracing. Use when the user wants to debug a PC Engine game, trace code execution, inspect…
root-cause-first
Use whenever something is broken and you are about to fix it - a failing test, a bug report, a crash, wrong output, flaky behavior. Forces reproduce -> isolate -> fix the cause -> re-run the repro, and bans fixes without a failing observation. Do NOT use for building new features or for changes where nothing is broken…
create-skill
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
figma-create-design-system-rules
Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design rules", "customize design system guidelines", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server…
figma-generate-library
Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. This skill teaches WHAT to build and in WHAT ORDER — it…
figma-implement-design
Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via…