llm-cost-simulator SKILL.md skillA
This file is byte-identical to the first copy the registry indexed, one of 3 indexed copies. Same content hash, so the same checks give both the same grade.
llm-cost-simulator from daishiman/harness-dev is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add daishiman/harness-dev/llm-cost-simulator@git:20261002.c0e127dPins git:20261002.c0e127d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- daishiman/harness-dev
- Path
aidd-agent-kit/skills/llm-cost-simulator/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261002.c0e127d, committed Oct 2, 2026
- Size
- 8,997 bytes
- Repository stars
- 10
- License
- none declared
任意のアプリのコードベースを解析して LLM API 呼び出し箇所を洗い出し、「1 回の処理(フロー)で どれだけのトークン/費用がかかるか」「N 件・DAU 規模でいくらか」を根拠付きで試算するスキル。 プロンプト/ツール定義/RAG/エージェントループ/キャッシュ/思考トークンまで合算し、無料 or 確認付き 有料の実測でグラウンディングする。成果物は Markdown レポート + 対話 HTML 計算機 + コスト JSON。 「このアプリの API コストはいくら」「モデル別/件数別の費用」「LLM の ROI 試算」「トークン数を数えて」 「1リクエストいくら」等で起動。既定スタックの必須スキルではない optional 群であり、AI 機能を含む要件で明示された場合、 または app-orchestrator が v1 前・AI 機能変更時の試算として指示した場合のみロードする。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# LLM Cost Simulator LLM を呼ぶアプリの **1 フローあたりのトークン数と費用を、根拠を持って算出する** ための ワークフローとツール群。「なんとなく高そう」を「この処理は $X、月 N 件で $Y、Haiku なら 1/30」 に変える。 ## いつ使うか - アプリのコードを見て「この 1 回の処理でいくらかかるか」を知りたい - モデル/プロバイダ別、件数別、DAU 別のコストを比較・投影したい - 本番運用の ROI / 採算ラインを根拠付きで説明したい - 単に「この処理に何トークンかかるか」を実測したい ## 中核の考え方 — グラウンディング・ラダー 数値には必ず **確度ラベル** を付ける。安いものから順に積み上げる: | Tier | 内容 | コスト | 使う場面 | |------|------|--------|---------| | **T0** | 静的推定。コードを読みテンプレ長をトークナイザで数え、可変部は仮定 | 無料 | 最初の概算 | | **T1** | 無料の正確入力カウント。Claude=`count_tokens`(無料エンドポイント) / OpenAI=tiktoken(ローカル) | 無料 | 入力トークンを確定 | | **T2** | **Claude Code/サブスク枠で代表処理を 1 回実行**し `usage` から出力を実測。非 Claude なら proxy で出力長サンプル | サブスク内/極小 | 出力トークンを実測 | | **T3** | 実プロバイダで ground-truth | **実費発生** | 最終確認・厳密化 | **お金が発生する操作(T3, および API キー従量課金の実 API 呼び出し)は、必ず事前にユーザーへ 見積もりを提示し承諾を得てから実行する。** 既定は T0→T1→T2 の無料経路。 ## ワークフロー ### 1. Discover — LLM 呼び出し箇所を全部洗い出す コード全体を grep して呼び出し点・モデル・設定を特定する: ```bash # プロバイダ SDK / エンドポイント / モデル名 / 主要パラメータ rg -n -i \ -e 'anthropic|@anthropic-ai|messages\.create|messages\.stream|count_tokens|claude-[0-9]' \ -e 'openai|OpenAI\(|chat\.completions|responses\.create|\bgpt-[0-9]|\bo[1-4]\b' \ …
Read the whole file at its exact version.
How to install
mdr add daishiman/harness-dev/llm-cost-simulator@sha256:c9fc2080b424d959The line at the top of this page pins the label git:20261002.c0e127d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zi4z57nhyddw6awn)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 2, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8997 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
daishiman/harness-dev · 10 stars · license none declared · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zi4z57nhyddw6awn GET https://markdownregistry.com/api/v1/resolve?ref=daishiman/harness-dev/llm-cost-simulator GET https://markdownregistry.com/api/v1/blob/c9fc2080b424d959468016bdf4af839afd401333fce7b271f85c142ca672e68f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from daishiman/harness-dev
Every file in daishiman/harness-dev