omh-terminal
यह क्या करती है
यह स्किल तब सुरक्षा कदम जोड़ती है जब AI एजेंट टर्मिनल कमांड चलाता है। यह उन डेवलपर के लिए है जो अपने एजेंट को कमांड लाइन इस्तेमाल करने देते हैं।
कब इस्तेमाल करें
- ✓जब आपके एजेंट को किसी खास प्रोजेक्ट फ़ोल्डर में शेल कमांड चलाना हो।
- ✓जब कोई कमांड फ़ाइलें बदल सकती हो या बाहरी सिस्टम पर असर डाल सकती हो और उसकी पुष्टि चाहिए।
- ✓जब आप चाहें कि टेस्ट रन के नतीजे सिर्फ़ उतने ही दिखाए जाएँ जितना सच में चला।
Skill का लिंक
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-terminal/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“प्रोजेक्ट टर्मिनल में npm test चलाइए और आउटपुट का सारांश दीजिए, और कुछ भी जोखिम भरा चलने से पहले मुझसे पूछिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट वर्किंग फ़ोल्डर, एनवायरनमेंट और समय-सीमा तय करता है, फिर वापस न होने वाली कमांड की आपसे पुष्टि लेता है। वह नतीजे सिर्फ़ उसी से दिखाता है जो कमांड ने सच में लौटाया।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या यह सभी कमांड रोक देती है?
नहीं। सामान्य रीड-ओनली या टेस्ट कमांड सामान्य टर्मिनल टूल से चल सकती हैं।
क्या मैं एजेंट को कोई खास कमांड चलाने से रोक सकता हूँ?
स्किल एक प्रस्तावित ब्लॉक सूची सुझाती है, जिसे आप खुद लागू कर सकते हैं।
जोखिम भरी कमांड कौन मंज़ूर करता है?
आप। जोखिम भरी कमांड चलने से पहले स्किल चैट में आपकी पुष्टि माँगती है।
जानकारी
लेखक का मूल विवरण
[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
लोकप्रियता
- GitHub स्टार
- 5.1k
- रैंकिंग में स्थान
- #15172
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
omh-accessibility-audit
5.1kयह आपके एजेंट को किसी स्क्रीन या फ़्लो में एक्सेसिबिलिटी की कमियाँ जाँचने में मदद करती है, जैसे कीबोर्ड उपयोग, स्क्रीन रीडर लेबल, कंट्रास्ट और टच टारगेट का आकार।
omh-adversarial-consensus
5.1kयह आपके एजेंट को किसी तकनीकी प्रस्ताव पर प्रतिबद्ध होने से पहले उस पर कई स्वतंत्र नज़रियों से हमला करवाने देती है, फिर देखती है कि क्या बचता है।
omh-agent-debug
5.1kयह आपके एजेंट को पता लगाने में मदद करती है कि कोई दूसरा AI एजेंट क्यों अटका है, लूप में है या भटक रहा है, और सबसे छोटा सुरक्षित सुधार सुझाती है।
omh-agent-instructions
5.1kयह आपके एजेंट को वह निर्देश फ़ाइल लिखने या अपडेट करने में मदद करती है, जैसे AGENTS.md या CLAUDE.md, जो बताती है कि AI टूल किसी प्रोजेक्ट में कैसे काम करें।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।