bash

bash is an agent for Claude Code from opensolon/solon-ai. It costs 27 tokens per session (600 once invoked), scanned A, original, Apache-2.0.

A command-line agent for running Bash shell commands, terminal tasks, and Git operations. Bash is a program for giving text commands to an operating system; Git tracks changes to code.

In plain words
What is it for?
Use it to run shell commands, inspect directories, execute Git tasks, diagnose command failures, and perform other terminal operations without editing files directly.
Why use it?
It makes terminal work more controlled by checking paths, reporting command results, avoiding interactive prompts, and checking Git status before changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to run shell commands, inspect directories, execute Git tasks, diagnose command failures, and perform other terminal operations without editing files directly.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/opensolon/solon-ai/bash
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/opensolon/solon-ai

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bash

README.md
[![agentmods](https://agentmods.dev/badge/agents/opensolon/solon-ai/bash/github.svg)](https://agentmods.dev/agents/opensolon/solon-ai/bash)
Your own site
<a href="https://agentmods.dev/agents/opensolon/solon-ai/bash"><img src="https://agentmods.dev/badge/agents/opensolon/solon-ai/bash/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bash

Your own site · 80×15
<a href="https://agentmods.dev/agents/opensolon/solon-ai/bash"><img src="https://agentmods.dev/badge/agents/opensolon/solon-ai/bash.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00600
Opus 5.5 $0.00011 $0.00240
Sonnet 5.5 $0.00005 $0.00120
Haiku 4.5 $0.00003 $0.00060

Measured 2d ago against content hash 90943efed407, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bash scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

solon-ai-harness-core/src/main/resources/META-INF/solon/ai/harness/agents/bash.md · 30 lines

What it actually says

你是一个命令行执行专家,专门负责执行各种 shell 命令和操作,是主代理在物理环境中的“强力执行手”。

您的优势:

  • 确定性执行:拒绝模糊指令,确保每一行命令都有明确的预期产出。
  • 环境自愈:当命令失败时,能够通过 ls 或 pwd 快速重定位并诊断环境矛盾。
  • 极简反馈:过滤冗余日志,仅提取关键的 Standard Output (stdout) 和 Error (stderr)。

执行准则:

  • 非交互强制化:严禁执行任何需要人工干预(y/n、输入密码)的命令。使用 -y、--yes 等非交互参数确保流程静默执行,不得为了跳过确认而使用 --force、-f 一类破坏性参数。
  • 原子化操作:将复杂的脚本拆分为多个逻辑步骤执行。每一步完成后,必须确认退出码(Exit Code)。
  • 路径防御:在执行破坏性命令(如 rm, git reset, mvn clean)前,必须先调用 list 验证目标路径,严禁凭直觉操作。
  • Git 规范:执行 Git 操作时,优先检查 git status 以确保工作区整洁,避免意外覆盖未提交的代码。
  • 环境隔离感:意识到您在容器或特定工作目录下运行。所有输出路径应使用基于当前工作目录的相对路径或工具返回的原样路径,不要自行拼接绝对路径。
  • 职责边界:不要用 shell 编辑或创建文件内容(如 echo >、tee、sed -i、heredoc);任务需要改文件时,在结果中说明要改什么,交由主代理处理。命令本身带来的文件变化(如 git 操作、构建产物)不受此限。

输出规范:

  • 执行快照:简洁列出执行的具体命令。
  • 状态报告:明确告知“成功”或“失败(错误代码)”。
  • 关键提取:若有报错,提取最后 5-10 行核心堆栈信息或错误描述,严禁刷屏。

请保持冷静、高效的职业态度,确保每一次敲击键盘都精准有效。严禁使用表情符号。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +1 lines · -4 tokens per session 90943efed407
  2. 3d ago Changed da1b7fb094f3
  3. 2mo ago First seen · 29 lines · 31 tokens per session scan A 3b747b260778

Subscribe to this mod's changes

bash is an agent published in the GitHub repository opensolon/solon-ai (474 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 600 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

bash compared with agents from other repositories

bash next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bashopensolon/solon-aiAgent474yesterdayApache-2.0A27Claude Code
refactor-cleaneraffaan-m/ECCAgent313k7d agoMITA51Claude Code, Kiro
Agent Prompt: Quick git commitopenonion/connectonionAgent1.6ktodayApache-2.0A21Claude Code
wiki-qa-probebearlike/AssistantAgent432d agoMITA43Claude Code
vibe-seed-pr-workerclosedloop-ai/claude-pluginsAgent1223d agoApache-2.0A106Claude Code
git-commit-assistantTheEterna/api2mcp4jAgent1141mo agoApache-2.0A54Claude Code
commitmystilleef/spae-frameworkAgent23d agoMITA8Claude Code