Liquidation Heatmap Analysis
HKUDS/Vibe-Trading
Reads open-position data and liquidation heatmaps to find liquidation clusters, cascade risk and stop-hunt zones, and uses them as support and resistance signals.
A skill your agent uses when implementing liquidity mining programs, LP incentive systems, or MasterChef-style reward distribution.
$ npx skills add ccashwell/evm-cortex --skill liquidity-mining -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ccashwell/evm-cortex liquidity-mining --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/liquidity-mining .claude/skills/liquidity-mining && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "liquidity-mining" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-mining into .claude/skills/liquidity-mining/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liquidity-mining", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-miningType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ccashwell/evm-cortex --skill liquidity-mining -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ccashwell/evm-cortex liquidity-mining --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/liquidity-mining .agents/skills/liquidity-mining && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "liquidity-mining" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-mining into .agents/skills/liquidity-mining/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liquidity-mining", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill liquidity-mining -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ccashwell/evm-cortex liquidity-mining --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/liquidity-mining .cursor/skills/liquidity-mining && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "liquidity-mining" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-mining into .cursor/skills/liquidity-mining/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liquidity-mining", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ccashwell/evm-cortex.git --path skills/liquidity-mining--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ccashwell/evm-cortex --skill liquidity-mining -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ccashwell/evm-cortex liquidity-mining --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/liquidity-mining .gemini/skills/liquidity-mining && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "liquidity-mining" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-mining into .gemini/skills/liquidity-mining/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liquidity-mining", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ccashwell/evm-cortex liquidity-miningInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ccashwell/evm-cortex --skill liquidity-mining -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/liquidity-mining .github/skills/liquidity-mining && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "liquidity-mining" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-mining into .github/skills/liquidity-mining/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liquidity-mining", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill liquidity-mining -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ccashwell/evm-cortex liquidity-mining --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/liquidity-mining .opencode/skills/liquidity-mining && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "liquidity-mining" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/liquidity-mining into .opencode/skills/liquidity-mining/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "liquidity-mining", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
liquidity-miningA skill your agent uses when implementing liquidity mining programs, LP incentive systems, or MasterChef-style reward distribution.
Liquidity Mining is an agent skill from ccashwell/evm-cortex. Use when implementing liquidity mining programs, LP incentive systems, or MasterChef-style reward distribution. Covers emission schedules, gauge systems, boost mechanics, and reward claiming.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Ethereum protocol engineering squad for AI coding assistants. The licence is MIT.
Read from SKILL.md and the folder at commit f8f3301. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are solidity).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Liquidity Mining loads about 1.8k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 109 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ccashwell/evm-cortex at commit f8f3301, republished under its MIT licence (© ccashwell). 109 words, ~1,847 tokens.
.claude/skills/liquidity-mining/SKILL.md (or your agent's skills folder).The MasterChef pattern distributes a fixed emission rate across multiple pools, weighted by allocation points. Each pool accrues rewards to its stakers using the Synthetix per-token accumulator.
Pool reward rate = totalEmission * pool.allocPoint / totalAllocPoint
User reward = user.amount * (pool.accRewardPerShare - user.rewardDebt)// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
contract MasterChef is Ownable {
using SafeERC20 for IERC20;
struct UserInfo {
uint256 amount; // LP tokens staked
uint256 rewardDebt; // subtracted from accumulated reward
}
struct PoolInfo {
IERC20 lpToken;
uint256 allocPoint;
uint256 lastRewardTime;
uint256 accRewardPerShare; // scaled by 1e12
}
IERC20 public immutable rewardToken;
uint256 public rewardPerSecond;
uint256 public totalAllocPoint;
PoolInfo[] public poolInfo;
mapping(uint256 => mapping(address => UserInfo)) public userInfo;
constructor(IERC20 _rewardToken, uint256 _rewardPerSecond) Ownable(msg.sender) {
rewardToken = _rewardToken;
rewardPerSecond = _rewardPerSecond;
}
function poolLength() external view returns (uint256) {
return poolInfo.length;
}
function addPool(uint256 _allocPoint, IERC20 _lpToken) external onlyOwner {
totalAllocPoint += _allocPoint;
poolInfo.push(PoolInfo({
lpToken: _lpToken,
allocPoint: _allocPoint,
lastRewardTime: block.timestamp,
accRewardPerShare: 0
}));
}
function setPool(uint256 _pid, uint256 _allocPoint) external onlyOwner {
totalAllocPoint = totalAllocPoint - poolInfo[_pid].allocPoint + _allocPoint;
poolInfo[_pid].allocPoint = _allocPoint;
}
function pendingReward(uint256 _pid, address _user) external view returns (uint256) {
PoolInfo memory pool = poolInfo[_pid];
UserInfo memory user = userInfo[_pid][_user];
uint256 accRewardPerShare = pool.accRewardPerShare;
uint256 lpSupply = pool.lpToken.balanceOf(address(this));
if (block.timestamp > pool.lastRewardTime && lpSupply > 0) {
uint256 elapsed = block.timestamp - pool.lastRewardTime;
uint256 reward = elapsed * rewardPerSecond * pool.allocPoint / totalAllocPoint;
accRewardPerShare += reward * 1e12 / lpSupply;
}
return user.amount * accRewardPerShare / 1e12 - user.rewardDebt;
}
function updatePool(uint256 _pid) public {
PoolInfo storage pool = poolInfo[_pid];
if (block.timestamp <= pool.lastRewardTime) return;
uint256 lpSupply = pool.lpToken.balanceOf(address(this));
if (lpSupply == 0) {
pool.lastRewardTime = block.timestamp;
return;
}
uint256 elapsed = block.timestamp - pool.lastRewardTime;
uint256 reward = elapsed * rewardPerSecond * pool.allocPoint / totalAllocPoint;
pool.accRewardPerShare += reward * 1e12 / lpSupply;
pool.lastRewardTime = block.timestamp;
}
function deposit(uint256 _pid, uint256 _amount) external {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
updatePool(_pid);
if (user.amount > 0) {
uint256 pending = user.amount * pool.accRewardPerShare / 1e12 - user.rewardDebt;
if (pending > 0) {
rewardToken.safeTransfer(msg.sender, pending);
}
}
if (_amount > 0) {
pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount);
user.amount += _amount;
}
user.rewardDebt = user.amount * pool.accRewardPerShare / 1e12;
emit Deposit(msg.sender, _pid, _amount);
}
function withdraw(uint256 _pid, uint256 _amount) external {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
require(user.amount >= _amount, "insufficient balance");
updatePool(_pid);
uint256 pending = user.amount * pool.accRewardPerShare / 1e12 - user.rewardDebt;
if (pending > 0) {
rewardToken.safeTransfer(msg.sender, pending);
}
if (_amount > 0) {
user.amount -= _amount;
pool.lpToken.safeTransfer(msg.sender, _amount);
}
user.rewardDebt = user.amount * pool.accRewardPerShare / 1e12;
emit Withdraw(msg.sender, _pid, _amount);
}
function emergencyWithdraw(uint256 _pid) external {
PoolInfo storage pool = poolInfo[_pid];
UserInfo storage user = userInfo[_pid][msg.sender];
uint256 amount = user.amount;
user.amount = 0;
user.rewardDebt = 0;
pool.lpToken.safeTransfer(msg.sender, amount);
emit EmergencyWithdraw(msg.sender, _pid, amount);
}
event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
}// Halving schedule (like BTC)
function getRewardPerSecond() public view returns (uint256) {
uint256 epoch = (block.timestamp - startTime) / EPOCH_DURATION;
return initialRate >> epoch; // halve each epoch
}
// Linear decay
function getRewardPerSecond() public view returns (uint256) {
uint256 elapsed = block.timestamp - startTime;
if (elapsed >= totalDuration) return 0;
return initialRate * (totalDuration - elapsed) / totalDuration;
}Instead of owner setting allocPoints, let token holders vote on pool weights:
mapping(uint256 => uint256) public poolVotes; // pid -> total votes
mapping(address => mapping(uint256 => uint256)) public userVotes;
function vote(uint256 _pid, uint256 _weight) external {
uint256 votingPower = veToken.balanceOf(msg.sender);
require(_weight <= votingPower - usedVotes[msg.sender], "exceeded voting power");
poolVotes[_pid] += _weight;
userVotes[msg.sender][_pid] += _weight;
usedVotes[msg.sender] += _weight;
// allocPoints recalculated from poolVotes at epoch boundaries
}updatePool() called before any deposit/withdrawrewardDebt updated after every balance changeemergencyWithdraw skips reward calculation (safety valve)massUpdatePools() to prevent stale accrualaccRewardPerShare© ccashwell, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/liquidity-mining of ccashwell/evm-cortex.
Open the folder on GitHubat commit f8f3301
Liquidity Mining next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Liquidity Mining this skillccashwell/evm-cortex | 131 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Liquidation Heatmap AnalysisHKUDS/Vibe-Trading | 35k | — | ~3k | Automated safety check: Pass | MIT | |
| Strict Programming Practicescode-yeongyu/oh-my-openagent | 70k | — | ~9.5k | Automated safety check: Pass | Custom licence | |
| Referral Programalirezarezvani/claude-skills | 28k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Swiftui Liquid Glasssickn33/agentic-awesome-skills | 47k | 2 repos | ~1k | Automated safety check: Pass | MIT | |
| Soroban Liquidity Poolsickn33/agentic-awesome-skills | 47k | 1 repos | ~1.3k | Automated safety check: Pass | MIT |
HKUDS/Vibe-Trading
Reads open-position data and liquidation heatmaps to find liquidation clusters, cascade risk and stop-hunt zones, and uses them as support and resistance signals.
code-yeongyu/oh-my-openagent
Applies strict, type-first coding rules for Python, Rust, TypeScript and Go, loading the matching language reference before the agent writes or edits any code.
alirezarezvani/claude-skills
When the user wants to design, launch, or optimize a referral or affiliate program.
sickn33/agentic-awesome-skills
Implement or review SwiftUI Liquid Glass APIs with correct fallbacks and modifier order.
sickn33/agentic-awesome-skills
Automated market maker liquidity pool register: constant-product invariant curves, swap fee tiers, and LP token shares for Soroban DeFi.
affaan-m/ECC
iOS 26 液态玻璃设计系统 — 适用于 SwiftUI、UIKit 和 WidgetKit 的动态玻璃材质,具有模糊、反射和交互式变形效果。
ccashwell/evm-cortex
A skill your agent uses when preparing for a security audit, performing reconnaissance on a new codebase, or creating a protocol overview.
ccashwell/evm-cortex
A skill your agent uses when integrating with Aave V3 for lending, borrowing, flash loans, or building on top of Aave markets.
ccashwell/evm-cortex
Access control design patterns for Solidity protocols. An agent skill from ccashwell/evm-cortex.
ccashwell/evm-cortex
A skill your agent uses when running a local Ethereum node with Anvil.
ccashwell/evm-cortex
A skill your agent uses when performing systematic breadth-first review of all contracts during a security audit.
ccashwell/evm-cortex
A skill your agent uses when performing deep analysis of specific findings or high-risk areas during a security audit.
A skill your agent uses when implementing liquidity mining programs, LP incentive systems, or MasterChef-style reward distribution. Liquidity Mining is an agent skill from ccashwell/evm-cortex. Use when implementing liquidity mining programs, LP incentive systems, or MasterChef-style reward distribution.
Liquidity Mining fits situations like: implementing liquidity mining programs; LP incentive systems; masterChef-style reward distribution.
Run `npx skills add ccashwell/evm-cortex --skill liquidity-mining -a claude-code`. Or copy the skill folder (skills/liquidity-mining in ccashwell/evm-cortex) into .claude/skills/liquidity-mining in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ccashwell/evm-cortex --skill liquidity-mining -a codex`. Or copy the skill folder (skills/liquidity-mining in ccashwell/evm-cortex) into .agents/skills/liquidity-mining in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccashwell/evm-cortex --skill liquidity-mining -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/liquidity-mining, .gemini/skills/liquidity-mining, .github/skills/liquidity-mining and .opencode/skills/liquidity-mining in your project.
SKILL.md names no scripts, command-line tools or credentials: Liquidity Mining is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Liquidity Mining is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Liquidity Mining: Liquidation Heatmap Analysis (HKUDS/Vibe-Trading, 35k stars), Strict Programming Practices (code-yeongyu/oh-my-openagent, 70k stars), Referral Program (alirezarezvani/claude-skills, 28k stars) and Swiftui Liquid Glass (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ccashwell (a GitHub user) maintains it in ccashwell/evm-cortex, which has 131 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on September 30, 2026.
Source: ccashwell/evm-cortex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.