Borrowing it
Nothing to install: this file belongs to kitepon/aishell. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kitepon/aishell/main/AGENTS.mdgit clone --depth 1 https://github.com/kitepon/aishellWrote 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/kitepon/aishell/agents-md)<a href="https://agentmods.dev/instructions/kitepon/aishell/agents-md"><img src="https://agentmods.dev/badge/instructions/kitepon/aishell/agents-md/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.
<a href="https://agentmods.dev/instructions/kitepon/aishell/agents-md"><img src="https://agentmods.dev/badge/instructions/kitepon/aishell/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01919 | $0.01919 |
| Opus 5.5 | $0.00768 | $0.00768 |
| Sonnet 5.5 | $0.00384 | $0.00384 |
| Haiku 4.5 | $0.00192 | $0.00192 |
Grade A, and why
aishell AGENTS.md 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AIShell project instructions
製品目的
AIShellのnorth starは、macOSの生きた状態を直接所有し、その状態からAI開発に必要な最小情報と操作を生成して、成功課題あたりの総model tokenと所要時間を減らすこと。
優先順位:
- correctness / task success
- total model tokens per solved task
- wall time / model・tool往復
- compatibility
Direct OSは交換可能なbackendではなく、効率化を生む設計上の根である。AIShellがfile identity、OS変更の観測・照合state、process lifecycle、worktree、artifactをモデルより下で所有する。TrashとSHA競合検出を維持するが、現在の最適化対象ではない。
操作対象フォルダの事前登録や許可一覧は持たない。絶対パスはその対象、相対パスと省略時はMCP起動ディレクトリを基準にする。
新機能は、OS状態を直接観測・保持して再scan、再読、再実行、model往復を減らせる場合だけ採用する。OS状態と無関係な便利toolや薄いwrapperを詰め込まない。
必要時の参照先
- 完了した能力拡張campaignの経緯が必要な時だけ
docs/archive/development-efficiency-plan.mdを読む。現行の製品目的と設計境界は本ファイルを正とする。 - 外部調査の前だけ
rag/INDEX.mdを検索する。 - 公開挙動、配布、利用手順を変える時だけ
README.mdを読む。 - 文書の所有と寿命を判断する時だけ
docs/README.mdを読む。 - legacy挙動の由来が必要な時だけ
docs/archive/direct-os-spike.mdを読む。今後のGUIロードマップには使わない。
削減率は、隔離された同一model snapshot、reasoning、fixture、prompt、sandboxでbaselineと比較できる場合だけ主張する。主KPIは失敗試行のtokenも含むtokens per solved task。wire bytesやtokenizer概算をprovider報告tokenと混ぜない。
操作機能と認証・UI
OS操作のツールと挙動を維持する。認証や管理UIの廃止を理由に、検索・一括読取り・変更待機・実行監視・影響解析・複数ファイル編集・artifact読取りを削らない。
管理UIと停止設定、Keychainアクセスは廃止した。runtime_open_managerは互換名だけを残し、廃止済みの明示エラーを返す。
編集状態は平文で保存し、新しい暗号鍵と所有者証明は作らない。旧暗号化記録の読取りと更新契約はdocs/setup.mdを参照する。使用ログは従来のactivity.jsonlへ保存する。
アーキテクチャ境界
- AIShellは単独でinstall、config、state/schema、migration、diagnostics、recovery、 update、releaseできる契約を本repo内に持つ。dotagentsは製品横断wireと互換projectionを 統合するだけで、AIShellの内部状態や運用判断を制御しない。
- 製品単体の準備・AI登録・読戻し・MCP実操作は
aishell-setupが所有する。Mac/AI別の差はscripts/setup/へ置き、管理UIとKeychain認証は持たない。npm install lifecycleでは起動しない。公開契約はdocs/setup.mdを正とする。 - AI hostがreasoning、thread、compaction、sub-agent、汎用PTYを所有する。AIShellで再実装しない。
- AIShellはfile identity、FSEvents観測とfilesystem照合によるdelta、直接起動したprocess、完全log/artifact、freshnessを所有する。FSEvents単独を完全な履歴とは見なさない。
- Git、
rg、compiler、test runner、SourceKit-LSPはAIShellが直接起動・監視するworkerとして再利用する。状態の所有者や公開toolの寄せ集めにはしない。 - shell文字列を評価せず、executable URL、引数、working directoryを分離したままprocessを起動する。shell群、
env、osascriptのbasename拒否は汎用shell wrapperへ退行させない製品上の設計レールであり、security boundaryではない。許可workerの子processや改名binaryまで阻止するものとして扱わない。 AIShellCoreへdomain機能、AIShellMCPへprotocol変換を置く。MCP handlerへ開発ロジックを埋め込まない。- 既存20 primitiveは互換経路・下位実装としてfull profileに残す。baseline fullは高密度5+control 2+legacy 18の25 tool、
expanded-v1fullは高密度9+control 2+legacy 18の29 toolである。
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.
- 1mo ago Changed · +10 lines · +278 tokens per session efc6ba8021b8
- 2mo ago Changed · +1 lines · +88 tokens per session 1b49e9d85a63
- 2mo ago Changed · +2 lines · +38 tokens per session 4aeb10b05255
- 2mo ago First seen · 77 lines · 1,515 tokens per session scan A 2d8393a9f90b
aishell AGENTS.md is an instructions file published in the GitHub repository kitepon/aishell (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,919 tokens to every session, about $0.0077 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-08-31.
aishell AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aishell AGENTS.mdkitepon/aishell | Instructions file | 0 | 1mo ago | Apache-2.0 | A | 1,919 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |