chainaware-portfolio-risk-advisor

chainaware-portfolio-risk-advisor is an agent for Claude Code from ChainAware/behavioral-prediction-mcp. It costs 290 tokens per session (3,762 once invoked), scanned A, original, MIT.

A portfolio checker for cryptocurrency tokens that assesses the chance of a rug pull, where project operators abandon a project or withdraw its funds. It also checks holder-community quality when data is available.

In plain words
What is it for?
It helps review token portfolios, identify dangerous holdings, assign a portfolio risk grade, and create a prioritized rebalancing plan on supported networks.
Why use it?
It turns separate token safety results into an overall view of portfolio risk, so risky positions are easier to spot and prioritize.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; positional $N argument.

Good fit It helps review token portfolios, identify dangerous holdings, assign a portfolio risk grade, and create a prioritized rebalancing plan on supported networks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-advisor
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.

Clone the repo
git clone --depth 1 https://github.com/ChainAware/behavioral-prediction-mcp

Made for: Claude Code.

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 chainaware-portfolio-risk-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-advisor/github.svg)](https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-advisor)
Your own site
<a href="https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-advisor"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-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.

agentmods 80×15 button for chainaware-portfolio-risk-advisor

Your own site · 80×15
<a href="https://agentmods.dev/agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-advisor"><img src="https://agentmods.dev/badge/agents/chainaware/behavioral-prediction-mcp/chainaware-portfolio-risk-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 290 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,762 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.
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.00290 $0.03762
Opus 5 $0.00145 $0.01881
Sonnet 5 $0.00058 $0.00752
Haiku 4.5 $0.00029 $0.00376

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

Security

Grade A, and why

chainaware-portfolio-risk-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 10d 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.

.claude/agents/chainaware-portfolio-risk-advisor.md · 364 lines

How it starts

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

ChainAware Portfolio Risk Advisor

You assess the rug pull risk and community health of a token portfolio. For every token provided, you run predictive_rug_pull as the primary safety check, then attempt token_rank_single as supplementary enrichment. You aggregate the results into a portfolio-level risk grade and a prioritized rebalancing plan.

Your output gives investors and DeFi protocols a clear, actionable picture of which positions are dangerous and what to do about them.


MCP Tools

Primary: predictive_rug_pull — rug pull probability, deployer risk, liquidity analysis Supplementary: token_rank_single — community rank and holder quality (pre-calculated index only) Endpoint: https://prediction.mcp.chainaware.ai/sse Auth: CHAINAWARE_API_KEY environment variable · x402 payment supported


Network Coverage

predictive_rug_pull

ETH · BNB · BASE · HAQQ

Run for every token on these networks. This is the universal safety layer.

token_rank_single

ETH · BNB · BASE · SOLANA

Attempt for tokens on supported networks. The index contains 2,500–3,000 pre-calculated tokens. Most tokens will NOT be in the index — this is expected behavior, not an error. Do NOT attempt to add missing tokens; adding tokens is a calculation-intensive task that is not available on demand.

Per-Network Tool Availability

Network Rug Pull Scan Community Rank
ETH ✅ Primary ✅ Supplementary (if in index)
BNB ✅ Primary ✅ Supplementary (if in index)
BASE ✅ Primary ✅ Supplementary (if in index)
HAQQ ✅ Primary ❌ Not supported
SOLANA ❌ Not supported ✅ Supplementary (if in index)

Your Workflow

Step 1 — Receive Input

Collect from the user:

  • List of token contract addresses, each with its network
  • Optional: position size per token (token count or USD value)
  • Optional: risk tolerance — conservative, standard (default), or aggressive

Read the full file on GitHub · 364 lines

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. 10d ago First seen · 364 lines · 290 tokens per session scan A b5a155cff983

Subscribe to this mod's changes

chainaware-portfolio-risk-advisor is an agent published in the GitHub repository ChainAware/behavioral-prediction-mcp (10 stars, last pushed 29d ago), licensed MIT. It adds 290 tokens to every session and 3,762 once invoked, about $0.0014 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.

Related

Other agents, from other repositories

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.

omermaksutii/RugProof · 54 tokens

staking-specialist

Staking-protocol specialist. Liquid staking (Lido, Rocket Pool), validator staking, single-token staking with rewards, LSD wrappers (wstETH, rETH). Use when target is a staking contract.

omermaksutii/RugProof · 46 tokens

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.

omermaksutii/RugProof · 45 tokens

zk-verifier-specialist

ZK proof-verifier contract specialist. Groth16/PLONK/Halo2 on-chain verifiers, public-input binding, pairing-precompile misuse, field-range checks, nullifier reuse, vk management. Use on any contract that calls ecPairing/ecAdd/ecMul to verify a SNARK.

omermaksutii/RugProof · 68 tokens

economic-rug-specialist

Rug-pull, tokenomics, and centralization deep-dive. Owner-drain/mint/pause/blacklist backdoors, honeypots, depeg death-spirals, ve-bribe capture. Emits a 0-100 rugability score. Use on any token, vault, or staking contract whose trust assumptions you must quantify.

omermaksutii/RugProof · 77 tokens

governance-specialist

Governance specialist. OZ Governor, Compound Governor Bravo, Compound Alpha, custom DAOs, timelocks, multisigs-as-governance. Use when target involves voting, proposing, executing.

omermaksutii/RugProof · 45 tokens