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/yuji0809/cc-recommender/claude-mdgit clone --depth 1 https://github.com/yuji0809/cc-recommenderWrote 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/yuji0809/cc-recommender/claude-md)<a href="https://agentmods.dev/instructions/yuji0809/cc-recommender/claude-md"><img src="https://agentmods.dev/badge/instructions/yuji0809/cc-recommender/claude-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.04539 | $0.04539 |
| Opus 5 | $0.02269 | $0.02269 |
| Sonnet 5 | $0.00908 | $0.00908 |
| Haiku 4.5 | $0.00454 | $0.00454 |
Grade A, and why
cc-recommender CLAUDE.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 5d 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 — 513 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cc-recommender Development Guide
このドキュメントは、cc-recommender プロジェクトの開発ガイドラインを定義します。 新しいコードを追加・変更する際は、必ずこのガイドラインに従ってください。
プロジェクト概要
Claude Code のスキル、プラグイン、MCP サーバーを推薦する MCP サーバー。 プロジェクトを分析し、適切な拡張機能を提案します。
アーキテクチャ原則
1. レイヤードアーキテクチャ
presentation (tools) → business logic (services) → data access (repositories)
↓
config, utils, types
依存関係のルール:
- 上位レイヤーは下位レイヤーに依存できる
- 下位レイヤーは上位レイヤーに依存してはいけない
- 同一レイヤー内での依存は最小限に
2. 単一責任の原則 (SRP)
- 各ファイルは1つの責務のみを持つ
- 大きくなりすぎた場合は分割を検討
3. 直接インポートの原則
原則: 直接個別ファイルからインポート
例外: 以下のディレクトリのみ index.ts を使用可能
types/index.ts- 型定義の公開 API(頻繁に使用されるため)tools/handlers/index.ts- MCP ツールの公開 API(外部インターフェース)
// ✅ 許可: 公開 API からのインポート
import { Recommendation, ProjectInfo } from "../../types/index.js";
import { recommendSkills, searchSkills } from "../../tools/handlers/index.js";
// ✅ 推奨: その他は直接個別ファイルからインポート
import { analyzeProject } from "../../services/analyzer/project-analyzer.service.js";
import { calculateScore } from "../../services/recommender/scoring/scorer.js";
// ❌ 禁止: services/, config/, utils/ などに index.ts を作成
import { analyzeProject } from "../../services/analyzer/index.js"; // NG
理由:
- インポート元が明確
- 循環依存の防止
- 未使用コードの検出が容易
- 外部 API は index.ts で明示化
- 内部実装は直接インポートで変更に強く
ディレクトリ構造
src/
├── config/ # 設定ファイル(定数、マッピング)
│ ├── constants.ts # アプリケーション定数
│ ├── file-mappings.ts # ファイル拡張子とフレームワークのマッピング
│ ├── curated-list-sources.ts # キュレーションリストソース定義
│ ├── direct-skill-sources.ts # 直接スキルソース定義
│ ├── env.ts # 環境変数設定
│ └── scoring-config.ts # スコアリングの重み・閾値
│
├── repositories/ # データアクセス層
│ ├── recommendation.repository.ts # データベース読み込み・キャッシュ
│ └── remote-data.repository.ts # リモートデータ取得(CDN/GitHub)
│
├── utils/ # 共通ユーティリティ
│ └── glob-matcher.ts # Glob パターンマッチング
│
├── types/ # 型定義(ドメイン別に分割)
│ ├── index.ts # 型定義の公開 API
│ ├── domain-types.ts # ドメイン型(Recommendation, Author, etc.)
│ ├── service-types.ts # サービス型(ProjectInfo, ScoredRecommendation)
│ └── raw-types.ts # 外部データ型(RawPluginEntry, etc.)
│
├── schemas/ # Zod バリデーションスキーマ
│ └── tool-schemas.ts # MCP ツールの入力スキーマ
│
├── services/ # ビジネスロジック層
│ ├── analyzer/ # プロジェクト分析サービス
│ │ ├── parsers/ # 言語別パーサー
│ │ │ ├── package-json.parser.ts
│ │ │ ├── requirements-txt.parser.ts
│ │ │ ├── go-mod.parser.ts
│ │ │ └── (その他言語用パーサー)
│ │ └── project-analyzer.service.ts # メイン分析ロジック
│ │
│ ├── fetchers/ # 外部データ取得
│ │ ├── mcp/ # MCP サーバー取得
│ │ │ ├── mcp-fetcher.ts
│ │ │ └── official-mcp-fetcher.ts
│ │ ├── plugins/ # プラグイン取得
│ │ │ └── plugin-fetcher.ts
│ │ └── skills/ # スキル取得
│ │ ├── common/ # 共通ユーティリティ
│ │ │ ├── github-api.ts # GitHub API 呼び出し
│ │ │ ├── skill-parser.ts # スキルパース処理
│ │ │ └── types.ts # フェッチャー用の内部型
│ │ ├── curated-list-fetcher.ts # キュレーションリスト取得
│ │ ├── direct-skill-fetcher.ts # 直接スキル取得
│ │ └── skill-fetcher.ts # メインフェッチャー
│ │
│ ├── recommender/ # 推薦サービス
│ │ ├── scoring/ # スコアリングロジック
│ │ │ └── scorer.ts
│ │ ├── recommendation.service.ts # メイン推薦ロジック
│ │ ├── search.service.ts # 検索機能
│ │ ├── quality-scorer.ts # 品質スコア算出
│ │ └── formatters.ts # 結果フォーマッター
│ │
│ └── security-scanner.service.ts # セキュリティスコア取得
│
├── tools/ # MCP ツール層(プレゼンテーション)
│ └── handlers/ # 各ツールの実装
│ ├── index.ts # ツールの公開 API
│ ├── recommend-skills.tool.ts
│ ├── search-skills.tool.ts
│ ├── get-skill-details.tool.ts
│ ├── list-categories.tool.ts
│ └── get-stats.tool.ts
│
├── server/ # MCP サーバー設定
│ ├── mcp-server.ts # サーバーセットアップ
│ └── tool-registry.ts # ツール登録
│
└── index.ts # エントリーポイント(最小限)
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.
- 5d ago First seen · 513 lines · 4,539 tokens per session scan A c7212f6fa5e7
cc-recommender CLAUDE.md is an instructions file published in the GitHub repository yuji0809/cc-recommender (10 stars, last pushed 3mo ago), licensed MIT. It adds 4,539 tokens to every session, about $0.0227 per session on Opus 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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.