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 skills add keep-starknet-strange/starknet-agentic --skill starknet-jsgit clone --depth 1 https://github.com/keep-starknet-strange/starknet-agenticWrote 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/skills/keep-starknet-strange/starknet-agentic/starknet-js)<a href="https://agentmods.dev/skills/keep-starknet-strange/starknet-agentic/starknet-js"><img src="https://agentmods.dev/badge/skills/keep-starknet-strange/starknet-agentic/starknet-js/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.
<a href="https://agentmods.dev/skills/keep-starknet-strange/starknet-agentic/starknet-js"><img src="https://agentmods.dev/badge/skills/keep-starknet-strange/starknet-agentic/starknet-js.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00040 | $0.03783 |
| Opus 5.5 | $0.00016 | $0.01513 |
| Sonnet 5.5 | $0.00008 | $0.00757 |
| Haiku 4.5 | $0.00004 | $0.00378 |
Grade A, and why
starknet-js 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 24d 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 — 500 lines — stays where its author put it; the contents beside it link to each section on GitHub.
starknet.js v10 SDK
Related modules: skills catalog.
When to Use
- Building Starknet apps with provider, account, contract, wallet, or paymaster flows.
When NOT to Use
- Cairo contract authoring, deployment-only runbooks, or security audits.
Quick Start
npm install starknet@^10.8.0
Minimal setup to read from Starknet:
import { RpcProvider, Contract } from 'starknet';
const provider = await RpcProvider.create({ nodeUrl: 'https://api.cartridge.gg/x/starknet/mainnet/rpc/v0_10' });
const contract = new Contract({ abi, address: contractAddress, providerOrAccount: provider });
const result = await contract.get_balance();
Core Architecture
Provider -> Account -> Contract
| | |
Network Identity Interaction
- Provider: Read-only network connection (RpcProvider)
- Account: Signs and sends transactions; in v10 it no longer extends Provider, so call provider methods through
account.provider - Contract: Type-safe interface to deployed contracts
Use Provider for read operations, Account for write operations.
Provider Setup
import { RpcProvider } from 'starknet';
// Recommended: Auto-detect RPC spec version
const provider = await RpcProvider.create({
nodeUrl: 'https://api.cartridge.gg/x/starknet/mainnet/rpc/v0_10'
});
Networks (keyless public Cartridge endpoints on RPC spec 0.10, rate limited; use your own provider in production):
- Mainnet:
https://api.cartridge.gg/x/starknet/mainnet/rpc/v0_10 - Sepolia:
https://api.cartridge.gg/x/starknet/sepolia/rpc/v0_10
Key Methods:
const chainId = await provider.getChainId();
const block = await provider.getBlock('latest');
const nonce = await provider.getNonceForAddress(accountAddress);
await provider.waitForTransaction(txHash);
// Read storage directly (v10 returns { value, last_update_block }, not a bare felt)
const { value } = await provider.getStorageAt(contractAddress, storageKey);
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 24d ago Changed · -1 tokens per session 74bfb20ba635
- 2mo ago First seen · 500 lines · 41 tokens per session scan A f180f2766f26
starknet-js is a skill published in the GitHub repository keep-starknet-strange/starknet-agentic (81 stars, last pushed 4d ago), licensed MIT. It adds 40 tokens to every session and 3,783 once invoked, about $0.0002 per session on Opus 5.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 skills, from other repositories
starknet-js
Reference for building Starknet applications using starknet.js v9.x SDK, including contract interaction, account management, transaction handling, fee estimation, wallet integration, and paymaster flows.
starknet-wallet
Create and manage Starknet wallets for AI agents. Transfer tokens, check balances, manage session keys, deploy accounts, and interact with smart contracts using native Account Abstraction.
starknet-js
Use when writing or debugging JavaScript/TypeScript that interacts with Starknet through the starknet.js SDK — building Call objects or calldata, encoding/decoding Cairo types (felt252, u256, structs, arrays, spans, ByteArray, Option/Result/custom enums), or working with contracts, accounts, providers, transactions…
nexflow-smf-route-matrix-v1
Compute a priced route matrix for x402-style payments (e.g. USDC on Base) using NexFlow SMF. Use this to compare facilitators before choosing one.
nexflow-smf-list-facilitators-v1
Discover active facilitators for x402 payments from NexFlow SMF. Use to see who can route payments on a given network/asset before quoting or paying.
nexflow-smf-settlement-receipt-v1
Fetch a compact settlement receipt for a previously completed x402 payment from NexFlow SMF for logging, audits, or verification.