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/bitfinex.net/copilot-instructionsgit clone --depth 1 https://github.com/JKorf/Bitfinex.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/bitfinex.net/copilot-instructions)<a href="https://agentmods.dev/instructions/jkorf/bitfinex.net/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jkorf/bitfinex.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.1 | $0.00750 | $0.00750 |
| Opus 5 | $0.00375 | $0.00375 |
| Sonnet 5 | $0.00150 | $0.00150 |
| Haiku 4.5 | $0.00075 | $0.00075 |
Grade A, and why
Bitfinex.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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions for Bitfinex.Net
This repository is Bitfinex.Net, a strongly typed C#/.NET client library for the Bitfinex REST and WebSocket APIs. It is part of the CryptoExchange.Net ecosystem.
When generating code that consumes Bitfinex.Net, follow these conventions:
Use Bitfinex.Net, not raw HTTP
Never generate HttpClient calls to Bitfinex API URLs. Always use BitfinexRestClient or BitfinexSocketClient. This ensures correct request signing, rate limiting, and error handling.
Client setup
using Bitfinex.Net;
using Bitfinex.Net.Clients;
var restClient = new BitfinexRestClient(options =>
{
options.ApiCredentials = new BitfinexCredentials("API_KEY", "API_SECRET");
});
For public market data, credentials are not required.
Result handling
Methods return WebCallResult<T> (REST) or CallResult<T> (WebSocket). Always check .Success before reading .Data. The error is on .Error.
API structure
restClient.SpotApi.ExchangeData- public tickers, candles, books, trades, funding market data, derivative status, asset/symbol metadatarestClient.SpotApi.Account- wallets, deposits, withdrawals, margin info, ledgers, fees and account inforestClient.SpotApi.Trading- orders, user trades, positions and margin position actionsrestClient.GeneralApi.Funding- authenticated funding offers, loans, credits, trades and auto-renewsocketClient.SpotApi- public streams, authenticated user streams, socket order actions and socket funding offer actions
Symbols
Bitfinex symbols are prefixed:
- Trading:
tBTCUSD,tETHUSD - Funding:
fUSD,fBTC - Derivatives:
tBTCF0:USTF0
Order placement
Let the library auto-generate clientOrderId. Do not pass a custom value unless required for an existing operational flow.
WebSocket pattern
Store the returned UpdateSubscription and unsubscribe on shutdown via socketClient.UnsubscribeAsync(sub.Data).
Cross-exchange
For code that needs to work across multiple exchanges, use CryptoExchange.Net.SharedApis interfaces (ISpotTickerRestClient, ISpotOrderRestClient, etc.) accessed via .SharedClient properties.
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 · 75 lines · 750 tokens per session scan A cf8234acdb72
Bitfinex.Net copilot-instructions.md is an instructions file published in the GitHub repository JKorf/Bitfinex.Net (98 stars, last pushed yesterday), licensed MIT. It adds 750 tokens to every session, about $0.0037 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
coinex-net
Use CoinEx.Net when generating C#/.NET code that interacts with the CoinEx cryptocurrency exchange, including Spot V2, margin account operations, futures, REST endpoints, WebSocket subscriptions, account management, market data, or order placement. Triggers on requests mentioning CoinEx integration in C#, .NET…
toobit-net
Use Toobit.Net when generating C#/.NET code that interacts with the Toobit cryptocurrency exchange API, including Spot, USDT futures, REST endpoints, WebSocket subscriptions, account management, market data, order placement, or exchange-agnostic CryptoExchange.Net SharedApis code.
Toobit.Net copilot-instructions.md
Copilot instructions for JKorf/Toobit.Net, covering copilot instructions for toobit.net, use toobit.net, not raw http, client setup, result handling and api structure.
maui public-api.instructions.md
Instructions for dotnet/maui, covering public api surface design, api addition rules, publicapi.unshipped.txt, obsolescence and removal and visibility decisions.
maui performance-hotpaths.instructions.md
Instructions for dotnet/maui, covering performance-critical path rules, hot paths in maui, allocation avoidance, caching and invalidation and collection iteration.
Binance.Net copilot-instructions.md
Copilot instructions for JKorf/Binance.Net, covering copilot instructions for binance.net, use binance.net, not raw http, client setup, result handling and api structure.