api-investigator
note.com APIの調査を支援します。mitmproxyとPlaywrightを使用してHTTPトラフィックをキャプチャ・分析し、API動作を解明します。
npx skills add majiayu000/claude-skill-registry --skill api-investigator-drillan-note-mcp-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# API Investigator スキル このスキルは、note.com APIの動作を調査するための`investigator`モジュールの利用方法を提供します。 ## 起動条件 以下の状況で起動します: 1. **API動作の調査時**: note.com APIのリクエスト/レスポンス形式を確認する際 2. **新機能の実装前調査**: 未知のAPIエンドポイントの動作を理解する必要がある際 3. **バグ調査時**: API通信に関連する問題を診断する際 4. **ProseMirrorエディタ調査時**: note.comのエディタDOM構造やイベントを調査する際 5. **認証フロー調査時**: ログイン・セッション管理の動作を確認する際 ## 前提条件 ### 必要なソフトウェア - mitmproxy(mitmdumpコマンド) - Playwright ### インストール ```bash # 開発依存関係のインストール(mitmproxy含む) uv sync --group dev # Playwrightブラウザのインストール uv run playwright install chromium ``` ## 使用方法 ### 1. トラフィックキャプチャ ```bash # 基本的なキャプチャ(セッション自動復元) uv run python -m note_mcp.investigator capture # ドメインフィルタ付きキャプチャ uv run python -m note_mcp.investigator capture --domain api.note.com # 出力ファイル指定 uv run python -m note_mcp.investigator capture -o my_capture.flow # セッション復元なし(新規ログイン必要) uv run python -m note_mcp.investigator capture --no-session # カスタムポート uv run python -m note_mcp.investigator capture --port 8888 ``` ### 2. キャプチャ分析 ```bash # 基本的な分析 uv run python -m note_mcp.investigator analyze traffic.flow # パターンで検索 uv run python -m note_mcp.investigator analyze traffic.flow --pattern citation # ドメインとメソッドでフィルタ uv run python -m note_mcp.investigator analyze traffic
- 起動条件
- 前提条件
- 必要なソフトウェア
- インストール
- 使用方法
- 1. トラフィックキャプチャ
- 2. キャプチャ分析
- 3. JSONエクスポート
- セッション管理
- 自動セッション復元
- セッションがない場合
- 調査ワークフロー例
- 例1: 引用(blockquote)出典APIの調査(実績あり)
- 例2: 画像アップロードAPIの調査
uv sync --group dev uv run playwright install chromium uv run python -m note_mcp.investigator capture uv run python -m note_mcp.investigator capture --domain api.note.com uv run python -m note_mcp.investigator capture -o my_capture.flow uv run python -m note_mcp.investigator capture --no-session uv run python -m note_mcp.investigator capture --port 8888 uv run python -m note_mcp.investigator analyze traffic.flow uv run python -m note_mcp.investigator analyze traffic.flow --pattern citation uv run python -m note_mcp.investigator analyze traffic.flow --domain api.note.com --method POST
What does the api-investigator skill do?
note.com APIの調査を支援します。mitmproxyとPlaywrightを使用してHTTPトラフィックをキャプチャ・分析し、API動作を解明します。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill api-investigator-drillan-note-mcp-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
