anywhere-agents

One config to rule all your AI agents: portable (every project, every session), effective (curated writing, routing, skills), and safer (destructive-command gua

What is anywhere-agents?

One config to rule all your AI agents: portable (every project, every session), effective (curated writing, routing, skills), and safer (destructive-command guard).

Overview of anywhere-agents

What it is

anywhere-agents is a tool that provides a single configuration file, AGENTS.md, to manage AI agents across different projects, sessions, and machines. It is designed to work with multiple agents such as Claude Code, Codex, and Cursor. The project is maintained by Yue Zhao, a USC CS faculty member and author of PyOD. It is a sanitized public release of a configuration used daily since early 2026 for research, paper writing, and development work on macOS, Windows, and Linux.

Key features

  • One AGENTS.md file drives multiple agents (Claude Code, Codex, Cursor) across any repository and machine.
  • Uses “packs” — small bundles of rules, skills, or permissions — that can be added as needed via a CLI (pack add, pack remove, pack list).
  • Ships default packs including agent-style (writing rules banning ~45 AI-tell words) and aa-core-skills (six skills: ci-mockup-figure, editable-figure, implement-review, my-router, prun, readme-polish).
  • Includes a review loop skill /implement-review (alias /vet) that hands staged diffs to a second reviewer from another model family.
  • Provides a status banner showing Claude, Codex, and Agy quota at the bottom of the terminal after bootstrap.
  • Supports private repositories with automatic authentication chain: SSH agent → gh CLI → GITHUB_TOKEN → anonymous.

Use cases

Managing AI agent configurations across multiple projects and machines without manual copy-paste. Enforcing consistent writing conventions across repositories. Setting up a review workflow before pushing changes. Bootstrapping new projects with shared defaults and project-local overrides.

Getting started

bashanywhere-agents pack add https://github.com/yzhao062/agent-pack --ref v0.1.0After bootstrap, the tool installs guard.py and session_bootstrap.py into ~/.claude/hooks/, and installs statusline.py and agent-quota.py under ~/.claude/. Re-running anywhere-agents keeps files in sync with upstream.

License and pricing

Licensed under Apache-2.0. The project is open source with no stated pricing.

這是什麼

anywhere-agents 是一個工具,提供單一設定檔 AGENTS.md 來管理跨不同專案、工作階段與機器的 AI 代理程式。它設計用於多種代理程式,例如 Claude Code、Codex 和 Cursor。該專案由 Yue Zhao 維護,他是南加州大學(USC)計算機科學系教授,也是 PyOD 的作者。這是自 2026 年初以來每天用於研究、論文寫作和開發工作(在 macOS、Windows 和 Linux 上)的設定檔的公開版本。

主要功能

  • 單一 AGENTS.md 檔案驅動多個代理程式(Claude Code、Codex、Cursor),適用於任何儲存庫和機器。
  • 使用「packs」——小型規則、技能或權限套件——可透過 CLI(pack add、pack remove、pack list)按需新增。
  • 內建預設套件,包括 agent-style(寫作規則,禁止約 45 個 AI 常用詞)和 aa-core-skills(六項技能:ci-mockup-figure、editable-figure、implement-review、my-router、prun、readme-polish)。
  • 包含審查循環技能 /implement-review(別名 /vet),可將暫存差異交給來自不同模型系列的第二位審查者。
  • 在終端機底部顯示 Claude、Codex 和 Agy 配額的狀態橫幅(在 bootstrap 之後)。
  • 支援私有儲存庫,具有自動驗證鏈:SSH agent → gh CLI → GITHUB_TOKEN → 匿名。

使用情境

管理跨多個專案和機器的 AI 代理程式設定,無需手動複製貼上。在儲存庫之間強制執行一致的寫作慣例。在推送變更前設定審查工作流程。使用共享預設值和專案本地覆蓋來引導新專案。

快速開始

bashanywhere-agents pack add https://github.com/yzhao062/agent-pack --ref v0.1.0在 bootstrap 之後,該工具會將 guard.py 和 session_bootstrap.py 安裝到 ~/.claude/hooks/,並將 statusline.py 和 agent-quota.py 安裝到 ~/.claude/ 下。重新執行 anywhere-agents 可使檔案與上游保持同步。

授權與價格

採用 Apache-2.0 授權。該專案為開源,未說明價格。

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/yzhao062anywhere-agents.svg)](https://yunodb.com/tools/yzhao062anywhere-agents?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/yzhao062anywhere-agents?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/yzhao062anywhere-agents.svg" alt="Featured on YunoDB" height="20"></a>