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/elefant-coder/skill-hub/claude-mdgit clone --depth 1 https://github.com/elefant-coder/skill-hubWhat 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.01156 | $0.01156 |
| Opus 5 | $0.00578 | $0.00578 |
| Sonnet 5 | $0.00231 | $0.00231 |
| Haiku 4.5 | $0.00116 | $0.00116 |
Grade A, and why
skill-hub CLAUDE.md scanned grade A 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://<deployされたURL>/api/health How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — Skill Hub セットアップ手順(Claude Code向け)
このリポジトリを渡されたら、以下の手順で自走してセットアップしてください。各ステップは冪等なので、途中で失敗しても最初からやり直して問題ありません。
前提確認
- Node.js 20以上が入っているか確認する(
node --version)。無ければ利用者に案内する。 - このリポジトリの直下で作業する。
手順
-
依存関係をインストールする。
npm ci -
Cloudflareへのログインを確認する。これは唯一の手作業(ブラウザでの認証)なので、必ず利用者に実行してもらう。
npx wrangler whoami失敗したら、利用者に次を実行してもらってから再開する:
npx wrangler login利用者が複数のCloudflareアカウントを持っている場合は、対象アカウントIDを聞いて
CLOUDFLARE_ACCOUNT_ID環境変数に設定してから進める。 -
利用者に管理者の表示名(例: 「田中(情シス)」)を確認してから、セットアップスクリプトを実行する。
node scripts/setup.mjs --seed --admin-name "<確認した表示名>"これが以下を自動で行う(すべて冪等・状態確認型):
- D1データベース
skill-hub-dbの作成/確認、wrangler.jsoncのdatabase_id書き換え - マイグレーション適用(未適用分のみ)
wrangler deployによるデプロイ- 有効なadminトークンが0件の場合のみ、初期adminトークンを発行して1回だけ表示
skills-samples/の3本のサンプルスキルを投入
※
--admin-nameを省略すると対話環境では質問され、非対話環境では「管理者」になる。 - D1データベース
-
出力されたURLと初期adminトークンを利用者にそのまま伝える。adminトークンは二度と表示されないので、チャット上に貼るだけでなく「必ずご自身でも控えてください」と一言添える。
-
動作確認として、次を実行して200が返ることを確認する。
curl -s https://<deployされたURL>/api/health -
利用者に次のアクションを提示する:
- 管理画面(
https://<URL>/app)にadminトークンでログインし、自社のスキルを登録する - メンバーを招待リンク(管理画面 > トークン・招待)で招待する
- 招待されたメンバーは
/join?code=...を開き「トークンを発行する」ボタンを押して、表示されたclaude mcp add ...コマンドを自分のClaude Codeに貼る
- 管理画面(
トラブルシュート
wrangler d1 list --jsonが空を返す/権限エラー: Cloudflareアカウントの権限(D1編集権限)を確認する。- deployが失敗する:
npx wrangler deployを単体実行してエラーメッセージをそのまま利用者に見せる。Workers Paidプランへの加入が必要なケースがある。 - 初期adminトークンを紛失した:
wrangler d1 execute skill-hub-db --remote --command "SELECT id,name,revoked_at,expires_at FROM tokens WHERE role='admin'"で既存adminの状態を確認する。全て失効/期限切れならscripts/setup.mjsを再実行すると新しいadminが自動発行される(bootstrapは「有効なadminが0件の時だけ」動く設計)。
開発者向け(コード変更時)
- 型チェック:
npm run typecheck(tsc --noEmit。0エラーが必須) - ローカルsmoke(出荷ゲート):
npm run smoke(scripts/smoke.mjs。wrangler devを自前起動し12項目すべてPASSでexit 0) - ローカル動作確認:
npm run dev(wrangler dev) - サンプル投入(ローカル):
node scripts/seed.mjs --local --base-url http://localhost:8787 --token <editor以上のトークン>
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 First seen · 74 lines · 1,156 tokens per session scan A db3b437904f5
skill-hub CLAUDE.md is an instructions file published in the GitHub repository elefant-coder/skill-hub (0 stars, last pushed 14d ago), licensed MIT. It adds 1,156 tokens to every session, about $0.0058 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
apex-accelerator iac-bicep-best-practices.instructions.md
Bicep-specific IaC best practices for Azure templates. Security baseline, naming, AVM mandate, anti-patterns.
awsmux AGENTS.md
Instructions for 0hardik1/awsmux, covering agents.md, what awsmux is, build, test, verify, layout and the safety model — invariants you must not weaken.
terraform-provider-pipefy AGENTS.md
Instructions for pipefy/terraform-provider-pipefy, covering agents.md, project overview, setup and requirements, essential commands and project layout.
plan-forge azd.instructions.md
Azure Developer CLI (azd) patterns — azure.yaml structure, infra folder, tags, hooks, pipelines.
plan-forge terraform.instructions.md
Terraform Azure patterns — file structure, providers, state, naming, security, testing.
plan-forge naming.instructions.md
Azure naming conventions — Microsoft CAF abbreviations, constraints, uniqueness, tagging.