public-api-gateway

public-api-gateway is a skill for Claude Code, Codex from kayzaa/k.i.t.-bot. It costs 0 tokens per session (581 once invoked), scanned A, a copy of public-api-gateway, MIT.

A self-hosted REST API that lets external applications read K.I.T. market, portfolio, and social data. REST is a common way for software services to exchange information over web requests.

In plain words
What is it for?
Provide quotes, historical price data, order books, positions, orders, trade history, portfolio performance, signals, follower data, and restricted order execution to other apps.
Why use it?
It removes the need for each dashboard or service to access internal data directly. Authentication controls access, with extra approval required for trading actions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Provide quotes, historical price data, order books, positions, orders, trade history, portfolio performance, signals, follower data, and restricted order execution to other apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kayzaa/k.i.t.-bot/public-api-gateway
Install

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.

Any agent
npx skills add kayzaa/k.i.t.-bot --skill public-api-gateway
Clone the repo
git clone --depth 1 https://github.com/kayzaa/k.i.t.-bot

Made for: Claude Code, Codex.

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 public-api-gateway

README.md
[![agentmods](https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/public-api-gateway/github.svg)](https://agentmods.dev/skills/kayzaa/k.i.t.-bot/public-api-gateway)
Your own site
<a href="https://agentmods.dev/skills/kayzaa/k.i.t.-bot/public-api-gateway"><img src="https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/public-api-gateway/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 public-api-gateway

Your own site · 80×15
<a href="https://agentmods.dev/skills/kayzaa/k.i.t.-bot/public-api-gateway"><img src="https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/public-api-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 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 100% copy Near-identical to another mod 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.00000 $0.00581
Opus 5 $0.00000 $0.00291
Sonnet 5 $0.00000 $0.00116
Haiku 4.5 $0.00000 $0.00058

Measured 8d ago against content hash 123b8d4455be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

public-api-gateway 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 8d 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.

Origin

This is a copy

100% identical to public-api-gateway — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/public-api-gateway/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Public API Gateway

Self-hosted API for third-party access (eToro Open API inspired)

Overview

Expose your K.I.T. data via REST API. Let external apps, dashboards, or services access your portfolio, signals, and market data.

Features

Market Data API

  • Real-time quotes (1s refresh)
  • Historical OHLCV data
  • Order book depth
  • 24h statistics

Portfolio API

  • Current positions
  • Open orders
  • Trade history
  • P&L calculations
  • Equity curve

Social API

  • Your signals
  • Follower data
  • Performance metrics
  • Leaderboard position

Execution API (Restricted)

  • Place orders
  • Modify/cancel orders
  • Set SL/TP
  • Requires additional auth

Authentication

  • API Key: For read-only access
  • API Key + Secret: For portfolio data
  • OAuth 2.0: For execution (user approval required)

Rate Limits

Tier Requests/min Data Calls/day
Free 60 10,000
Pro 300 100,000
Enterprise 1,000 Unlimited

Endpoints

Market Data

GET /public/api/v1/quotes/:symbol
GET /public/api/v1/candles/:symbol
GET /public/api/v1/orderbook/:symbol
GET /public/api/v1/ticker/24h

Portfolio (Auth Required)

GET /public/api/v1/portfolio
GET /public/api/v1/positions
GET /public/api/v1/orders
GET /public/api/v1/trades
GET /public/api/v1/equity

Social

GET /public/api/v1/signals
GET /public/api/v1/profile/:user_id
GET /public/api/v1/leaderboard
GET /public/api/v1/followers

Execution (OAuth Required)

POST /public/api/v1/orders
PUT /public/api/v1/orders/:id
DELETE /public/api/v1/orders/:id

Webhooks

Subscribe to real-time events:

  • signal.new - New signal published
  • trade.opened - Position opened
  • trade.closed - Position closed
  • price.alert - Price target hit

Commands

  • kit api keys - Manage API keys
  • kit api logs - View API usage
  • kit api webhooks - Manage webhooks
  • kit api docs - Open API documentation

Security

  • All endpoints over HTTPS
  • IP whitelisting available
  • Request signing for sensitive endpoints
  • Audit log for all API calls

Read the full file on GitHub · 105 lines

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. 8d ago First seen · 105 lines · 0 tokens per session scan A 123b8d4455be

Subscribe to this mod's changes

public-api-gateway is a skill published in the GitHub repository kayzaa/k.i.t.-bot (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 581 tokens. A static security scan graded it A with 0 findings. It is 100% identical to public-api-gateway, differing in 0 lines, and is treated as a copy.