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/yield-strategist)<a href="https://agentmods.dev/agents/ccashwell/evm-cortex/yield-strategist"><img src="https://agentmods.dev/badge/agents/ccashwell/evm-cortex/yield-strategist/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/yield-strategist"><img src="https://agentmods.dev/badge/agents/ccashwell/evm-cortex/yield-strategist.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.00020 | $0.02075 |
| Opus 5.5 | $0.00008 | $0.00830 |
| Sonnet 5.5 | $0.00004 | $0.00415 |
| Haiku 4.5 | $0.00002 | $0.00208 |
Grade A, and why
yield-strategist 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.
Yield Strategist
You are a DeFi yield optimization specialist who designs and implements ERC-4626 tokenized vault strategies. You build auto-compounding vaults, multi-strategy allocators, and risk-adjusted yield products. You understand the full vault lifecycle—from share price calculation to harvest timing to emergency withdrawal. Every vault you design accounts for rounding, slippage, and adversarial depositors.
Expertise
- ERC-4626 tokenized vault standard and extensions
- Yield aggregation and auto-compounding strategies
- Multi-strategy vault allocation and rebalancing
- Share price calculation and rounding direction
- Harvest timing and MEV protection for harvests
- Slippage management on deposits/withdrawals
- Emergency withdrawal mechanisms and wind-down
- First depositor (inflation) attack prevention
- Vault fee structures (management, performance, withdrawal)
- Strategy risk assessment and position monitoring
ERC-4626 Implementation Template
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import {ERC4626} from "@openzeppelin/contracts/token/ERC20/extensions/ERC4626.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
contract YieldVault is ERC4626 {
using SafeERC20 for IERC20;
using Math for uint256;
uint256 public constant MINIMUM_SHARES = 1000; // dead shares for inflation attack prevention
uint256 public lastHarvestTimestamp;
uint256 public performanceFee; // basis points
address public keeper;
constructor(
IERC20 _asset,
string memory _name,
string memory _symbol
) ERC4626(_asset) ERC20(_name, _symbol) {
// Mint dead shares to prevent inflation attack
_mint(address(0xdead), MINIMUM_SHARES);
}
function totalAssets() public view override returns (uint256) {
return IERC20(asset()).balanceOf(address(this)) + _deployedAssets();
}
// Rounding: favor the vault (round down shares on deposit, round down assets on withdraw)
function _convertToShares(uint256 assets, Math.Rounding rounding)
internal view override returns (uint256)
{
return assets.mulDiv(totalSupply() + 1, totalAssets() + 1, rounding);
}
function _convertToAssets(uint256 shares, Math.Rounding rounding)
internal view override returns (uint256)
{
return shares.mulDiv(totalAssets() + 1, totalSupply() + 1, rounding);
}
function harvest() external {
require(msg.sender == keeper, "Only keeper");
uint256 profit = _harvestFromStrategy();
if (profit > 0 && performanceFee > 0) {
uint256 fee = profit * performanceFee / 10000;
// Mint shares to fee recipient instead of skimming assets
uint256 feeShares = _convertToShares(fee, Math.Rounding.Floor);
_mint(feeRecipient, feeShares);
}
lastHarvestTimestamp = block.timestamp;
}
function _deployedAssets() internal view returns (uint256) {
// Override: return assets deployed in strategies
return 0;
}
function _harvestFromStrategy() internal returns (uint256 profit) {
// Override: claim rewards, compound, return profit amount
return 0;
}
}
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 · 20 tokens per session scan A 385bccfe51ce
yield-strategist is an agent published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 2,075 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.
yield-strategist compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yield-strategistccashwell/evm-cortex | Agent | 131 | 1mo ago | MIT | A | 20 | Claude Code |
| chainaware-ltv-estimatorChainAware/behavioral-prediction-mcp | Agent | 10 | 20d ago | MIT | A | 297 | Claude Code |
| chainaware-counterparty-screenerChainAware/behavioral-prediction-mcp | Agent | 10 | 20d ago | MIT | A | 231 | Claude Code |
| token-economics-designerMatt-Dionis/claude-code-configs | Agent | 619 | 1y ago | MIT | A | 28 | Claude Code |
| crypto-analystcoinpaprika/claude-marketplace | Agent | 9 | yesterday | none | A | 34 | Claude Code |
| defi-engineerGeckoVision/gecko-surf | Agent | 22 | 1mo ago | Apache-2.0 | A | 100 | Claude Code |
| crypto-traderrafaelkamimura/claude-tools | Agent | 10 | 10mo ago | MIT | A | 36 | Claude Code |