omh-terminal
Ce qu’il fait
Cette skill ajoute des étapes de sécurité lorsqu'un agent IA lance des commandes de terminal. Elle s'adresse aux développeurs qui laissent leur agent utiliser la ligne de commande.
Quand l’utiliser
- ✓Quand votre agent doit lancer une commande shell dans un dossier de projet précis.
- ✓Quand une commande pourrait modifier des fichiers ou affecter des systèmes externes et doit être confirmée.
- ✓Quand vous voulez que les résultats d'un test ne soient rapportés qu'à partir de ce qui a réellement été exécuté.
Lien du skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-terminal/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Lance npm test dans le terminal du projet, résume la sortie, et demande-moi confirmation avant toute commande risquée.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent fixe le dossier de travail, l'environnement et le délai, puis demande confirmation pour les commandes irréversibles. Il ne rapporte les résultats qu'à partir de ce que la commande a réellement renvoyé.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Command Operator
This is an OMH command-operator workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
command-operator exists because a host's own approval gate flags only some commands and can approve one with nobody asked: it fixes the working directory, environment, timeout, and stop condition, confirms every irreversible or externally visible command in chat whether or not the host flags it, records the host's own approval answer beside that confirmation, and reports results only from what the run returned.
Do Not Use When
- An ordinary read-only or test command with a known working directory and nothing to gate; run it with the native terminal tool.
- The user pasted a failed command's output and asks for the cause; use
omh-build-failure-triage, oromh-agent-debugwhen the agent itself is stuck. - The user wants a command blocked for the agent from now on; use
omh-security-safety-review, which prepares a proposed deny-glob list for the user to apply.
Examples
Good example:
- Prompt: command-operator run npm test in the project terminal and summarize the output.
- Expected behavior: Produce
prepare_command_operator_cardwith required context, wrapper actions, and not-evidence boundaries. - Why: The prompt names a real workflow surface that Hermes can orchestrate without hiding execution.
Bad example:
- Prompt: command-operator run rm -rf without cwd, confirmation, or observation gates.
- Expected behavior: Report the missing observed evidence or authority instead of claiming the external step happened.
- Why: Prepared OMH guidance is not platform, runtime, connector, file, memory, or delivery evidence.
Completion Checklist
- Command text, working directory, environment assumptions, timeout, safety level, and stop condition are explicit.
- Destructive, credential, network, filesystem mutation, install, deploy, and production commands are confirmed in chat before the run, or marked missing and not run; a native approval note is recorded beside that confirmation, never in place of it.
- With nobody to answer the confirmation (a scheduled job, a one-shot run, a webhook run), an irreversible or externally visible action is not run: it is handed to a person's turn and its confirmation is recorded as missing.
- Exit codes, stdout/stderr, test results, package-manager effects, and filesystem mutations are reported only from observed command evidence.
Recovery Notes
- If command text or working directory is missing, ask for the smallest missing scope needed before preparing the command task.
- If the command is irreversible or externally visible, require an explicit confirmation gate in chat before the run, whether or not the host flags it: deleting or overwriting user data, discarding history or force-pushing, deleting a remote branch, dropping, deleting from, truncating, or flushing a database, a credentialed or networked mutation, device actuation, an install, a deploy, a production change, or an external send.
- On Hermes, record the terminal result's
approvalnote beside that confirmation as additional evidence, never in place of it: a note that the command "was approved by the user" is the person's answer to Hermes' own prompt for that command, while "auto-approved by smart approval" or no note at all is not a person's consent, and apending_approvalstatus means the command has not run and will not run on its own (Hermes stores it without running it, and/approveresumes only a run that is still waiting on an approval), so it is never re-run or reworded and goes to a person's turn. - On Hermes, a cron job, a one-shot
-qrun, or a webhook run denies a flagged command by default (approvals.cron_mode,approvals.single_query_mode,approvals.unattended_mode): record the block as the gate's outcome and hand the command to a person's turn, never rephrase it to get past the gate. Nobody can answer the chat confirmation in those runs either, so an irreversible or externally visible command that Hermes does not flag is not run: it is handed to a person's turn and its confirmation is recorded as missing. - If the user supplied failed command output and asks for root cause, route to build-failure-triage or agent-debug instead of preparing a fresh command.
When to Use
Use when Hermes should prepare or supervise terminal/CLI command execution without claiming the command ran or succeeded.
Strong
Questions fréquentes
Bloque-t-il toutes les commandes ?
Non. Les commandes ordinaires en lecture seule ou de test peuvent s'exécuter avec l'outil de terminal habituel.
Puis-je empêcher l'agent de lancer une certaine commande ?
La skill suggère une liste de blocage proposée que vous pouvez appliquer vous-même.
Qui approuve les commandes risquées ?
C'est vous. La skill demande une confirmation dans le chat avant d'exécuter une commande risquée.
Détails
Description originale de l’auteur
[omh] Shell command or test-suite execution: policy overlay for terminal commands - add cwd, environment, safety, and result-evidence gates after preferring native shell tools for ordinary CLI, package-manager, and test runs. Use when the user says: command-operator, command operator, terminal command, terminal task, shell command, shell task, cli command, command execution.
repo: rlaope/oh-my-hermes
Popularité
- Étoiles GitHub
- 5.1k
- Position au classement
- #15172
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
omh-accessibility-audit
5.1kAide votre agent à repérer les lacunes d'accessibilité d'un écran ou d'un parcours : clavier, lecteurs d'écran, contraste et taille des zones tactiles.
omh-adversarial-consensus
5.1kAide votre agent à attaquer une proposition technique sous plusieurs angles indépendants avant que vous ne vous engagiez, puis à résumer ce qui tient encore.
omh-agent-debug
5.1kAide votre agent à comprendre pourquoi un autre agent IA est bloqué, tourne en boucle ou dérive, et à suggérer la récupération la plus petite et la plus sûre.
omh-agent-instructions
5.1kAide votre agent à rédiger ou mettre à jour le fichier d'instructions, comme AGENTS.md ou CLAUDE.md, qui indique aux outils d'IA comment travailler dans un projet.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.