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.
npx agentmods add instructions/avibe-bot/avibe/agents-mdgit clone --depth 1 https://github.com/avibe-bot/avibeWrote 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.
[](https://agentmods.dev/instructions/avibe-bot/avibe/agents-md)<a href="https://agentmods.dev/instructions/avibe-bot/avibe/agents-md"><img src="https://agentmods.dev/badge/instructions/avibe-bot/avibe/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.04281 | $0.04281 |
| Opus 5 | $0.02141 | $0.02141 |
| Sonnet 5 | $0.00856 | $0.00856 |
| Haiku 4.5 | $0.00428 | $0.00428 |
Grade B, and why
avibe AGENTS.md scanned grade B with 1 finding 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 3d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- macOS/Lima: `INCUS_CMD="limactl shell avibe-incus-regression -- sudo incus" ./scripts/run_regression.sh` How it starts
The opening of the file, as written. The whole thing — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Guidelines for Avibe
This document is the operating manual for coding agents working in this repository.
1. Project Overview
Avibe is the local-first Agent OS: one install command turns a machine into the runtime an agent lives in, and the user operates that runtime through Web or IM surfaces such as Slack, Discord, Telegram, Feishu/Lark, and WeChat.
Current product shape:
- V2 config-driven service with a Web UI setup wizard and settings pages
- multi-platform message transport with shared core orchestration
- multi-backend agent routing across OpenCode, Claude Code, and Codex
- local Incus-based unified regression environment for real cross-platform verification
Default mindset:
- treat the system as multi-platform, multi-backend first
- prefer root-cause fixes over narrow patches
- preserve user-visible behavior unless the task explicitly changes product behavior
2. Design Philosophy and Architecture
Core Rule: Fix at the Highest Appropriate Layer
- If a bug appears on one platform, check whether the same logic exists for the others before patching a platform adapter.
- If a behavior should be shared by multiple backends, prefer the shared core or backend abstraction over a single backend implementation.
- Keep transport/platform details out of core business logic whenever possible.
Decision checklist before writing code:
- Scope: is this platform-specific/backend-specific, or common?
- Abstraction: can the shared base or core layer own this behavior?
- Call path: is the code called from controller/handlers/common flow?
- Future-proofing: would a new platform/backend inherit the correct behavior automatically?
Codebase Map
main.py- entry point wiringconfig.V2Configintocore/controller.pycore/controller.py- orchestration and dependency wiringvibe/ui_server.pyandvibe/api.pyrun in a separate process from the controller and reach controller-owned state over the internal socket;vibe/api.pybuilds its ownAgentAuthService. In-memory registries therefore cannot span IM and Web surfaces: cross-surface exclusion needs an explicit IPC hop or a documented per-instance scope. See PR #1417's Known-by-design ledger.core/handlers/- platform/backend-agnostic business workflowscore/message_dispatcher.py- outbound message routing and reply enhancement flowcore/reply_enhancer.py- file-link and quick-reply prompt injection helpersmodules/im/- IM platform adapters (slack.py,discord.py,telegram.py,feishu.py,wechat.py) plus shared base classesmodules/agents/- agent backend adapters (opencode/,codex/, Claude-related modules) plus shared abstractionsmodules/im/formatters/- platform-specific formatting built on shared formatter conceptsconfig/- V2 config, settings, sessions, paths, and compatibility conversionui/- React + Vite + TypeScript Web UIscripts/- operational helpers, including regression testing workflowstests/- pytest-style unit/integration/regression coverage
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.
- 3d ago First seen · 321 lines · 4,281 tokens per session scan B f443ca199fae
avibe AGENTS.md is an instructions file published in the GitHub repository avibe-bot/avibe (495 stars, last pushed 3d ago), licensed MIT. It adds 4,281 tokens to every session, about $0.0214 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
Vibelution AGENTS.md
Instructions for CCDawn/Vibelution, covering vibelution agent rules, 1. identity and priority, 2. global red lines, 3. start and routing and 3.0 每任务先 router.
cradle-app AGENTS.md
AGENTS.md instructions for wibus-wee/cradle-app, covering agents, principles, ownership & namespace, architecture first and code quality.
cradle-app CLAUDE.md
Claude Code instructions for wibus-wee/cradle-app, a project described as: 🔧 One layer above your AI tools. Your AI coding tools are brilliant. Managing them is a mess. :electron: Cradle is the command center that coordinates all of them.
pattern8 AGENTS.md
Instructions for Aquifer-sea/pattern8, covering agents.md — p8 global instructions (all agents must follow), pattern 8 (p8) — agent behavior constraints, core constraints, five patterns (cannot be skipped) and 1. pipeline.
mish CLAUDE.md
Instructions for aetherwing-io/mish, covering mish, status, naming, docs and three modes, one binary.
mish AGENTS.md
Instructions for aetherwing-io/mish, covering agent instructions, quick reference and landing the plane (session completion).