| name | navig |
| description | Core NAVIG CLI wrapper for host management, file operations, and remote execution. |
| metadata | {"navig":{"emoji":"🚀","requires":{"bins":["navig","python"]}}} |
NAVIG Core Skill
This skill provides the fundamental interface to the NAVIG system, allowing agents to manage remote hosts, transfer files, and execute commands.
Host Management
List & Select Hosts
navig host list
navig host use <hostname>
navig host show
navig host test
Monitoring & Security
navig host monitor show
navig host security show
Remote Execution
Run Commands
navig run "df -h"
$cmd = "docker ps | grep my-container"
$b64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($cmd))
navig run --b64 $b64
Run Scripts
navig run @myscript.sh
File Operations
Transfer Files
navig file add ./local-config.yml /etc/myapp/config.yml
navig file get /var/log/syslog ./logs/syslog.txt
View & Edit
navig file show /var/log/nginx/error.log --tail --lines 50
navig file list /var/www/html
navig file edit /etc/hosts --content "127.0.0.1 localhost"
Database Operations (Basic)
For advanced DB ops, use the postgres or mysql specific skills, but navig db is the primitive.
navig db list
navig db query "SELECT count(*) FROM users" -d myapp_db --plain
Best Practices
- Always set context: Run
navig host use before any operation sequence.
- Limit Output: Use
--tail, --lines, or grep to avoid overwhelming the context window.
- Check First: Use
navig host test if a command fails to distinguish network issues from config errors.