Executable Markdown files with Unix pipes
Details
- External ID
- 46549444
- Source
- HN
- Company
- —
- Product
- —
- Website domain
- —
- Launched
- Jan. 9, 2026
- Cohort
- —
- Upvotes
- 126
- Upvotes percentile
- 0.9209486166007905
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
I wanted to run markdown files like shell scripts. So I built an open source tool that lets you use a shebang to pipe them through Claude Code with full stdin/stdout support.task.md: #!/usr/bin/env claude-run Analyze this codebase and summarize the architecture. Then: chmod +x task.md ./task.md These aren't just prompts. Claude Code has tool use, so a markdown file can run shell commands, write scripts, read files, make API calls. The prompt orchestrates everything.A script that runs your tests and reports results (`run_tests.md`): #!/usr/bin/env claude-run --permission-mode bypassPermissions Run ./test/run_tests.sh and summarize what passed and failed. Because stdin/stdout work like any Unix program, you can chain them: cat data.json | ./analyze.md > results.txt git log -10 | ./summarize.md ./generate.md | ./review.md > final.txt Or mix them with traditional shell scripts: for f in logs/\*.txt; do cat "$f" | ./analyze.md >> summary.txt done This replaced a lot of Python glue code for us. Tasks that needed LLM orchestration libraries are now markdown files composed with standard Unix tools. Composable as building blocks, runnable as cron jobs, etc.One thing we didn't expect is that these are more auditable (and shareable) than shell scripts. Install scripts like `curl -fsSL https://bun.com/install | bash` could become: `curl -fsSL https://bun.com/install.md | claude-run` Where install.md says something like "Detect my OS and architecture, download the right binary from GitHub releases, extract to ~/.local/bin, update my shell config." A normal human can actually read and verify that.The (really cool) executable markdown idea and auditability examples are from Pete Koomen (@koomen on X). As Pete says: "Markdown feels increasingly important in a way I'm not sure most people have wrapped their heads around yet."We implemented it and added Unix pipe semantics. Currently works with Claude Code - hoping to support other AI coding tools too. You can also route scripts through different cloud providers (AWS Bedrock, etc.) if you want separate billing for automated jobs.GitHub: https://github.com/andisearch/claude-switcherWhat workflows would you use this for?
Enrichment
- Theme
- markdown editors and writing tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- executable markdown files with unix pipes
- Manually corrected
- False
Could you build this?
Yes A small CLI wrapper written in Bash, Python, or Go that acts as an interpreter binary to stream Markdown content to Claude via standard I/O can be built in an afternoon.
Discussion
20 comments analyzed.
Competitors mentioned: mdflow, rundown.cool, Claude Code, Shell scripts with comments
Concerns raised: LLM poisoning/malicious content injection into installer, Unpredictable LLM behavior causing catastrophic failures after building trust, Non-deterministic results across runs (lack of temperature/seed control), Subscription cost requirements for execution, Lower reliability compared to traditional scripting
Feature requests: Support for temperature and seed flags for deterministic behavior, Better handling of XML tags in markdown without rendering issues, Sandboxed/containerized execution environments, Session isolation improvements
Competitors
Other products that read as similar to this one — 318 launches clear the similarity bar, closest 8 shown.
Attention rank: #39 of 319 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 62 days after the earliest competitor.
- I built a tool to un-dumb Claude Code's CLI output (Local Log Viewer) · hn · 2026-02-13 · 69 upvotes · similarity 0.58
- Claude Code rewritten as a bash script · hn · 2026-03-31 · 62 upvotes · similarity 0.54
- Epho · ph · 2026-08-21 · 156 upvotes · similarity 0.51
- kiln.bot · hn · 2026-02-03 · 8 upvotes · similarity 0.51
- Brain · ph · 2026-09-28 · 1 upvotes · similarity 0.50
- Beautiful Markdown rendering in your terminal · hn · 2026-09-11 · 7 upvotes · similarity 0.49
- Claudebin · hn · 2026-02-19 · 30 upvotes · similarity 0.47
- claudecut · github · 2026-09-20 · 40 upvotes · similarity 0.47
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.