Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add DJRHails/dotfiles --skill interactive-cligit clone --depth 1 https://github.com/DJRHails/dotfilesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/djrhails/dotfiles/interactive-cli)<a href="https://agentmods.dev/skills/djrhails/dotfiles/interactive-cli"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/interactive-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/djrhails/dotfiles/interactive-cli"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/interactive-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.01714 |
| Opus 5.5 | $0.00028 | $0.00686 |
| Sonnet 5.5 | $0.00014 | $0.00343 |
| Haiku 4.5 | $0.00007 | $0.00171 |
Grade A, and why
interactive-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Interactive CLI Process Control
Control interactive CLI processes across multiple bash tool calls using tmux sessions.
Session Management
Use a named tmux session with a descriptive cli_ prefix that captures the full context of what the session is doing:
# Start a detached session with a descriptive name
# Convention: cli_<what>_<where>_<why>
# Examples:
# cli_ssh_saintmini01_for_running_saint_up
# cli_pdb_debug_config_loading
# cli_pyrepl_testing_math_functions
# cli_ssh_thechurch_checking_docker_logs
tmux new-session -d -s cli_ssh_prod_deploying_v2 -x 120 -y 40 "<command>"
# Send input (use $'...\n' for newlines)
tmux send-keys -t cli_ssh_prod_deploying_v2 $'<input>\n'
# Send multiple commands
tmux send-keys -t cli_ssh_prod_deploying_v2 $'cmd1\ncmd2\n'
# Read current terminal output (print to stdout)
tmux capture-pane -t cli_ssh_prod_deploying_v2 -p
# Read with scrollback history (start from line -100)
tmux capture-pane -t cli_ssh_prod_deploying_v2 -p -S -100
# Stop the session
tmux kill-session -t cli_ssh_prod_deploying_v2
Workflow
- Start: Launch the interactive process in a detached tmux session
- Interact: Send commands with
send-keys, read output withcapture-pane - Iterate: Continue sending commands and reading output as needed
- Cleanup: Kill the session when done
Examples
Python Debugger (pdb)
# Start pdb
tmux new-session -d -s cli_pdb_debug_config_loading -x 120 -y 40 "python3 -m pdb script.py"
sleep 2 && tmux capture-pane -t cli_pdb_debug_config_loading -p
# Step through code and print a variable
tmux send-keys -t cli_pdb_debug_config_loading $'n\n'
sleep 0.5 && tmux capture-pane -t cli_pdb_debug_config_loading -p
tmux send-keys -t cli_pdb_debug_config_loading $'print(my_var)\n'
sleep 0.5 && tmux capture-pane -t cli_pdb_debug_config_loading -p
# Set breakpoint and continue
tmux send-keys -t cli_pdb_debug_config_loading $'b 42\nc\n'
sleep 1 && tmux capture-pane -t cli_pdb_debug_config_loading -p
# Quit
tmux send-keys -t cli_pdb_debug_config_loading $'q\n' && tmux kill-session -t cli_pdb_debug_config_loading
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 173 lines · 70 tokens per session scan A efa38b933063
interactive-cli is a skill published in the GitHub repository DJRHails/dotfiles (2 stars, last pushed 2d ago), licensed MIT. It adds 70 tokens to every session and 1,714 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
interactive-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| interactive-cliDJRHails/dotfiles | Skill | 2 | 2d ago | MIT | A | 70 | Claude Code |
| todoist-clijoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 68 | Claude Code |
| autopilot-batchjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 75 | Claude Code |
| autopilotjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 40 | Claude Code |
| qa-handoffjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 41 | Claude Code |
| walkthroughjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 33 | Claude Code |
| dustoffjoshukraine/dotfiles | Skill | 430 | 7d ago | MIT | A | 64 | Claude Code |