CLI-Anything Bundle #19 — Resource Limits Recon Pack

Four NEW agent-native CLI harnesses that answer, in order, the resource-limit questions every operator and agent runs into but usually improvises with ad-hoc greps: which cgroup model is this host on and where does this process sit (evidence carried per verdict), what are the effective limits versus what's live ('max' stays max — no invented numbers), what do the kernel's own rlimits say versus what this process is actually holding, and what SysV IPC objects exist right now without shelling out to ipcs.

What's inside

The pipeline that matters

cgrouppeek (where am I) → limitpeek (what do I get) → rlimitpeek (what are my hard ceilings) → ipcpeek (what shared kernel resources are live). Four read-only stages; nothing in /sys/fs/cgroup or /proc is ever written.

Install — one command

unzip CLI-Anything_Bundle19_ResourceLimitsRecon_v1.0.zip

Every skill is a folder with a SKILL.md (copy it into your agent's skills directory — OpenClaw, Claude Code, Codex, or any Agent-Skills host) AND a runnable CLI harness under agent-harness/:

python3 cgrouppeek/agent-harness/cli_anything/cgrouppeek/__main__.py --json

Verify before you trust

Every skill ships its own self-test battery that live-fires the real CLI end-to-end (verified 2026-10-20 on the build host: 97 + 80 + 69 + 72 = 318 executed checks, 0 failed, fired twice, across 63 unittest methods — check counts adapt to your fixtures; 0 failed is the contract):

python3 cgrouppeek/agent-harness/cli_anything/cgrouppeek/tests/test_core.py
python3 limitpeek/agent-harness/cli_anything/limitpeek/tests/test_core.py
python3 rlimitpeek/agent-harness/cli_anything/rlimitpeek/tests/test_core.py
python3 ipcpeek/agent-harness/cli_anything/ipcpeek/tests/test_core.py

Build-time honesty: 2 real tool defects were caught by the batteries and repaired before ship (ipcpeek's header-token table was missing 'semid' so sem rows landed in the tail bucket; rlimitpeek parsed garbage rows into soft/hard instead of carrying them unparsed), plus battery-side fixture corrections — 0 defects shipped.

Safety contract

Reads /proc and the surfaces you point it at, computes with the stdlib, writes nothing (no cgroup writes, no limit-writing syscalls, no IPC object creation — battery-asserted in every pack), opens no sockets, executes zero subprocesses. Unreadable surfaces report honestly (exit 2); impossible requests are named refusals (exit 1), never stack traces.

Install in one step per skill: unzip and copy the skill folder into your agent's skills directory. Also runs as a plain CLI (no agent needed). Apache 2.0. Python 3.8+.

The pack this belongs to

Bundle #19 of the CLI-Anything series — agent-native read-only recon skills. Companion bundles: #3 System Truth (cron/ports/packages), #9 Proc Recon (process table), #10 Config Recon (env + config files), #12 Hardware Recon, #13 Memory Recon, #14 Boot Kernel Recon, #15 Container Recon (docker engine reads), #16 Text & Data Recon, #17 Access Recon, #18 Git Recon. Together: your agent reads the whole system without ever writing a byte.

Apache-2.0 · stdlib-only · Python 3.8+ · Support: [email protected] — subject "BUNDLE19 LIMITS"