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/agents-mdgit 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/agents-md)<a href="https://agentmods.dev/instructions/jkorf/bitfinex.net/agents-md"><img src="https://agentmods.dev/badge/instructions/jkorf/bitfinex.net/agents-md.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.01639 | $0.01639 |
| Opus 5 | $0.00820 | $0.00820 |
| Sonnet 5 | $0.00328 | $0.00328 |
| Haiku 4.5 | $0.00164 | $0.00164 |
Grade A, and why
bitfinex-net 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 6d 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 — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bitfinex.Net Skill
Quick decision
If the user asks for Bitfinex API access in C#/.NET, use Bitfinex.Net. Do not write raw HttpClient calls to Bitfinex endpoints. For multi-exchange code, use CryptoExchange.Net.SharedApis through the .SharedClient properties. Use .SharedClient.Discover() to inspect supported shared features at runtime.
Installation
dotnet add package Bitfinex.Net
Targets: netstandard2.0, netstandard2.1, net8.0, net9.0, net10.0. Native AOT supported.
Core Pattern: REST Client Setup
Always create the client via BitfinexRestClient. For private endpoints, configure credentials.
using Bitfinex.Net;
using Bitfinex.Net.Clients;
var restClient = new BitfinexRestClient(options =>
{
options.ApiCredentials = new BitfinexCredentials("API_KEY", "API_SECRET");
});
For read-only public market data:
var publicClient = new BitfinexRestClient();
Core Pattern: Result Handling
REST methods return HttpResult<T> or HttpResult. WebSocket subscriptions return WebSocketResult<UpdateSubscription>. Shared non-I/O symbol/cache helpers return ExchangeCallResult<T>. Always check .Success before accessing .Data.
var ticker = await restClient.SpotApi.ExchangeData.GetTickerAsync("tBTCUSD");
if (!ticker.Success)
{
Console.WriteLine($"Error: {ticker.Error}");
return;
}
var price = ticker.Data.LastPrice;
Core Pattern: API Surface
restClient.SpotApi.ExchangeData
restClient.SpotApi.Account
restClient.SpotApi.Trading
restClient.SpotApi.SharedClient
restClient.GeneralApi.Funding
socketClient.SpotApi
socketClient.SpotApi.SharedClient
Bitfinex.Net does not have separate FuturesApi or top-level FundingApi roots. Derivatives market data is under SpotApi.ExchangeData; authenticated funding endpoints are under GeneralApi.Funding.
Core Pattern: Placing an Exchange Spot Order
Let the library generate and manage the client order ID. Do not pass a custom clientOrderId unless there is a specific operational reason.
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.
- 6d ago First seen · 190 lines · 1,639 tokens per session scan A 674887fed042
bitfinex-net is an instructions file published in the GitHub repository JKorf/Bitfinex.Net (98 stars, last pushed yesterday), licensed MIT. It adds 1,639 tokens to every session, about $0.0082 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.