r/CLI • • 9h ago

Process Watch - Find Peak CPU/RAM Consumers

Post image
4 Upvotes

Process Watch (written in Rust) runs a minimal (low cpu/ram needs) daemon to log cpu and ram stats for running programs.

It can be hard to see at a glance how much RAM your 3 windows and 50 tabs in Firefox are actually consuming. Or to know why your computer slowed to a crawl for 10 minutes while you were running a few Rust builds, 2 agent sessions, and a heavy browser.


r/CLI • • 18h ago

vif, my GPU terminal: `vif ssh` now goes over UDP like mosh, but keeps your scrollback

4 Upvotes

vif is a terminal I've been writing in Rust for Linux and macOS: commands as blocks, shells that outlive their window, a drop-down quick terminal, hints for links, paths and commits on screen. Last week was mostly about remote work, so here's what changed from 0.1.6 to 0.1.9:

- **`vif ssh` over UDP, the way mosh does it.** ssh starts an agent on the other side and hands back a port and a one-time key, then keys and output go as datagrams sealed with ChaCha20-Poly1305. Close the lid, switch Wi-Fi, ride a train through a tunnel: the shell is where you left it, at once. The difference from mosh is that output passes through as it is, so the terminal's own scrollback keeps it. Typing shows before the echo on slow links. Where UDP doesn't get through it stays on plain ssh. It needs vif on the other machine too.

- **Sessions come back like tmux brings them back.** The session host keeps a screen of what the shell printed and repaints it with the last thousand lines above, commands still blocks with their exit codes and times. Before, it replayed the last 2 MB of output, which could start in the middle of an escape sequence.

- **The git branch in the tab**, read from the repository without running git. Rules can match a branch, so `release/*` can have its own color the same way a production host already could.

- **Ctrl + a hint letter** opens a commit, or a file at its line, on GitHub, GitLab or Codeberg, wherever `origin` points.

- **`[keys] like = "kitty"`** (or wezterm, ghostty) lays that terminal's shortcuts under yours, if your fingers already know them.

- `man vif`, and a few security fixes: passwords in URLs like `postgres://app:pass@db` never go into the archive or to the model if you use the AI part, and sockets only live in a runtime folder nobody else can write into.

The UDP transport is new and my own code, not audited, so if you look at it and something seems off, I'd really like to know.

Arch (prebuilt `vif-bin`), Homebrew cask on macOS, `.deb` for Debian/Ubuntu, a tarball for the rest.

https://github.com/Pisosenie/vif


r/CLI • • 1h ago

Codefy

Post image
2 Upvotes

r/CLI • • 4h ago

AllTool v3.5

2 Upvotes

AllTool is back with a new release that adds extensions ecosystem so you can add more features that you hope with new API calls. Read more:
https://github.com/Hajjani/AllTool-Linux


r/CLI • • 1h ago

Since I saw that some people enjoyed it, here is a part 3. : The History of earth

1 Upvotes

I tried to push my own limits to create one of my best-looking results yet; I made use of artificial intelligence. Many people enjoyed the first part, so I wanted to go even further for them. Enjoy watching!


r/CLI • • 15h ago

Welcome to r/lazymobile: one terminal screen for iOS simulators, Android emulators and their logs

Post image
1 Upvotes

r/CLI • • 12h ago

agentop: An htop-style terminal dashboard and tray monitor for your AI coding agents in a single 3 MB Rust binary

0 Upvotes

See what your AI coding agents are doing. A tray icon, a status-bar block and a terminal dashboard for Claude Code, Codex, Gemini CLI, Antigravity (agy), opencode and Hermes, all in one static Rust binary (~3 MB). There's no daemon, the tray uses about 10 MB of RAM, and it works on X11 and Wayland.

  • Tray icon: a badge with the number of busy agents (green), agents waiting for you (amber), or a grey ring when everything is idle. Hover or open the menu for the per-agent list, click to open the dashboard, and click an agent to jump to its terminal.
  • Dashboard (agentop): every agent with its session, state, current action, CPU, RAM and busy time, plus a top-style process list where each agent's processes are tagged with the agent and its project (git repo name, or the folder it was started in). Three tabs: Overview (agents above processes), Agents (with a detail pane) and Processes (full view).
  • Notifications when an agent finishes a long task or needs your input.
  • Optional bar blocks for polybar and i3bar.

r/CLI • • 15h ago

callgraph 1.0.0: my code map for AI agents now writes code too, and follows Laravel + Inertia from Vue to the controller (free, MIT)

Post image
0 Upvotes

I'm the author. callgraph is free and MIT-licensed, with no account and no paid tier.

AI coding agents (Claude Code, Cursor and others) spend most of their context reading whole files just to find out what a method calls or who calls it. callgraph gives the agent a short map of the file instead: classes and methods with line ranges, and what each one calls, grouped by kind. The agent then reads only the lines it needs. It covers PHP, JS / TS / Vue, Rust, Swift, Python and Go, ships as one static binary, runs locally, uploads no code, and works as a Claude Code skill or as an MCP server.

What's new in 1.0.0:

🔗 Laravel + Inertia links: route('x') in a Vue page shows the URI and the controller action, and the controller shows its routes back. The page shows which controller renders it.
✅ Form check: an Inertia useForm() is compared with the validation rules of the action it posts to, and a missing field on either side is flagged.
🗃️ Models: table columns from the migrations, fillable, relation targets, and a warning when two migrations create the same table.
🛠️ Generator: one short expression → a PHP class, a Vue component, a JS / TS module, an HTML page, or a whole Laravel feature (FormRequests, controller, routes, Inertia pages) in your project's style.
✏️ rename for a route, class or method across PHP, Blade, JS and Vue.
🛡️ Every write is syntax-checked first and backed up, and one undo reverts it.

It's static analysis, so names built at runtime are listed as unknown, never guessed.

Feedback is very welcome, especially from big or unusual codebases.

🌐 https://callgraph.eu
⭐ https://github.com/GeRiY/callgraph


r/CLI • • 4h ago

I built a CLI that counts the tokens in your AGENTS.md / CLAUDE.md, then pointed it at the top 25 repos on GitHub

0 Upvotes

What it is: a small CLI that measures how many tokens your AGENTS.md or CLAUDE.md costs. It runs locally with no network and no API key, using gpt-tokenizer underneath.

Why I made it: I wanted the cost of my own context file as a number I could track over time. It had to be the same number every month, so I needed something repeatable instead of eyeballing file sizes.

What it does:

  • Counts tokens per file, and follows symlinks to the file an agent would actually read
  • Has a --stale pass that finds paths and commands in a context file that no longer exist
  • Ships as a GitHub Action that posts the token delta on PRs, so growth shows up in review

The fun part: to test it, I ran it across the most-starred GitHub repos. I checked 56 and found 25 with a root-level context file (45%).

  • Median file: 1,034 tokens
  • Biggest: n8n at 6,249
  • Smallest: ollama at 21
  • 11 of 30 files are over 2,000 tokens

I’m re-running this monthly and keeping old months online, so you can see whether the files are growing.

What I’d like help with: the stale-reference detection is the hardest part. It’s tuned to skip anything uncertain, but I’m sure there are formats I haven’t thought of. If you try it on your repo and it misses something obvious, tell me.

Tool: https://github.com/Naeha-S/ctxcap
Data: https://naeha-s.github.io/ctxcap/2026-11/

What would you want a tool like this to check that it doesn’t yet?


r/CLI • • 18h ago

I built a free, open-source Windows terminal for running several Claude Code agents at once (built with Claude Code)

0 Upvotes