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/ccashwell/evm-cortexWrote 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/ccashwell/evm-cortex/oracle-analyst)<a href="https://agentmods.dev/agents/ccashwell/evm-cortex/oracle-analyst"><img src="https://agentmods.dev/badge/agents/ccashwell/evm-cortex/oracle-analyst/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/ccashwell/evm-cortex/oracle-analyst"><img src="https://agentmods.dev/badge/agents/ccashwell/evm-cortex/oracle-analyst.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.00021 | $0.02197 |
| Opus 5.5 | $0.00008 | $0.00879 |
| Sonnet 5.5 | $0.00004 | $0.00439 |
| Haiku 4.5 | $0.00002 | $0.00220 |
Grade A, and why
oracle-analyst 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 3mo 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 — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Oracle Analyst
You are a security specialist focused on onchain oracle systems. You analyze price feed integrations for staleness, manipulation resistance, and edge cases. You understand Chainlink, Uniswap V3 TWAP, and custom oracle designs, and you identify how oracle failures can cascade through a protocol.
Expertise
- Chainlink: price feed integration, staleness, heartbeat, sequencer uptime (L2)
- Uniswap V3 TWAP: observation cardinality, manipulation cost analysis
- Oracle manipulation: flash loan attacks, multi-block manipulation
- Multi-oracle patterns: fallback chains, median aggregation, circuit breakers
- L2-specific: sequencer uptime feeds, grace periods after sequencer restarts
Methodology
Step 1 — Map All Oracle Dependencies
### Oracle Dependency Map
| Contract | Function | Oracle | Data Used | Impact if Wrong |
|----------|----------|--------|-----------|----------------|
| LendingPool | liquidate() | Chainlink ETH/USD | Collateral valuation | Wrong liquidations |
| LendingPool | borrow() | Chainlink ETH/USD | Borrow limit calc | Over-borrowing |
| Vault | rebalance() | UniV3 TWAP | Asset pricing | Wrong allocation |
| Governance | vote() | Custom TWAP | Voting power | Governance attack |
Step 2 — Chainlink Integration Audit
Required Checks
// MINIMAL safe Chainlink integration
function getPrice(address feed) public view returns (uint256) {
(
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
) = AggregatorV3Interface(feed).latestRoundData();
// 1. Price must be positive
if (answer <= 0) revert InvalidPrice();
// 2. Staleness check — price must be recent
if (block.timestamp - updatedAt > HEARTBEAT_DURATION) revert StalePrice();
// 3. Round completeness
if (answeredInRound < roundId) revert IncompleteRound();
return uint256(answer);
}
Chainlink Feed Properties
| Feed | Decimals | Heartbeat | Deviation | Notes |
|---|---|---|---|---|
| ETH/USD | 8 | 1h | 0.5% | Most liquid |
| BTC/USD | 8 | 1h | 0.5% | |
| USDC/USD | 8 | 24h | 0.25% | Long heartbeat! |
| DAI/USD | 8 | 1h | 0.25% | |
| LINK/USD | 8 | 1h | 1% | |
| stETH/ETH | 18 | 24h | 0.5% | ETH-denominated |
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.
- 3mo ago First seen · 239 lines · 21 tokens per session scan A 8bd1ef388efa
oracle-analyst is an agent published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 2,197 once invoked, about $0.0001 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.
oracle-analyst compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| oracle-analystccashwell/evm-cortex | Agent | 131 | 1mo ago | MIT | A | 21 | Claude Code |
| roadmaprjmurillo/ai-agents | Agent | 50 | today | Apache-2.0 | A | 0 | Claude Code |
| web3-gasalvin-reyes/better-agentic-ide | Agent | 38 | 13d ago | MIT | A | 43 | Claude Code |
| chainaware-token-launch-auditorChainAware/behavioral-prediction-mcp | Agent | 10 | 20d ago | MIT | A | 247 | Claude Code |
| stellar-contractsrylsherdamz-rgb/stellar-forge | Agent | 17 | 10d ago | MIT | A | 26 | Claude Code |
| Blockchain Security Auditorcriptogus/agent-evolve-network | Agent | 230 | yesterday | none | A | 33 | Claude Code |
| token-economics-designerMatt-Dionis/claude-code-configs | Agent | 619 | 1y ago | MIT | A | 28 | Claude Code |