claw: A Lightweight POSIX Shell Agent for Linux Using curl and jq
By
kilian-ai
A reheated bagel, served cold.
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 pulledA 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
OpenClaw: AI Personal Agent for Computer Control via Chat Apps
OpenClaw is an AI-powered personal agent that transforms computers into 24/7 accessible systems controllable via chat apps like WhatsApp and
Clawdi: An open-source cloud platform for running AI agents without setup hassles
Clawdi is an open-source platform that enables users to run AI agents (like OpenClaw and Hermes) in the cloud without manual setup. It decou
ClawApp: macOS Desktop Application for Simplified OpenClaw Bot Management
ClawApp is a macOS desktop application that simplifies working with OpenClaw bots by providing an all-in-one guided experience. It replaces
JDoodle Claw: Hosted Private Server Solution for OpenClaw AI Agent
JDoodle Claw offers a hosted solution for OpenClaw, an AI agent that requires complex self-hosting. The service provides private servers wit
ClawMetry: Open-Source Observability Dashboard for OpenClaw AI Agents
ClawMetry is a free, open-source observability dashboard specifically designed for OpenClaw AI agents, offering real-time monitoring capabil
Chowder.dev: Single API for Deploying and Managing OpenClaw Instances
Chowder.dev offers a single API for deploying and managing OpenClaw instances, providing infrastructure to spin up isolated claws in seconds
