.NET API Compatibility Design
Aaronontheweb/dotnet-skills
Applies extend-only design rules to NuGet packages and distributed systems, covering source, binary and wire compatibility and how to deprecate members safely.
Build wallet portfolio features with ERC-20 token discovery, multicall balances, CoinGecko pricing, and multi-account scanning (.NET/C).
$ npx skills add Nethereum/Nethereum --skill token-portfolio -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Nethereum/Nethereum token-portfolio --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/nethereum-skills/skills/token-portfolio .claude/skills/token-portfolio && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "token-portfolio" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolio into .claude/skills/token-portfolio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-portfolio", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolioType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Nethereum/Nethereum --skill token-portfolio -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Nethereum/Nethereum token-portfolio --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/nethereum-skills/skills/token-portfolio .agents/skills/token-portfolio && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "token-portfolio" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolio into .agents/skills/token-portfolio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-portfolio", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Nethereum/Nethereum --skill token-portfolio -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Nethereum/Nethereum token-portfolio --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/nethereum-skills/skills/token-portfolio .cursor/skills/token-portfolio && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "token-portfolio" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolio into .cursor/skills/token-portfolio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-portfolio", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Nethereum/Nethereum.git --path plugins/nethereum-skills/skills/token-portfolio--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Nethereum/Nethereum --skill token-portfolio -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Nethereum/Nethereum token-portfolio --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/nethereum-skills/skills/token-portfolio .gemini/skills/token-portfolio && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "token-portfolio" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolio into .gemini/skills/token-portfolio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-portfolio", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Nethereum/Nethereum token-portfolioInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Nethereum/Nethereum --skill token-portfolio -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/nethereum-skills/skills/token-portfolio .github/skills/token-portfolio && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "token-portfolio" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolio into .github/skills/token-portfolio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-portfolio", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Nethereum/Nethereum --skill token-portfolio -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Nethereum/Nethereum token-portfolio --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/nethereum-skills/skills/token-portfolio .opencode/skills/token-portfolio && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "token-portfolio" agent skill from https://github.com/Nethereum/Nethereum/tree/master/plugins/nethereum-skills/skills/token-portfolio into .opencode/skills/token-portfolio/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-portfolio", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
token-portfolioBuild wallet portfolio features with ERC-20 token discovery, multicall balances, CoinGecko pricing, and multi-account scanning (.NET/C).
Token Portfolio is an agent skill from Nethereum/Nethereum. Build wallet portfolio features with ERC-20 token discovery, multicall balances, CoinGecko pricing, and multi-account scanning (.NET/C). Use this skill when the user asks about token balances, token portfolios, token prices, token lists, multicall token queries, multi-wallet scanning, or CoinGecko integration.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs. It works with Ethereum, C# and .NET. The repository describes itself as: Ethereum .Net cross platform integration library. The licence is MIT.
Read from SKILL.md and the folder at commit 229f278. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dotnetFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
eth.llamarpc.comAlso links to:
nethereum.readthedocs.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Token Portfolio loads about 1.7k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 137 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Nethereum/Nethereum at commit 229f278, republished under its MIT licence (© Nethereum). 137 words, ~1,742 tokens.
.claude/skills/token-portfolio/SKILL.md (or your agent's skills folder).Nethereum.TokenServices builds a wallet portfolio from an embedded list of thousands of known tokens per chain — checking all of them via batched multicall (balanceOf reads in a single eth_call). No chain indexing, no third-party indexer dependency. Works against any standard RPC endpoint. Optional CoinGecko pricing, multi-account scanning, and a persistent token catalog.
NuGet: Nethereum.TokenServices
dotnet add package Nethereum.TokenServicesusing Nethereum.TokenServices.ERC20;
using Nethereum.TokenServices.ERC20.Balances;
using Nethereum.Web3;
var web3 = new Web3("https://eth.llamarpc.com");
var tokenService = new Erc20TokenService();
var balances = await tokenService.GetBalancesWithPricesAsync(
web3, accountAddress, chainId: 1, vsCurrency: "usd",
includeNative: true, NativeTokenConfig.ForChain(1, "ETH", "Ether"));
foreach (var b in balances.Where(x => x.Value > 0).OrderByDescending(x => x.Value))
Console.WriteLine($"{b.Token?.Symbol}: {b.BalanceDecimal:N4} @ ${b.Price:N2} = ${b.Value:N2}");// All balances with prices
var balances = await tokenService.GetBalancesWithPricesAsync(
web3, address, chainId, "usd", includeNative: true, nativeToken);
// Balances only (no prices)
var balances = await tokenService.GetAllBalancesAsync(
web3, address, chainId, includeNative: true, nativeToken);
// Specific tokens only
var balances = await tokenService.GetBalancesForTokensWithPricesAsync(
web3, address, tokenList, "usd");
// Incremental refresh via Transfer events (returns List<TokenBalance>)
var updated = await tokenService.RefreshBalancesFromEventsAsync(
web3, address, chainId, fromBlock, existingTokens, "usd");
// Token lookup
var tokens = await tokenService.GetTokenListAsync(chainId);
var token = await tokenService.GetTokenAsync(chainId, contractAddress);
// Pricing
var prices = await tokenService.GetPricesForTokensAsync(chainId, contractAddresses, "usd");
var ethPrice = await tokenService.GetNativeTokenPriceAsync(chainId, "usd");// TokenBalance — returned by all balance methods
public class TokenBalance
{
public TokenInfo Token { get; set; }
public BigInteger Balance { get; set; }
public bool IsNative { get; set; }
public decimal BalanceDecimal { get; } // Converted from Wei
public decimal? Price { get; set; }
public decimal? Value { get; } // BalanceDecimal * Price
}
// TokenInfo — token metadata
public class TokenInfo
{
public string Address { get; set; }
public string Symbol { get; set; }
public string Name { get; set; }
public int Decimals { get; set; }
public string LogoUri { get; set; }
public long ChainId { get; set; }
public string CoinGeckoId { get; set; }
}using Nethereum.TokenServices.ERC20.Pricing;
var batchPrice = new BatchPriceService(new CoinGeckoPriceProvider());
var request = new BatchPriceRequest("usd")
.AddChain(1, new[] { "0xA0b86991...", "0xdAC17F..." }, includeNative: true)
.AddChain(137, new[] { "0x2791Bca1..." }, includeNative: true);
var result = await batchPrice.GetPricesAsync(request);
if (result.TryGetPrice(1, "0xA0b86991...", out var price))
Console.WriteLine($"USDC: ${price.Price}");
if (result.TryGetNativePrice(1, out var ethPrice))
Console.WriteLine($"ETH: ${ethPrice.Price}");using Nethereum.TokenServices.MultiAccount;
var multiService = serviceProvider.GetRequiredService<IMultiAccountTokenService>();
var strategy = serviceProvider.GetRequiredService<IDiscoveryStrategy>();
var result = await multiService.ScanAsync(
accounts: new[] { "0xWallet1...", "0xWallet2..." },
chainIds: new[] { 1L, 137L, 42161L },
web3Factory: chainId => new Web3(GetRpcUrl(chainId)),
strategy: strategy,
options: new MultiAccountScanOptions { MaxParallelChains = 3, IncludeNativeToken = true },
progress: new Progress<MultiAccountProgress>(p =>
Console.WriteLine($"{p.CompletedChains}/{p.TotalChains} chains, {p.TokensFound} tokens")));
// Results by chain / by account
foreach (var (chainId, chainResult) in result.ChainResults)
Console.WriteLine($"Chain {chainId}: {chainResult.TokensFound} tokens");
// Price-only refresh
var priceResult = await multiService.RefreshPricesAsync(accountTokens, "usd");Persistent, refreshable token registry:
using Nethereum.TokenServices.Catalog;
// Setup
services.AddTokenCatalog(options =>
{
options.CatalogDirectory = "/data/catalog";
options.AutoSeedFromEmbedded = true;
options.RegisterCoinGeckoSource = true;
});
// Query
var repo = serviceProvider.GetRequiredService<ITokenCatalogRepository>();
var tokens = await repo.GetAllTokensAsync(chainId: 1);
var usdc = await repo.GetTokenByAddressAsync(chainId: 1, "0xA0b86991...");
// Refresh
var refreshService = serviceProvider.GetRequiredService<ITokenCatalogRefreshService>();
var result = await refreshService.RefreshAsync(chainId: 1);
// Use catalog as token list provider
var adapter = new CatalogTokenListProviderAdapter(repo, autoSeed: true);
var tokenService = new Erc20TokenService(tokenListProvider: adapter);| Strategy | How It Works | Speed |
|---|---|---|
TokenListDiscoveryStrategy (default) | Check known tokens via multicall | Fast |
EventLogDiscoveryStrategy | Scan all Transfer events | Thorough but slow |
Custom IDiscoveryStrategy | Your logic | Varies |
// Basic
services.AddErc20TokenServices();
// With options
services.AddErc20TokenServices(options =>
{
options.UseFileCache = true;
options.CacheDirectory = "/data/cache";
options.PriceCacheExpiry = TimeSpan.FromMinutes(5);
options.MultiCallBatchSize = 100;
});
// Custom providers
services.AddErc20TokenServices()
.UseTokenListProvider<MyProvider>()
.UsePriceProvider<MyPriceProvider>()
.UseDiscoveryStrategy<MyStrategy>();Ethereum (1), Optimism (10), BNB Chain (56), Gnosis (100), Polygon (137), zkSync Era (324), Base (8453), Arbitrum (42161), Celo (42220), Avalanche (43114), Linea (59144).
© Nethereum, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/nethereum-skills/skills/token-portfolio of Nethereum/Nethereum.
Open the folder on GitHubat commit 229f278
Token Portfolio next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Token Portfolio this skillNethereum/Nethereum | 2.3k | — | ~1.7k | Automated safety check: Pass | MIT | |
| .NET API Compatibility DesignAaronontheweb/dotnet-skills | 1.2k | 2 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Tsp Csharpquerylenshq/ef-querylens | 225 | — | ~1.3k | Automated safety check: Pass | MIT | |
| XML DocumentationVonage/vonage-dotnet-sdk | 118 | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Dotnet 10 Csharp 14sketch7/FluentlyHttpClient | 121 | — | ~2.2k | Automated safety check: Pass | MIT | |
| DisCatSharp Discord DevelopmentAiko-IT-Systems/DisCatSharp | 140 | — | ~1.2k | Automated safety check: Pass | MIT |
Aaronontheweb/dotnet-skills
Applies extend-only design rules to NuGet packages and distributed systems, covering source, binary and wire compatibility and how to deprecate members safely.
querylenshq/ef-querylens
Comprehensive C and .NET development skill for TSP projects.
Vonage/vonage-dotnet-sdk
Improve XML documentation in the Vonage .NET SDK. An agent skill from Vonage/vonage-dotnet-sdk.
sketch7/FluentlyHttpClient
A skill your agent uses when building .NET 10 or C 14 applications; when using minimal APIs, modular monolith patterns, or feature folders; when implementing HTTP resilience, Options pattern…
Aiko-IT-Systems/DisCatSharp
Helps build, explain and troubleshoot C# Discord apps on DisCatSharp, answering from the project's installed version and the library's documentation rather than guesses.
SnowBankSDK/foundationdb-dotnet-client
Advanced engineering for sophisticated FoundationDB layers with the .NET client (FoundationDB.Client / SnowBank) — the cluster model and transaction lifecycle (proxies, resolvers, tlogs, storage…
Nethereum/Nethereum
Help users batch multiple calls into a single UserOperation and sponsor gas with paymasters using Nethereum Account Abstraction.
Nethereum/Nethereum
Help users run an ERC-4337 bundler using Nethereum — set up in-process or standalone bundlers with mempool, validation, reputation, and JSON-RPC server.
Nethereum/Nethereum
Encode and decode Ethereum ABI data with Nethereum. An agent skill from Nethereum/Nethereum.
Nethereum/Nethereum
Fetch contract ABIs from Sourcify, Etherscan, and 4Byte Directory using the composite ABIInfoStorage pattern (.NET/C).
Nethereum/Nethereum
Help users implement ERC-4337 Account Abstraction with Nethereum — send UserOperations, use smart accounts, route contract calls through a bundler, enable gasless transactions, or work with AA in…
Nethereum/Nethereum
Validate and format Ethereum addresses with Nethereum. An agent skill from Nethereum/Nethereum.
Categories
Build wallet portfolio features with ERC-20 token discovery, multicall balances, CoinGecko pricing, and multi-account scanning (.NET/C). Token Portfolio is an agent skill from Nethereum/Nethereum.NET/C).
Token Portfolio fits situations like: the user asks about token balances; token portfolios; multicall token queries; multi-wallet scanning.
Run `npx skills add Nethereum/Nethereum --skill token-portfolio -a claude-code`. Or copy the skill folder (plugins/nethereum-skills/skills/token-portfolio in Nethereum/Nethereum) into .claude/skills/token-portfolio in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Nethereum/Nethereum --skill token-portfolio -a codex`. Or copy the skill folder (plugins/nethereum-skills/skills/token-portfolio in Nethereum/Nethereum) into .agents/skills/token-portfolio in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nethereum/Nethereum --skill token-portfolio -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/token-portfolio, .gemini/skills/token-portfolio, .github/skills/token-portfolio and .opencode/skills/token-portfolio in your project.
Going by SKILL.md and its folder, Token Portfolio needs the command-line tools its instructions call (dotnet).
SKILL.md names 2 domains. In commands or code: eth.llamarpc.com; the agent is likely to contact it when it follows the instructions. As links in the text: nethereum.readthedocs.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Token Portfolio is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Token Portfolio: .NET API Compatibility Design (Aaronontheweb/dotnet-skills, 1.2k stars), Tsp Csharp (querylenshq/ef-querylens, 225 stars), XML Documentation (Vonage/vonage-dotnet-sdk, 118 stars) and Dotnet 10 Csharp 14 (sketch7/FluentlyHttpClient, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Nethereum (a GitHub organization) maintains it in Nethereum/Nethereum, which has 2,260 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on October 5, 2026.
Source: Nethereum/Nethereum on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.