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 AftermathFinance/skills --skill aftermath-ts-sdkgit clone --depth 1 https://github.com/AftermathFinance/skillsWrote 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/aftermathfinance/skills/aftermath-ts-sdk)<a href="https://agentmods.dev/skills/aftermathfinance/skills/aftermath-ts-sdk"><img src="https://agentmods.dev/badge/skills/aftermathfinance/skills/aftermath-ts-sdk.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.00082 | $0.01174 |
| Opus 5 | $0.00041 | $0.00587 |
| Sonnet 5 | $0.00016 | $0.00235 |
| Haiku 4.5 | $0.00008 | $0.00117 |
Grade A, and why
aftermath-ts-sdk 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 7d 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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Aftermath TypeScript SDK
This skill documents aftermath-ts-sdk v3.1.0 against the Aftermath API as of
2026-08-19. Read the focused reference files only for the package or
compatibility surface being changed.
Start with the supported entry point
Install and import the package by its actual name:
npm i [email protected]
import { Aftermath } from "aftermath-ts-sdk";
const sdk = await Aftermath.create({ network: "MAINNET" });
const pools = sdk.Pools();
const perps = sdk.Perpetuals();
Do not use the old new Aftermath(...); await init() pattern or the old
@aftermath-finance/sdk package name. Direct construction is private; the
async factory bootstraps addresses and a SuiGrpcClient.
Choose the surface
| Need | Use |
|---|---|
| Initialization, network overrides, BigInt, abort signals, gRPC, JSON-RPC, or transport errors | transport-and-lifecycle.md |
| Pool/farm/staking/router/coin/wallet/general package methods | packages.md |
| Perpetual markets, accounts, vaults, order builders, TWAP, or WebSockets | perpetuals.md |
| Determine whether an SDK method matches the current API service | backend-alignment.md |
| Raw endpoint payloads and operational safety | ../api/SKILL.md and its focused references |
The root package re-exports the configured provider, selected package classes,
types, casting helpers, and transport error utilities. Prefer
sdk.<Accessor>() for configured clients; the accessors are functions, not
singleton properties. The current configured accessors are Pools, Staking,
SuiFrens, Faucet, Router, NftAmm, ReferralVault (deprecated),
Referrals, GasPools, Perpetuals, Rewards, Farms, Dca, Multisig,
LimitOrders, UserData, Sui, Prices, Wallet(address),
Coin(coinType?), DynamicGas, and Auth. At v3.1.0, not every accessor
class is re-exported from the package barrel (Dca, LimitOrders,
Multisig, Referrals, Rewards, UserData, and DynamicGas are the
important exceptions); use the configured accessors instead of assuming a
direct named import exists.
What ships with it
5 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.
- 7d ago First seen · 86 lines · 82 tokens per session scan A aa6dd8313afd
aftermath-ts-sdk is a skill published in the GitHub repository AftermathFinance/skills (5 stars, last pushed 16d ago), licensed Apache-2.0. It adds 82 tokens to every session and 1,174 once invoked, about $0.0004 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-31.
Other skills, from other repositories
signature-replay
Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.
official-sui-skills
Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…
trading-signal
Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…
bridge
Cross-chain token transfers using Wormhole and CCTP.
onchainkit
Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.