fritzprix/libr-agent/windows-process-manager

Claude Code and agent skill by fritzprix/libr-agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage Windows-specific process isolation, stdio pipe decoding, and ANSI code page handling. Use when debugging Windows-specific MCP server issues, fixing stdio encoding, or handling Windows path discovery.

Install

npx vskill@latest install fritzprix/libr-agent/windows-process-manager

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/windows-process-manager.

Windows Process Manager

Manage Windows-specific process isolation and stdio handling for LibrAgent.

Key Challenges

1. ANSI Code Page Handling

Windows uses ANSI code pages by default. Stdio output from MCP servers may contain non-UTF-8 characters.

rust
// Convert ANSI to UTF-8
use std::os::windows::prelude::*;
use winapi::um::consoleapi::GetConsoleOutputCP;
2. Stdio Pipe Reading

Windows pipes require special handling for async reading:

rust
use tokio::io::{AsyncReadExt, BufReader};
use tokio::process::Command;
let mut child = Command::new("cmd")
.args(&["/C", "server.exe"])
.stdout(Stdio::piped())
.spawn()?;
let mut stdout = BufReader::new(child.stdout.take().unwrap());
let mut buffer = Vec::new();
stdout.read_to_end(&mut buffer).await?;
3. Path Discovery

Windows paths require normalization:

rust
use std::path::{Path, PathBuf};
fn normalize_windows_path(path: &str) -> PathBuf {
let path = Path::new(path);
if path.is_absolute() {
path.to_path_buf()
} else {
std::env::current_dir().unwrap().join(path)
}
}
4. Process Spawning
rust
use std::process::Stdio;
let mut cmd = Command::new(program);
cmd.args(args)
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
.creation_flags(CREATE_NO_WINDOW); // Hide console window

Audit Checklist

  • [ ] Stdio pipes use Stdio::piped() not Stdio::inherit()
  • [ ] Process spawning uses CREATE_NO_WINDOW flag on Windows
  • [ ] Output decoding handles ANSI code pages
  • [ ] Path handling uses PathBuf and normalization
  • [ ] No hardcoded Unix paths (/usr/bin, /tmp)
  • [ ] Environment variables use Windows format (%VAR% vs $VAR)

Platform Detection

rust
#[cfg(target_os = "windows")]
{
// Windows-specific code
}
#[cfg(not(target_os = "windows"))]
{
// Unix-specific code
}

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fritzprix/libr-agent/windows-process-manager/badge)](https://verified-skill.com/skills/fritzprix/libr-agent/windows-process-manager)

Something wrong with this skill or its page? Tell us.