agent-shells

PowerShell Skills — AI skill for Claude Code

AI community

PowerShell skills and guardrails for reliable Windows command execution by AI agents, with Codex and Claude Code adapters.

How to install PowerShell Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open agent-shells/powershell-skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What PowerShell Skills does

PowerShell skills and guardrails for reliable Windows command execution by AI agents, with Codex and Claude Code adapters.

Alternatives in AI

  • LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
  • Empirica — Make AI agents and AI workflows measurably reliable 244 ★
  • Artemis — ARTEMIS turns natural-language instructions into reliable Android automation 101 ★

README

powershell-skills

PowerShell skills and guardrails for reliable Windows command execution by AI agents.

[![npm version](https://img.shields.io/npm/v/@agent-shells/powershell-skills.svg)](https://www.npmjs.com/package/@agent-shells/powershell-skills) [![CI](https://github.com/agent-shells/powershell-skills/actions/workflows/ci.yml/badge.svg)](https://github.com/agent-shells/powershell-skills/actions/workflows/ci.yml)

General-purpose coding agents often run Windows and PowerShell less smoothly than Linux or macOS shells. This project gives agents a small, tested runtime aid: agent-facing skills, safe command shapes, compatibility checks, and helper scripts that reduce common Windows command failures.

Installation

Install from npm:

npm install -g @agent-shells/powershell-skills
powershell-skills install all
powershell-skills doctor

Update explicitly:

powershell-skills update

Install only one adapter:

powershell-skills install codex
powershell-skills install claude-code

GitHub install is still supported for unreleased branches or tags:

npm install -g github:agent-shells/powershell-skills#v0.5.1

Features

  • Codex adapter for user-level skill discovery under ~/.codex/skills.
  • Claude Code adapter for personal skill discovery under ~/.claude/skills.
  • powershell-skills CLI for install, update, and doctor workflows.
  • Shared execution contract, pattern catalog, and sanitized failure corpus.
  • PowerShell helper scripts for path resolution, command discovery, failure classification, external application execution, and read-only cmdlet execution.
  • Invoke-AgentPowerShell.ps1 for structured, allowlisted, read-only cmdlets.
  • Windows PowerShell 5.1 and PowerShell 7 verification through GitHub Actions CI.

Triggering

The adapters are written for agents, not for humans to prefix every command manually.

  • Codex discovers powershell-command-runner from ~/.codex/skills.
  • Cla