starknet-tongo

starknet-tongo is a skill for Claude Code, Codex from keep-starknet-strange/starknet-agentic. It costs 61 tokens per session (2,315 once invoked), scanned A, original, MIT.

A guide for making confidential ERC-20 payments on Starknet through Tongo, a protocol that hides token balances and transfer details using encryption and zero-knowledge proofs.

In plain words
What is it for?
Use it to fund, transfer, withdraw, and roll over encrypted token balances, or to build private payment flows with audit or compliance support.
Why use it?
It supports private token transfers when ordinary blockchain payments would expose balances or transaction amounts.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the starknet-agentic-skills plugin — 19 skills, 2 commands, 1 plugin shipped together

Good fit Use it to fund, transfer, withdraw, and roll over encrypted token balances, or to build private payment flows with audit or compliance support.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keep-starknet-strange/starknet-agentic/starknet-tongo
Install

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.

Any agent
npx skills add keep-starknet-strange/starknet-agentic --skill starknet-tongo
Clone the repo
git clone --depth 1 https://github.com/keep-starknet-strange/starknet-agentic

Made for: Claude Code, Codex.

Or install starknet-agentic-skills, the plugin that ships this one along with the rest of its 19 skills, 2 commands, 1 plugin.

Wrote 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.

agentmods badge for starknet-tongo

README.md
[![agentmods](https://agentmods.dev/badge/skills/keep-starknet-strange/starknet-agentic/starknet-tongo/github.svg)](https://agentmods.dev/skills/keep-starknet-strange/starknet-agentic/starknet-tongo)
Your own site
<a href="https://agentmods.dev/skills/keep-starknet-strange/starknet-agentic/starknet-tongo"><img src="https://agentmods.dev/badge/skills/keep-starknet-strange/starknet-agentic/starknet-tongo/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.

agentmods 80×15 button for starknet-tongo

Your own site · 80×15
<a href="https://agentmods.dev/skills/keep-starknet-strange/starknet-agentic/starknet-tongo"><img src="https://agentmods.dev/badge/skills/keep-starknet-strange/starknet-agentic/starknet-tongo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,315 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.02315
Opus 5 $0.00030 $0.01157
Sonnet 5 $0.00012 $0.00463
Haiku 4.5 $0.00006 $0.00231

Measured 11d ago against content hash 3d43775e6fab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

starknet-tongo 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/demo-e2e.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/starknet-tongo/SKILL.md · 283 lines

How it starts

The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Starknet Tongo Skill

Confidential ERC20 payments on Starknet using the Tongo protocol. Tongo wraps any ERC20 token into encrypted balances using ElGamal encryption and zero-knowledge proofs. No trusted setup required.

When to Use

  • Confidential ERC20 payment flows that require encrypted balances or private transfers.
  • Compliance or auditor-enabled privacy flows built on top of Tongo accounts.

When NOT to Use

  • Standard transparent ERC20 transfers, swaps, or wallet management without privacy requirements.
  • Cairo contract authoring, deployment-only tasks, or security auditing of unrelated code.

Quick Start

  1. Install the Tongo SDK, configure the Starknet/Tongo keys, and connect a funded Starknet account.
  2. Use skills catalog if the flow expands into wallet setup, deployment, or auditing.

Prerequisites

npm install @fatsolutions/tongo-sdk starknet@^9.2.1

To run the demo script (scripts/demo-e2e.ts):

npm install dotenv && npm install -D tsx

Environment variables:

STARKNET_RPC_URL=https://starknet-mainnet.g.alchemy.com/v2/YOUR_KEY
STARKNET_ACCOUNT_ADDRESS=0x...
STARKNET_PRIVATE_KEY=0x...
TONGO_CONTRACT_ADDRESS=0x...
TONGO_PRIVATE_KEY=0x...
TONGO_AUDITOR_PRIVATE_KEY=0x...  # Optional, only needed for auditor/compliance

The demo script additionally requires both sender and receiver keys (test-only):

TONGO_PRIVATE_KEY_SENDER=0x...
TONGO_PRIVATE_KEY_RECEIVER=0x...

Core Concepts

Concept Description
Fund Convert ERC20 tokens into encrypted Tongo balances
Transfer Send encrypted amounts between Tongo accounts (ZK-proven)
Rollover Merge pending received funds into usable balance
Withdraw Convert Tongo balance back to ERC20 (public amount)
Ragequit Emergency full withdrawal of entire balance
Outside Fund Fund any Tongo account without needing their private key
Auditor Optional compliance role that can decrypt all transactions

Read the full file on GitHub · 283 lines

Files

What ships with it

2 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.

Changes

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.

  1. 11d ago First seen · 283 lines · 61 tokens per session scan A 3d43775e6fab

Subscribe to this mod's changes

starknet-tongo is a skill published in the GitHub repository keep-starknet-strange/starknet-agentic (80 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 2,315 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

snap-private-payments

Private agent-to-agent payments on Solana using zero-knowledge proofs. Deposit, withdraw, list pools, and estimate fees.

agentzeny/snap-public · 30 tokens

snap-private-payments

Private agent-to-agent payments on Solana using zero-knowledge proofs. Deposit, withdraw, list pools, and estimate fees.

agentzeny/snap-public · 30 tokens

private-payments

Prepare private stablecoin payments on Solana through tidex6, and report their outcome without ever overstating it.

koshak01/tidex6 · 27 tokens

starknet-defi

Execute DeFi operations on Starknet including token swaps via avnu aggregator, DCA recurring buys, STRK staking, and lending/borrowing. Supports gasless transactions.

internet-court/internet-court-skill · 41 tokens

fintech-expert

Expert in financial technology, payment processing, open banking APIs, PSD2, blockchain in finance, robo-advisors, and RegTech. Use when the user mentions payments, open banking, PSD2, blockchain, cryptocurrency, or robo advisor, or when the task involves Payment Processing, Blockchain in Finance, Payment Security, or…

personamanagmentlayer/pcl · 73 tokens

servicenow-irm-grc

ServiceNow Integrated Risk Management / GRC — the ServiceNow equivalent of RSA Archer (GRC) and OneTrust (privacy). Covers Risk Management, Policy & Compliance, Audit Management, Vendor / Third-Party Risk (TPRM), and Privacy Management. Use when the agent must list open risks, roll up compliance by control state, list…

Knuckles-Team/servicenow-api · 204 tokens