icn: Agent for Claude Code

.github/agents/icn-gateway-api.md

icn-gateway-api is an agent for Claude Code from InterCooperative-Network/icn. It costs 35 tokens per session (702 once invoked), scanned A, original, AGPL-3.0.

A specialist for maintaining an HTTP API: the part of a web service that receives requests and sends responses. It covers routing, input checks, API documentation, and matching TypeScript definitions.

In plain words
What is it for?
Use it when changing the gateway's routes, request validation, OpenAPI export, or TypeScript API types.
Why use it?
It helps keep related API changes in one place and reduces mismatches between the implementation, its documentation, and the TypeScript types used by clients.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is InterCooperative-Network/icn's own configuration. It tells Claude Code how to work on icn itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything icn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to InterCooperative-Network/icn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/InterCooperative-Network/icn/main/.github/agents/icn-gateway-api.md
Clone the repo
git clone --depth 1 https://github.com/InterCooperative-Network/icn

Made for: Claude Code.

Wrote 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.

agentmods badge for icn-gateway-api

README.md
[![agentmods](https://agentmods.dev/badge/agents/intercooperative-network/icn/icn-gateway-api/github.svg)](https://agentmods.dev/agents/intercooperative-network/icn/icn-gateway-api)
Your own site
<a href="https://agentmods.dev/agents/intercooperative-network/icn/icn-gateway-api"><img src="https://agentmods.dev/badge/agents/intercooperative-network/icn/icn-gateway-api/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.

agentmods 80×15 button for icn-gateway-api

Your own site · 80×15
<a href="https://agentmods.dev/agents/intercooperative-network/icn/icn-gateway-api"><img src="https://agentmods.dev/badge/agents/intercooperative-network/icn/icn-gateway-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00702
Opus 5.5 $0.00014 $0.00281
Sonnet 5.5 $0.00007 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 1mo ago against content hash 0f39b15f9ef0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

icn-gateway-api 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 1mo 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.

.github/agents/icn-gateway-api.md · 114 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

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.

  1. 1mo ago First seen · 114 lines · 35 tokens per session scan A 0f39b15f9ef0

Subscribe to this mod's changes

icn-gateway-api is an agent published in the GitHub repository InterCooperative-Network/icn (10 stars, last pushed today), licensed AGPL-3.0. It adds 35 tokens to every session and 702 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

rust-framework-architect

Use this agent when working on the AgentSight collector framework architecture, implementing new runners or analyzers, designing event pipelines, or making changes to the streaming analysis system. Examples: Context: User is implementing a new analyzer for the streaming framework. user: 'I need to create a new…

eunomia-bpf/agentsight · 0 tokens

rust-expert

Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist. Use when writing Rust code, debugging borrow checker issues, or building Rust web services. Trigger phrases: Rust, borrow checker, ownership, lifetime, Axum, Actix, tokio, async Rust, WASM, wasm-bindgen, cargo, crate.

travisjneuman/.claude · 78 tokens

tadpole-backend-specialist

Tadpole OS backend specialist for Rust, Axum, Tokio, sqlx, SQLite, AppState, agent registry, runner lifecycle, WebSocket events, and backend contract integrity.

DDS-Solutions/AI-TadPole-OS · 45 tokens

rust-expert

Use when: Cargo.toml present. Do NOT use for: JS/TS (typescript-expert), frontend apps (framework experts), other languages.

fusengine/agents · 34 tokens

rust-cli-builder

Use this agent when you need to build command-line interface (CLI) applications in Rust, especially when implementing natural language processing tools, shell command generators, or any CLI that requires API integration, user interaction, and command execution. Examples: Context: User wants to create a CLI tool that…

wildcard/caro · 0 tokens

actix-expert

Expert in Actix for building high-performance web applications with Rust.

0xfurai/claude-code-subagents · 17 tokens