All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

claw: A Lightweight POSIX Shell Agent for Linux Using curl and jq

By

kilian-ai

27d ago· 1 min readenReview

Summary

A lightweight shell script called "claw" that functions as a POSIX-sh agent for Linux systems. It provides a streaming chat interface against OpenAI or Anthropic APIs, with shell tool calling capabilities, rolling memory, skills, and mentor mode. The tool is built entirely with curl and jq — no Node.js or npm dependencies required. The article demonstrates claw's ability to execute shell commands interactively, showing an example where it finds the three largest log files and their ages.

Key quotes

· 3 pulled
A single shell script. Streaming chat against OpenAI or Anthropic.
Shell tool calls, rolling memory, skills, mentor mode.
No Node, no npm — just curl + jq.
Snippet from the RSS feed
A single shell script. Streaming chat against OpenAI or Anthropic. Shell tool calls, rolling memory, skills, mentor mode. No Node, no npm — just curl + jq.

You might also wanna read