← Work

Open source · npm · MIT

Command lines agents can use without breaking things.

I build these for my own agent work and publish them. Each one prints compact output a model can read, and refuses what it should not do. The guard is the point.

MongoDB

mongo-axi

Schemas inferred from samples; capped find, aggregate, count and explain.

Guard: Read-only. No JavaScript is evaluated; write stages are refused.

npm install -g mongo-axi
$ mongo-axi describe orders customers
$ mongo-axi find orders '{status: "paid"}' --sort '{created_at: -1}'
$ mongo-axi aggregate orders '[{$group: {_id: "$status", n: {$sum: 1}}}]'
Commands and output from the package README
MySQL

mysql-axi

Schemas, sample rows and capped SELECT, SHOW and EXPLAIN.

Guard: Writes refused by a client-side guard and a read-only session.

npm install -g mysql-axi
$ mysql-axi find voucher
$ mysql-axi describe orders customers
$ mysql-axi query "SELECT status, COUNT(*) FROM orders GROUP BY status"
Commands and output from the package README
Bitbucket Cloud

bb-axi

Pull-request review first: diffs, comments, approvals and build status.

Guard: Diffs carry line numbers, so inline comments land on the right line.

npm install -g bb-axi
$ bb-axi pr diff 42
pr: 42
files_changed: 1
lines: +6 -1
files[1]{path,status,added,removed}:
  src/sync/worker.ts,modified,6,1
Commands and output from the package README
Jira Cloud

atl-axi

Issues, JQL search, story points, sprints, transitions and comments.

Guard: Every answer ends with the next commands, so the agent does not guess.

npm install -g atl-axi
$ atl-axi issue view PROJ-123
issue:
  key: PROJ-123
  summary: Retry the sync worker
  status: In Progress
  points: 3
  sprint: Sprint 7 (active; id 578)
Commands and output from the package README
Hetzner Cloud

hetzner-axi

Servers, firewalls, volumes, networks and DNS zones.

Guard: Destructive or paid changes need --confirm and show a preview first.

npm install -g hetzner-axi
$ hetzner-axi
context: prod
server_count: 3 (2 running; 1 off)
servers[3]{name,status,type,ipv4}:
  build-1,off,cx32,203.0.113.12
  db-1,running,ccx13,203.0.113.11
  web-1,running,cx22,203.0.113.10
Commands and output from the package README
TypeScript / JavaScript

ts-axi

Definitions, references, callers, file outlines and the change impact of a diff, from the compiler's own symbol resolution.

Guard: Read-only: no lint, no refactor, no rename. Where the compiler can't follow a symbol, it prints a text-search count instead of a bare 0.

npm install -g ts-axi
$ ts-axi impact main...HEAD
changes: 2
changed[2]{symbol,kind,change,exported,at,refs_total,refs_outside,via,files,tests}:
  formatPrice,function,signature,true,"src/lib/format.ts:5",13,12,0,6,2
  Cart.total,method,body,true,"src/lib/cart.ts:32",8,8,0,5,3
Commands and output from the package README

Need one for your own system: a database, an internal API, a ticket tracker? The same guards come with it.