PSClaudeCode: an open-source Claude Code clone in 250 lines of PowerShell
dfinke · x · 2026-09-30
Developer Doug Finke open-sourced PSClaudeCode (87 GitHub stars): a 250-line PowerShell implementation of Claude Code's core—agent loop, tool calling, and permissions—built on Anthropic's Claude API.
- Inspired by the original Claude Code article, it evolves from a simple command runner into a full agent with function calling, file operations, and conversation; the repo keeps agent-v0 through v2 iterations for side-by-side learning
- Ships with read/write/edit, shell, and web search tools; install with Install-Module PSClaudeCode
- Flagship demo: the agent autonomously reads monthly CSV sales files and produces quarterly Excel workbooks via the ImportExcel module—no built-in CSV/Excel logic, it figures everything out through iteration and tool use
Related event: Open-Source Project Recreates Claude Code in 250 Lines of PowerShell(2 posts)→
More from coding & agent
- Structure-only AI audit: Jev predicts outcomes of 2,029 real calls at AUC 0.78 for $3 — alexcovo_eth · 2026-09-30
- Replicas V3 launches: run Claude Code and Codex in cloud VMs with BYO keys — KlausCodes · 2026-09-30
- Agno adds first-class MCP publishing for agent components — pritisinghhhh · 2026-09-30
- Dev on AI coding: don't grieve the craft — time was always the constraint — jh3yy · 2026-09-30
- Perplexity launches Automations in Perplexity Computer with event triggers and schedules — perplexity_ai · 2026-09-30
- Building a Codex-to-Flux 3 Pipeline That Autonomously Generates Ancient Greece Memes — venturetwins · 2026-09-30