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 skills add eaglesakura/agent-skills --skill connect-rpc-curlgit clone --depth 1 https://github.com/eaglesakura/agent-skillsWrote 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/skills/eaglesakura/agent-skills/connect-rpc-curl)<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/connect-rpc-curl"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/connect-rpc-curl/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/skills/eaglesakura/agent-skills/connect-rpc-curl"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/connect-rpc-curl.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.00131 | $0.01521 |
| Opus 5.5 | $0.00052 | $0.00608 |
| Sonnet 5.5 | $0.00026 | $0.00304 |
| Haiku 4.5 | $0.00013 | $0.00152 |
Grade A, and why
connect-rpc-curl 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 2mo 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.
name: connect-rpc-curl How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Connect RPC / curl
Connect RPC の Unary HTTP サービスを、buf curl + JSON で呼び出す。
*.proto の定義をそのまま JSON に写すのが基本で、フレームワーク固有の変換レイヤは不要。
いつ使うか
- Connect RPC(Unary)のエンドポイントを手元から検証したいとき
- proto の
messageからリクエスト JSON を組み立てたいとき buf curl --protocol connectのコマンドを組み立てたいとき
いつ使わないか
- Stream RPC の検証(本 SKILL の範囲外)
- Connect 以外のプロトコル専用クライアントだけで足りるとき
作業手順
- プロジェクト正本を解決する(ワークスペースのファイルレイアウト指示など)
- 探すもの: スキーマ(
buf.yaml)の場所、接続先ホスト(BASE_URL)、Path 接頭辞(PATH_PREFIX) - レイアウトに記載があれば、それを本 SKILL の入力として使う(推測で上書きしない)
@/repo:などのパス表記は、ワークスペースのパス解決規則で実パスへ落とす- 記載が無い項目だけ、ユーザー指定や下記のプレースホルダ例にフォールバックする
- 探すもの: スキーマ(
- 対象の
service/rpc/ リクエストmessageを*.protoから特定する - リクエスト
messageのフィールド名をそのままキーにした JSON を作る - 解決したスキーマディレクトリを
--schemaに渡す(またはそのディレクトリで実行する) - URL を組み立てる:
{BASE_URL}/{PATH_PREFIX}{package}.{Service}/{Rpc} - 必要ヘッダ(
Authorizationなど)を付けてbuf curlを実行する
本 SKILL のコマンド例のパス・ホストはプレースホルダである。レイアウト指示がある環境では、手順 1 の結果で置き換える。
リクエストの基本
- Connect Unary は HTTP + JSON でコールできる
-H 'Key: Value'で任意ヘッダを付与できる- proto のフィールド名をそのまま JSON プロパティにする(camelCase / snake_case は proto 定義に従う)
package example.v1;
service ExampleService {
rpc Echo(EchoRequest) returns (EchoResponse);
}
message EchoRequest {
optional string message = 1;
}
buf curl \
--protocol connect \
--schema path/to/schema/dir/ \
-H 'Authorization: Bearer YOUR_TOKEN_HERE' \
--data '{"message":"hello"}' \
"${BASE_URL}/${PATH_PREFIX}example.v1.ExampleService/Echo"
PATH_PREFIX はサーバー側のマウントパス(例: api/v1/)。無い場合は省略する。
# ローカル例(プレースホルダ)
buf curl \
--protocol connect \
--schema path/to/schema/dir/ \
-H 'Authorization: Bearer YOUR_TOKEN_HERE' \
--data '{"message":"hello"}' \
"http://127.0.0.1:8080/api/v1/example.v1.ExampleService/Echo"
スキーマ(--schema)
buf.yamlがあるディレクトリがモジュールルートになる- レイアウト指示に
buf.yaml(またはそのディレクトリ)の正本があれば、それを使う - そのディレクトリへ
cdしてから実行するか、--schemaにそのパスを渡す - スキーマを渡さないと、リモートリフレクションや別経路に依存するため、手元検証では明示を推奨する
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 133 lines · 131 tokens per session scan A df8cbc81c1c7
connect-rpc-curl is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 131 tokens to every session and 1,521 once invoked, about $0.0005 per session on Opus 5.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.
connect-rpc-curl compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| connect-rpc-curleaglesakura/agent-skills | Skill | 2 | 1mo ago | MIT | A | 131 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 69k | yesterday | Apache-2.0 | A | 217 | Claude Code, Codex |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.0k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 529 | 3d ago | MIT | A | 105 | Claude Code, Codex |
| migrate-segw-to-raparc-mcp/arc-1 | Skill | 253 | today | MIT | A | 106 | Claude Code |