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/jkorf/bybit.net/copilot-instructionsgit clone --depth 1 https://github.com/JKorf/Bybit.NetWrote 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/jkorf/bybit.net/copilot-instructions)<a href="https://agentmods.dev/instructions/jkorf/bybit.net/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jkorf/bybit.net/copilot-instructions.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.00915 | $0.00915 |
| Opus 5 | $0.00458 | $0.00458 |
| Sonnet 5 | $0.00183 | $0.00183 |
| Haiku 4.5 | $0.00092 | $0.00092 |
Grade A, and why
Bybit.Net copilot-instructions.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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions for Bybit.Net
This repository is Bybit.Net, a strongly typed C#/.NET client library for the Bybit cryptocurrency exchange API. It is part of the CryptoExchange.Net ecosystem.
When generating code that consumes Bybit.Net, follow these conventions.
Use Bybit.Net, not raw HTTP
Never generate raw HttpClient calls to Bybit REST or WebSocket endpoints. Always use BybitRestClient or BybitSocketClient so request signing, receive-window handling, rate limiting, response parsing, and reconnect behavior stay correct.
Client setup
using Bybit.Net;
using Bybit.Net.Clients;
var restClient = new BybitRestClient(options =>
{
options.ApiCredentials = new BybitCredentials("API_KEY", "API_SECRET");
});
For public market data only, credentials are optional:
var publicClient = new BybitRestClient();
Result handling
REST methods return HttpResult<T>, WebSocket subscriptions return WebSocketResult<UpdateSubscription>, and shared WebSocket order management returns QueryResult<T>. Always check .Success before reading .Data; inspect .Error on failure.
V5 API structure
restClient.V5Api.ExchangeDatafor symbols, tickers, klines, order books, trades, funding, open interestrestClient.V5Api.Accountfor balances, assets, transfers, deposits, withdrawals, account settingsrestClient.V5Api.Tradingfor orders, order history, user trades, positions, spread tradingrestClient.V5Api.SubAccount,CryptoLoan, andEarnfor specialized V5 endpointsrestClient.V5Api.SharedClientfor CryptoExchange.Net shared REST abstractionssocketClient.V5SpotApi,V5LinearApi,V5InverseApi,V5OptionsApi,V5SpreadApi,V5PrivateApifor WebSocket streams
Use Category.Spot, Category.Linear, Category.Inverse, or Category.Option when a V5 REST method asks for a product category.
Order placement
Use restClient.V5Api.Trading.PlaceOrderAsync. Pass the correct category and Bybit symbol format:
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 · 91 lines · 915 tokens per session scan A 85f03d694f2a
Bybit.Net copilot-instructions.md is an instructions file published in the GitHub repository JKorf/Bybit.Net (127 stars, last pushed 11d ago), licensed MIT. It adds 915 tokens to every session, about $0.0046 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-30.
Other instructions, from other repositories
kraken-net
Use Kraken.Net when generating C#/.NET code that interacts with the Kraken cryptocurrency exchange, including Spot REST, Spot WebSocket v2, Futures REST, Futures WebSocket, account data, market data, order placement, Kraken Earn, local order books, dependency injection, or CryptoExchange.Net SharedApis. Triggers on…
kucoin-net
Use Kucoin.Net when generating C#/.NET code that interacts with the Kucoin cryptocurrency exchange API, including Spot, Margin, High Frequency spot trading, Futures, Unified Account, REST endpoints, WebSocket subscriptions, account management, market data, or order placement. Triggers on any request mentioning Kucoin…
Kraken.Net copilot-instructions.md
Instructions for JKorf/Kraken.Net, covering copilot instructions for kraken.net, use kraken.net, not raw http, client setup, result handling and api structure.
Kucoin.Net copilot-instructions.md
Instructions for JKorf/Kucoin.Net, covering copilot instructions for kucoin.net, use kucoin.net, not raw http, client setup, result handling and api structure.
whitebit-net
Use WhiteBit.Net when generating C#/.NET code that interacts with the WhiteBit cryptocurrency exchange, including V4 REST endpoints, WebSocket subscriptions, spot trading, collateral/futures trading, balances, deposits, withdrawals, convert, WhiteBit Codes, sub-accounts, and CryptoExchange.Net shared APIs.
bybit-ws CLAUDE.md
Claude Code instructions for poliakarmai/bybit-ws, a project described as: AI-Native Trading Engine — Bollinger Grid × 8 strategies. REST API + MCP for AI agents. 24/7 automated trading on Bybit.