Synapse: Skill for Claude Code

.claude/skills/debug-env/SKILL.md

debug-env is a skill for Claude Code from JosephOIbrahim/Synapse. It costs 0 tokens per session (321 once invoked), scanned A, original, MIT.

A diagnostic workflow for permanently fixing environment problems on Windows 11. It uses PowerShell and Git Bash to find conflicting programs, aliases, and PATH settings.

In plain words
What is it for?
Use it to inspect installed command versions, Windows execution aliases, PATH order, environment variables, and permissions, then create and verify a repeatable fix.
Why use it?
It helps locate the actual cause of command-line problems and confirms that a fix works in both terminal environments.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is JosephOIbrahim/Synapse's own configuration. It tells Claude Code how to work on Synapse 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 Synapse configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JosephOIbrahim/Synapse. 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/JosephOIbrahim/Synapse/master/.claude/skills/debug-env/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JosephOIbrahim/Synapse

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 debug-env

README.md
[![agentmods](https://agentmods.dev/badge/skills/josephoibrahim/synapse/debug-env/github.svg)](https://agentmods.dev/skills/josephoibrahim/synapse/debug-env)
Your own site
<a href="https://agentmods.dev/skills/josephoibrahim/synapse/debug-env"><img src="https://agentmods.dev/badge/skills/josephoibrahim/synapse/debug-env/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 debug-env

Your own site · 80×15
<a href="https://agentmods.dev/skills/josephoibrahim/synapse/debug-env"><img src="https://agentmods.dev/badge/skills/josephoibrahim/synapse/debug-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 321 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.00321
Opus 5.5 $0.00000 $0.00128
Sonnet 5.5 $0.00000 $0.00064
Haiku 4.5 $0.00000 $0.00032

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

Security

Grade A, and why

debug-env 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 2mo 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/debug-env/SKILL.md · 42 lines

What it actually says

Debug Windows Environment Issue

Parallel diagnostic workflow for permanent environment fixes on Windows 11.

Context

  • OS: Windows 11 Pro for Workstations
  • Primary terminal: Git Bash
  • Elevated commands: PowerShell
  • Prefer PowerShell for environment variables (setx), registry, and admin privileges
  • Git Bash has escaping issues with setx and UAC interactions

Workflow

Execute these phases — do NOT skip ahead:

Phase 1: Diagnose

  • Run where <tool> and Get-Command <tool> (PowerShell) to find all instances of the target binary
  • Check for Windows App Execution Aliases (zero-byte stubs in WindowsApps/)
  • Inspect PATH ordering
  • Identify the exact root cause
  • Report findings before proceeding

Phase 2: Fix

  • Write a PowerShell script (.ps1) that:
    • Fixes the root cause
    • Includes error handling for UAC/elevation failures with automatic retry
    • Handles Git Bash vs PowerShell escaping differences explicitly
  • Save the script to disk for repeatability
  • Execute with appropriate elevation

Phase 3: Verify

  • Open a NEW shell subprocess and verify the issue is resolved
  • Check BOTH PowerShell and Git Bash contexts
  • If verification fails, loop back to Phase 2 with the new error
  • Do NOT consider resolved until Phase 3 passes in both shells

Arguments

The user should describe the issue after invoking this skill:

  • /debug-env The claude CLI shows "not recognized" even though it's installed
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. 2mo ago First seen · 42 lines · 0 tokens per session scan A c369e658467d

Subscribe to this mod's changes

debug-env is a skill published in the GitHub repository JosephOIbrahim/Synapse (12 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 321 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-08-31.

Related

Other skills, from other repositories

dcc-diagnostics

Infrastructure skill — DCC-agnostic observability primitives: capture screenshots, query audit logs, inspect tool performance metrics, and monitor process health. Works in any DCC environment (Maya, Blender, Houdini, Unreal, etc.) or standalone Python. Use for debugging any skill failure or verifying DCC state. Not…

dcc-mcp/dcc-mcp-core · 84 tokens

qt-ui-inspector

Infrastructure skill — DCC-agnostic Qt UI introspection: list top-level windows, find widgets by name/class, describe widget properties, walk the widget tree, and poll for availability. Works in any DCC with a Qt binding (Maya, Blender, Houdini, Unreal, etc.). All tools are read-only and lazy-loaded.

dcc-mcp/dcc-mcp-core · 74 tokens

comfyui-workflow-repair

A diagnostic and repair workflow for ComfyUI workflows, which are saved graphs of image-generation nodes and their connections. It checks for missing or outdated nodes, invalid links, and parameter problems, and can migrate workflows between versions.

IvanYangYangXi/artclaw_bridge · 85 tokens

comfyui-workflow-validator

A checker for ComfyUI workflows, which are sets of connected image-generation steps. It checks whether every node type used by a workflow is available in the current ComfyUI setup.

IvanYangYangXi/artclaw_bridge · 67 tokens

ue5-debug-validation

UE5.6/UE5.7 debugging and validation workflow for logs, asset checks, and regression triage. Use when requests involve troubleshooting why gameplay does not work, validating expected output, narrowing minimal repro, and producing concrete fix steps.

IvanYangYangXi/artclaw_bridge · 54 tokens

blender-api-compatibility

Diagnoses and migrates Blender Python API breakage across versions 4.2 to 5.1+ (EEVEENEXT, renamed modifier types and BSDF inputs, VSE strips). Use when a bpy script errors on a newer Blender, or for breaking changes and migration.

sideshowroberto/vfx-agent-toolkit · 65 tokens