بنقرة واحدة
cli-pipeline
Execute shell commands and pipe output to files for logging and further processing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Execute shell commands and pipe output to files for logging and further processing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Core discovery skill - find any capability with a single keyword
Make HTTP requests to REST APIs using curl-like methods (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
Explore project structure and locate files using glob patterns and directory listing
Transcribir reuniones en tiempo real y generar informes gerenciales con decisiones, action items y próximos pasos
Execute shell commands safely with error handling, timeouts, and output validation
Complete management of cron jobs with cron expressions. Create, list, update, pause, resume, delete, trigger, and view history. Use for reminders, automated reports, periodic checks.
| name | cli_pipeline |
| description | Execute shell commands and pipe output to files for logging and further processing |
| version | 1.0.0 |
| author | Hive Team |
| icon | 🔗 |
| category | cli |
| permissions | ["shell_exec","filesystem_write"] |
| dependencies | [] |
| tools | ["exec","terminal","project_write"] |
| triggers | ["guardá el output","save output","pipeline","pipe to file","redireccioná el output","redirect output","log del comando","command log","ejecutá y guardá","run and save","resultado en archivo","result to file"] |
| preferred_agents | [] |
| steps | [{"step":1,"action":"validate_command","instruction":"Validate command is safe and appropriate for pipeline execution","output":"validated_command"},{"step":2,"action":"exec or terminal","instruction":"Execute command and capture full output (stdout + stderr)","params":{"command":"validated command","timeout":"appropriate timeout"},"output":"command_output"},{"step":3,"action":"format_output","instruction":"Format output for file storage: add timestamp, command, execution time","output":"formatted_output"},{"step":4,"action":"project_write","instruction":"Write output to specified file path","params":{"path":"logs/command_YYYY-MM-DD_HH-MM-SS.log","content":"formatted output"},"output":"file_written"}] |
| rules | ["Capture both stdout and stderr for complete logging","Add metadata: timestamp, command, execution time, exitCode","Use descriptive filenames with timestamps for logs","For large outputs, write incrementally or split files","Confirm file path before writing"] |
| output_format | {"structure":"markdown","sections":["command","timestamp","exit_code","execution_time","output_file"],"max_length":"Full logged output"} |
| examples | [{"user_input":"ejecutá npm install y guardá el output en logs/install.log","expected_behavior":"exec({ command: 'npm install' }) → format with metadata → project_write({ path: 'logs/install.log' })"},{"user_input":"corré los tests y guardá el resultado","expected_behavior":"terminal({ command: 'npm test' }) → capture full output → write to timestamped log file"},{"user_input":"hacé un pipeline de git log a archivo","expected_behavior":"exec({ command: 'git log --oneline' }) → write to 'logs/git_log_YYYY-MM-DD.md'"}] |
Para ejecutar comandos y guardar el output en archivos para logging o procesamiento posterior.
| Tool | Qué hace | Cuándo usarla |
|---|---|---|
exec | Ejecuta comando | Comandos simples |
terminal | Ejecuta con entorno | Comandos complejos |
project_write | Escribe archivo | Guardar output |
project_write({ path, content })# Command Log
**Command**: npm install
**Timestamp**: 2025-03-09 14:30:00
**Exit Code**: 0
**Execution Time**: 45.2s
---
## Output
[stdout content...]
[stderr if any...]