cmdloggerExecute commands with real-time console output while logging all stdin, stdout, and stderr to a customizable log file for monitoring and debugging.
Install via ClawdBot CLI:
clawdbot install wangyendt/cmdloggerExecute a command and log all stdin, stdout, stderr to a file while forwarding I/O to console in real-time.
# Log command execution to default file (io_log.log in script directory)
cmdlogger <command> [args...]
# Specify custom log file path
cmdlogger --log-path <log_path> <command> [args...]
# Log CMake configuration
cmdlogger --log-path cmake_config.log cmake ..
# Log build process
cmdlogger --log-path build.log make -j$(nproc)
# Log Python script execution
cmdlogger --log-path script_run.log python3 my_script.py --arg1 value1
# Log shell script execution
cmdlogger --log-path deploy.log ./deploy.sh production
# Log GDB debug session
cmdlogger --log-path debug_session.log gdb ./my_program
# Log Python interactive session
cmdlogger --log-path python_debug.log python3 -i my_module.py
# Log curl request with verbose output
cmdlogger --log-path api_test.log curl -v https://api.example.com/data
# Log SSH connection process
cmdlogger --log-path ssh_session.log ssh user@remote-host
# Log git status
cmdlogger git status
# Log echo command
cmdlogger echo "Hello World"
| Argument | Description |
|----------|-------------|
| command | The command to execute |
| [args...] | Command arguments |
| --log-path | Optional log file path. Default: io_log.log in script directory |
Each line in the log file is prefixed with stream type:
输入: - Standard input输出: - Standard output错误: - Standard errorRunning cmdlogger echo "Hello World" produces:
输出: Hello World
Running cmdlogger python3 -c "import sys; print('stdout'); print('stderr', file=sys.stderr)" produces:
输出: stdout
错误: stderr
--log-path is not specified, log file is created in the script directory as io_log.log.AI Usage Analysis
Analysis is being generated… refresh in a few seconds.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.