PSClaudeCode: a 250-line PowerShell reimplementation of Claude Code's agent loop
dfinke · x · 2026-09-28
Developer dfinke open-sourced PSClaudeCode, a Claude Code reimplementation in just 250 lines of PowerShell (Install-Module PSClaudeCode). The repo demonstrates the core agent loop — command runner evolving into function calling, file operations and conversations, with a permissions layer — via staged files (agent-v0/v1/v2). In the demo, the agent has no built-in CSV or Excel logic: it autonomously reads monthly sales CSVs and produces quarterly Excel workbooks using the ImportExcel module through iteration and tool use. A compact way to see how agents like Claude Code actually work under the hood.
More from coding & agent
- Cursor turns a Mac Mini into a remote agent worker with one command, plus Computer Use — mattyp · 2026-09-28
- doodlestein says he now ships 2,000+ commits per day with agents — tokenbender · 2026-09-28
- doodlestein's workflow: beads as north star plus a 'reality check' skill to verify code matches plans — doodlestein · 2026-09-28
- Learning Fusion 3D, Then Letting Claude Design Mechanisms for 3D Printing — alfcnz · 2026-09-28
- Open-source skillranker ranks Claude Code agent skills by live session context — doodlestein · 2026-09-28
- RRSI: Regularizing Recursive Self-Improvement Boosts OOD Agent Benchmarks Up to 4.7 Points — burny_tech · 2026-09-28