
dirien/yet-another-agent-harness
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ClaudeコードのGoエージェントハーネス — ランタイムホック、MCPサーバー、セッショントラッキング、ミドルウェアチェーン、およびフルコンフィグ生成
概要
コーディングエージェントを一度設定し、どこでも使用できます。 コーディングエージェントの設定は混乱です。 設定は、JSON ファイルに住んでいる, スキルは、ディレクトリを渡ってスキャッターされたマークダウンです, ホックは、手で配線されたスクリプトシェルです, MCP サーバーは、マニュアル JSON エントリを必要とします. 使用するレポスやエージェントの数によってそれを多重化します。 あらゆるものを一貫して保つために幸運を。 yaah は単一の Go コードベースから構成を生成します。: Claude コード, OpenCode, Codex CLI, GitHub Copilot CLI. エージェント、すべてのリポジトリ、同じ結果ごとの1つのコマンド。 - 箱から5つのホック:ライニング(golangci-lint, ruff, prettier, tsc)、rm -rf /と友人をブロックするコマンドガード、漏れたキーのための秘密のスキャナー、TODOをキャッチコメントチェッカー:プレースホルダーを実装し、セッションロガー - ストップ/サブエージェントストップに関する実験的なツールを使用してファクトチェッカー(YAAH EXIPERCHECK ACT ACTFACT ACT ACTFACT を介してオプトイン) =1) - ミドルウェアチェーン(例:).
概要(AI 翻訳)
他のエージェントハーネス
コーディングエージェントを一度設定し、どこでも使用できます。
問題
コーディングエージェントの設定は混乱です。 設定は、JSON ファイルに住んでいる, スキルは、ディレクトリを渡ってスキャッターされたマークダウンです, ホックは、手で配線されたスクリプトシェルです, MCP サーバーは、マニュアル JSON エントリを必要とします. 使用するレポスやエージェントの数によってそれを多重化します。 あらゆるものを一貫して保つために幸運を。
ヤアは何をしますか?
yaah は、単一の Go コードベースから four コーディング エージェント のコンフィギュレーションを生成します: Claude コード, OpenCode, Codex CLI, GitHub Copilot CLI. エージェント、すべてのリポジトリ、同じ結果ごとの1つのコマンド。
その単一のコマンドはあなたに与えます:
- 箱から5つのホック:ライニング(golangci-lint, ruff, prettier, tsc)、ブロック[
rm -rf /]と友人、漏れたキーのための秘密のスキャナ、[TODO: implement]]]プレースホルダーをキャッチするコメントチェッカー、およびセッションロガー - + [[Stop/[[SubagentStop]の実験ツールを使用してファクトチェッカーを[YAAH_EXPERIMENTAL_FACT_CHECK=1]を介して[[SubagentStop]]]を[YAAH_EXPERIMENTAL_FACT_CHECK=1を介して]]]]をキャッチするコメントチェッカー - ミドルウェアチェーン(秘密スキャン+自動修正アドバイスなど)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
yaah
yet another agent harness
Configure your coding agent once, use it everywhere.
The problem
Coding agent configuration is a mess. Settings live in JSON files, skills are markdown scattered across directories, hooks are shell scripts wired by hand, MCP servers need manual JSON entries. Multiply that by the number of repos and agents you use. Good luck keeping any of it consistent.
What yaah does
yaah generates configuration for four coding agents from a single Go codebase: Claude Code, OpenCode, Codex CLI, and GitHub Copilot CLI. One command per agent, every repo, same result.
yaah generate # all agents
yaah generate --agent claude # Claude Code only
yaah generate --agent opencode # OpenCode only
yaah generate --agent codex # Codex CLI only
yaah generate --agent copilot # GitHub Copilot CLI only
That single command gives you:
- 5 hooks out of the box: linting (golangci-lint, ruff, prettier, tsc), a command guard that blocks
rm -rf /and friends, a secret scanner for leaked keys, a comment checker that catchesTODO: implementplaceholders, and a session logger — plus an experimental tool-using fact-checker onStop/SubagentStop(opt in viaYAAH_EXPERIMENTAL_FACT_CHECK=1) - Middleware chains for composing handlers (e.g. secret scan + auto-remediation advice)
- MCP servers for Context7 and Pulumi, plus a built-in yaah MCP server exposing tools like secret scanning, linting, and command checking directly to the agent
- Multi-agent config generation with per-agent adaptations (MCP format, hook delivery, agent tools, skill frontmatter)
- LSP support for Go, Python, TypeScript, and C# via the official marketplace
- Session tracking that logs every tool call, blocked command, and file modification across sessions
- 3 built-in skills (commit, PR, review) plus 74 remote and workflow skills covering Pulumi IaC, Flux CD GitOps, Go, Python, TypeScript, Kubernetes, DevOps, SRE, security auditing, code quality, tech debt analysis, and more
- 16 agents: 3 built-in (executor, librarian, reviewer) plus 4 workflow agents (researcher, planner, doc-writer, verifier) and 9 remote agents from agency-agents covering AI engineering, backend architecture, security, code review, DevOps, SRE, and testing
- Plugin support with marketplace auto-enablement — ships with OpenAI Codex for code review and task delegation
Don’t want all of it? Turn off what you don’t need:
opts := harness.DefaultOptions{
EnableCommandGuard: true,
EnableSecretScanner: true,
EnableGopls: true,
EnableCommitSkill: true,
EnableYaahMCP: true,
}
h := harness.NewWithDefaults(opts)
Install
Homebrew
brew install dirien/tap/yaah
Go
go install github.com/dirien/yet-another-agent-harness/cmd/yaah@latest
Binary
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →