# wsl-kali

The wsl-kali Claude Code skill sends shell commands and file operations to Kali Linux through WSL. It activates for security tools and other command-line work.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 326 repo stars
- Author: mrhlaingbwardev
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/HEAD/skills/wsl-kali/SKILL.md
- Updated: 2026-11-01
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/wsl-kali

## What it does

wsl-kali routes shell commands, file operations, and tool launches through WSL into Kali Linux. It uses calls in the form `wsl -d kali-linux -- bash -c 'YOUR_COMMAND_HERE'` and includes checks for the environment and `PATH`. Windows CMD and PowerShell are excluded for these tasks.

Go tools need `$HOME/go/bin` added to `PATH`. The skill also covers converting paths between Windows and WSL, installing packages with `apt`, and running Python commands. It requires a working WSL environment with the `kali-linux` distribution. OpenCode configuration edits in `C:\Users\YourUser\.config\opencode\` are the exception and use Windows commands.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill wsl-kali -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/wsl-kali/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/wsl-kali/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill wsl-kali -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/wsl-kali/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill wsl-kali -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/wsl-kali/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mrhlaingbwardev/agentic-hacking-skills skills/wsl-kali
```

2. **Manually: put the files in place**
- File: `.github/skills/wsl-kali/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill wsl-kali -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mrhlaingbwardev/agentic-hacking-skills --path skills/wsl-kali
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/wsl-kali/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/HEAD/skills/wsl-kali/SKILL.md

## When to use it
- run security tools in Kali Linux through WSL
- handle project files from a Linux environment
- install packages and Go tools in Kali
- convert Windows paths to WSL paths

## Example prompts
- Run `subfinder` for `example.com` inside Kali through WSL.
- Install the required packages with `apt` inside WSL Kali.
- List the project files from the Kali environment.

## Similar
- [kali-pentest-ai-agent](https://affpapa.org/en/nevibecode/skills/kali-pentest-ai-agent.md) — skill · 844 installs
- [project-bootstrap](https://affpapa.org/en/nevibecode/skills/project-bootstrap.md) — skill · 798 installs
- [babysit](https://affpapa.org/en/nevibecode/skills/jssblck-babysit.md) — skill · 668 installs
- [w-onboard](https://affpapa.org/en/nevibecode/skills/w-onboard.md) — skill · 647 installs
- [w-release](https://affpapa.org/en/nevibecode/skills/w-release.md) — skill · 647 installs
- [finish-pr](https://affpapa.org/en/nevibecode/skills/finish-pr.md) — skill · 597 installs

From the same set: [mrhlaingbwardev/agentic-hacking-skills](https://affpapa.org/en/nevibecode/by/mrhlaingbwardev/agentic-hacking-skills.md) — 28 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
