Borrowing it
Nothing to install: this file belongs to mimonelu/klearsky. 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/mimonelu/klearsky/staging/AGENTS.mdgit clone --depth 1 https://github.com/mimonelu/klearskyWrote 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/mimonelu/klearsky/agents-md)<a href="https://agentmods.dev/instructions/mimonelu/klearsky/agents-md"><img src="https://agentmods.dev/badge/instructions/mimonelu/klearsky/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/mimonelu/klearsky/agents-md"><img src="https://agentmods.dev/badge/instructions/mimonelu/klearsky/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.01890 | $0.01890 |
| Opus 5.5 | $0.00756 | $0.00756 |
| Sonnet 5.5 | $0.00378 | $0.00378 |
| Haiku 4.5 | $0.00189 | $0.00189 |
Grade A, and why
klearsky 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 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
リポジトリルートに @AGENTS.local.md が存在する場合、作業開始前に読むこと。 開発環境や個人の作業方法に応じた指示を追加できる。
Klearsky は AT Protocol(Bluesky)向けの Web クライアント(Vue 3 + TypeScript + Vite の SPA)。
対外向けの説明は README.md / README_JA.md を参照。
コマンド
| コマンド | 用途 |
|---|---|
npm run dev |
開発サーバー(http://localhost:5173/) |
npm run type-check |
型チェック(vue-tsc --noEmit)。変更後は必ず実行 |
npm run build |
型チェック+本番ビルド(出力先は docs/) |
npm run lint |
ESLint(--fix 付きでファイルを書き換える点に注意) |
- Node.js v22.16.0
- 自動テストはない。検証は型チェックと実機確認で行う
ブランチ・コミット
- PR のベースブランチは
staging。mainへの push で GitHub Pages にデプロイされる - リリース作業は
release/vX.Y.Z、緊急修正はhotfix/vX.Y.Zブランチ - コミットメッセージは日本語 1 行。
Co-Authored-Byは付けない - イシュー対応は番号を先頭に付ける(例:
#52 動画再生開始時に最高画質を選択するよう変更)
ディレクトリ
| パス | 内容 |
|---|---|
src/composables/atp-wrapper/ |
AT Protocol API ラッパー。create/ delete/ fetch/ update/ chat/ session/ に 1 関数 1 ファイルで配置し、index.ts でクラスに束ねる |
src/composables/main-state.ts |
グローバル状態 state(reactive)。コンポーネントからは inject("state") で取得 |
src/composables/main-state/ |
状態のサブマネージャー(MySession, MyChat, MyFeeds 等のクラス) |
src/composables/main-view/ |
MainView.vue のロジック(認証・起動・ナビゲーション等) |
src/composables/util/ |
汎用ユーティリティ。Util として集約 |
src/components/ |
UI コンポーネント。新規機能は components/next/<機能名>/ に置く |
src/views/ |
ページ(ルーティングは src/router/index.ts、hash history) |
src/@types/ |
アンビエント型定義(import 不要のグローバル型) |
src/translations/ |
i18n(ja, en, fr, ko, de) |
src/consts/ |
定数・設定値の JSON |
src/worker/ |
SharedWorker(タブ間セッション同期) |
dev-docs/ |
開発ドキュメント(下記索引) |
docs/ |
ビルド出力先(gitignore 対象)。ドキュメントを置かないこと |
コーディング規約
- 既存コードのスタイルに合わせる: インデント 2 スペース、ダブルクォート、セミコロンなし、関数名と
(の間にスペース(function foo ()) - Vue は
<script lang="ts" setup>。$tとstateはinjectで取得する - グローバル型は
src/@types/に置き、型名にTT/TIプレフィックスを付ける .d.tsでは top-levelimportを使わず、import("@atproto/api").Fooのようにインラインで参照する(top-level import はファイルをモジュール化してグローバル型が壊れる)。パッケージのexportsにないサブパス(@atproto/api/dist/...等)はエラーにならずanyに化けるので使わない- atp-wrapper の関数は第 1 引数に
this: TIAtpWrapperを取る。エラーは throw せずErrorを返す main-state.tsには状態の定義と初期化以外を書かない。ロジックはmain-state/やutil/に切り出す- 文言を追加するときは全言語の翻訳ファイルにキーを追加する。訳文は短く("This is" 等の冗長表現を避ける)
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.
- 2d ago Changed · +1 lines · +64 tokens per session 2c715c053eb3
- 6d ago Changed · +2 lines · +105 tokens per session b2df4baef86e
- 7d ago Changed · +3 lines · +40 tokens per session 8311b39098a8
- 10d ago Changed · +1 lines · +105 tokens per session ae889f8e70ea
- 12d ago Changed · +2 lines · +90 tokens per session c3fb5070c91c
- 13d ago Changed · +1 lines · +73 tokens per session 5cb1602bd55d
- 14d ago First seen · 69 lines · 1,413 tokens per session scan A 3d08a494860e
klearsky AGENTS.md is an instructions file published in the GitHub repository mimonelu/klearsky (110 stars, last pushed 3d ago), licensed BSD-3-Clause. It adds 1,890 tokens to every session, about $0.0076 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-10-24.
klearsky AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| klearsky AGENTS.mdmimonelu/klearsky | Instructions file | 110 | 3d ago | BSD-3-Clause | A | 1,890 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |