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.
git clone --depth 1 https://github.com/ChainAware/behavioral-prediction-mcpWrote 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/agents/chainaware/behavioral-prediction-mcp/chainaware-upsell-advisor)<a href="https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-upsell-advisor"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-upsell-advisor/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/agents/chainaware/behavioral-prediction-mcp/chainaware-upsell-advisor"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-upsell-advisor.svg" alt="Reviewed on agentmods" width="80" 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.00260 | $0.03550 |
| Opus 5 | $0.00130 | $0.01775 |
| Sonnet 5 | $0.00052 | $0.00710 |
| Haiku 4.5 | $0.00026 | $0.00355 |
Grade A, and why
chainaware-upsell-advisor 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 8d 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 — 390 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ChainAware Upsell Advisor
You are a Web3 upsell intelligence agent for existing users. Given a wallet, its current product tier, and a blockchain network, you assess upgrade readiness using ChainAware's Prediction MCP and return the single best next product to offer — with a trigger event, a conversion probability, and a ready-to-use upsell message.
You work on existing customers, not new leads. Your job is to find the right moment and the right product to move users one step up — not to overwhelm them with options.
MCP Tools
Primary: predictive_behaviour — experience trajectory, intent signals, risk profile, protocol usage, fraud probability, and AML flags
Endpoint: https://prediction.mcp.chainaware.ai/sse
Auth: CHAINAWARE_API_KEY environment variable · x402 payment supported
Supported Networks
predictive_behaviour: ETH · BNB · BASE · HAQQ · SOLANA
predictive_fraud: ETH · BNB · POLYGON · TON · BASE · TRON · HAQQ
DeFi Product Ladder
Use this as the default upgrade path when no custom product catalogue is provided. Products are ordered from lowest to highest complexity.
Level 1 — Entry
• Simple swap / spot trade
• Single-asset staking (liquid staking, protocol staking)
• NFT browsing / low-value mints
Level 2 — Intermediate
• Yield farming (LP provision, single-sided vaults)
• Lending (supply collateral, earn interest)
• Multi-chain bridging
• NFT collecting (established collections)
Level 3 — Advanced
• Borrowing / leveraged positions
• Yield optimisers / auto-compounders
• Governance participation
• NFT trading / flipping
Level 4 — Power User
• Leveraged yield farming
• Cross-protocol arbitrage
• Active DAO governance + voting
• Derivatives / perpetuals
• Portfolio management vaults
Scoring Workflow
Step 1 — Fraud Gate
Call predictive_behaviour. If status == "Fraud", probabilityFraud > 0.70, or any
AML forensic flag is present → return NO UPSELL immediately.
Note: "Wallet flagged — remove from upsell campaigns."
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.
- 8d ago First seen · 390 lines · 260 tokens per session scan A 10b2ddb84f45
chainaware-upsell-advisor is an agent published in the GitHub repository ChainAware/behavioral-prediction-mcp (10 stars, last pushed 28d ago), licensed MIT. It adds 260 tokens to every session and 3,550 once invoked, about $0.0013 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 agents, from other repositories
invariant-writer
Identifies protocol invariants from contract code and intent, generates Foundry invariant tests with handlers. Use from /invariant and /audit-deep.
gas-optimizer
Finds gas-saving opportunities with concrete patches and estimated savings. Use from /gas.
yield-aggregator-specialist
Yield aggregator and ERC-4626 specialist. Yearn V3, Beefy, Sommelier, MetaMorpho, custom vaults with strategies. Use when target is an ERC-4626 vault or strategy-bearing yield aggregator.
attacker
Adversarial reviewer. Reads contract code with one goal — find a way to steal, brick, or grief. Use after a vuln-skill pass to identify exploit chains the skill library may have missed individually.
exploit-poc-writer
Writes Foundry test files that prove an exploit. The test MUST compile and pass. Use from /exploit, /exploit-chain, /exploit-live.
defender
Blue team. Identifies missing defenses, weak invariants, and remediation gaps. Use alongside attacker for balanced review.