AGENT SKILL

term

Fast, explicit terminal execution via OpenClaw exec (direct dispatch; you type the exact command).

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
term
metadata
{ "openclaw": { "os": [ "darwin", "linux", "win32" ], "emoji": "🧰" } }
description
Fast, explicit terminal execution via OpenClaw exec (direct dispatch; you type the exact command).
command-tool
exec
user-invocable
true
command-arg-mode
raw
command-dispatch
tool
disable-model-invocation
true

03 SKILL.md 正文

/term — direct terminal execution (exec dispatch)

/term is a power-user shortcut: whatever you type after /term is forwarded as-is to OpenClaw’s exec tool.

This is intentionally “manual mode”:

  • You (the user) provide the exact shell command.
  • OpenClaw does not rewrite, expand, or “helpfully” change it.
  • It’s useful when you want quick, deterministic terminal actions without a planning loop.

How dispatch works (important)

OpenClaw supports command-dispatch: tool skills. When you run:

  • /term ls -la

the raw argument string (ls -la) is forwarded to the configured tool (exec) without extra parsing. In tool-dispatch mode, OpenClaw invokes the tool with params shaped like:

{ command: "<raw args>", commandName: "<slash command>", skillName: "<skill name>" }

See the Skills docs section on command-dispatch, command-tool, and command-arg-mode. :contentReference[oaicite:10]{index=10}

When to use /term vs normal “agent runs”

Use /term when:

  • You already know the exact command you want.
  • You want a quick read-only check (files, git status, grep).
  • You are debugging OpenClaw itself (skills folder, logs, Peekaboo bridge status).

Prefer normal agent flow when:

  • You want the model to decide the best approach.
  • The task may need multiple steps, safety checks, or file edits.

Safety model (read this once, then follow it)

/term is equivalent to letting an assistant type into your terminal. Good defaults:

  1. Prefer read-only commands unless you mean to change state.
  2. Avoid secrets in command lines (tokens, API keys, cookies).
  3. Avoid remote execution one-liners:
    • no curl ... | sh
    • no “download and execute” pipelines
  4. If the command could delete or overwrite files, slow down and double-check paths.

Host + sandbox notes

Your actual execution environment depends on how you invoke exec in your setup (sandbox vs host). Also note: when a session is sandboxed, environment variables are not automatically inherited by the container; you must inject them via sandbox env settings or bake them into the image. :contentReference[oaicite:11]{index=11}

Practical examples

Quick inspection (safe, read-only)

  • /term pwd
  • /term ls -la
  • /term git status
  • /term rg -n "TODO|FIXME" .

Debug Peekaboo bridge discovery (macOS)

  • /term peekaboo bridge status --verbose

If the output shows “no such file or directory” for all candidates and “Selected: local (in-process)”, you likely have no bridge host running (see troubleshooting below).

One-liners for structured output

If you want JSON output for parsing:

  • /term python -c 'import json,platform; print(json.dumps({"py":platform.python_version()}))'

Troubleshooting

“command not found”

The tool runs in whatever PATH your OpenClaw runtime provides. If you rely on Homebrew, ensure the runtime sees /opt/homebrew/bin.

“permission denied” / macOS privacy prompts

Some tools (screen capture / UI automation) require Screen Recording / Accessibility. Those permissions are per-process context on macOS; using PeekabooBridge is often the reliable path for automation.

I need richer guidance and guardrails

Install/use the companion skill terminal-helper (model-invocable) which teaches safe patterns, confirmations, and runbooks.

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0