Technical Analyst
tradermonty/claude-trading-skills
This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.
A skill your agent uses when the audit target is a DeFi protocol — AMM, lending market, yield vault, stablecoin, or perps — and you must author the economic properties generic campaigns miss, such…
$ npx skills add mtarcure/claude-vibe-squad --skill defi-invariant-check -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mtarcure/claude-vibe-squad defi-invariant-check --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/mtarcure/claude-vibe-squad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/defi-invariant-check .claude/skills/defi-invariant-check && 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 "defi-invariant-check" agent skill from https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-check into .claude/skills/defi-invariant-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defi-invariant-check", 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/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-checkType 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 mtarcure/claude-vibe-squad --skill defi-invariant-check -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mtarcure/claude-vibe-squad defi-invariant-check --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/defi-invariant-check .agents/skills/defi-invariant-check && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "defi-invariant-check" agent skill from https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-check into .agents/skills/defi-invariant-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defi-invariant-check", 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 mtarcure/claude-vibe-squad --skill defi-invariant-check -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mtarcure/claude-vibe-squad defi-invariant-check --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/defi-invariant-check .cursor/skills/defi-invariant-check && 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 "defi-invariant-check" agent skill from https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-check into .cursor/skills/defi-invariant-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defi-invariant-check", 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/mtarcure/claude-vibe-squad.git --path .agents/skills/defi-invariant-check--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 mtarcure/claude-vibe-squad --skill defi-invariant-check -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mtarcure/claude-vibe-squad defi-invariant-check --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/defi-invariant-check .gemini/skills/defi-invariant-check && 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 "defi-invariant-check" agent skill from https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-check into .gemini/skills/defi-invariant-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defi-invariant-check", 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 mtarcure/claude-vibe-squad defi-invariant-checkInstalls 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 mtarcure/claude-vibe-squad --skill defi-invariant-check -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/defi-invariant-check .github/skills/defi-invariant-check && 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 "defi-invariant-check" agent skill from https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-check into .github/skills/defi-invariant-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defi-invariant-check", 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 mtarcure/claude-vibe-squad --skill defi-invariant-check -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mtarcure/claude-vibe-squad defi-invariant-check --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/defi-invariant-check .opencode/skills/defi-invariant-check && 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 "defi-invariant-check" agent skill from https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/defi-invariant-check into .opencode/skills/defi-invariant-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defi-invariant-check", 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.
defi-invariant-checkA skill your agent uses when the audit target is a DeFi protocol — AMM, lending market, yield vault, stablecoin, or perps — and you must author the economic properties generic campaigns miss, such…
Defi Invariant Check is an agent skill from mtarcure/claude-vibe-squad. Use when the audit target is a DeFi protocol — AMM, lending market, yield vault, stablecoin, or perps — and you must author the economic properties generic campaigns miss, such as token-conservation, constant-product k, share accounting, collateralization, and oracle-deviation invariants, then falsify them.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Business, Finance & HR, covering Crypto and DeFi analysis. The repository describes itself as: Multi-model AI orchestration where behaviour is Markdown, not code. One coordinator routes scoped task packets to 71 role-based specialists across 5 model families (Codex /… The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7bd69f8. 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 bash and 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.
Defi Invariant Check loads about 2.5k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 1,144 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 mtarcure/claude-vibe-squad at commit 7bd69f8, republished under its MIT licence (© mtarcure). 1,144 words, ~2,511 tokens.
.claude/skills/defi-invariant-check/SKILL.md (or your agent's skills folder).<!-- inspired by trailofbits/skills (concept); repointed to native CLIs for Chrono -->
DeFi-specific invariant authoring and testing discipline. Use this as a sub-skill during
evm-audit-flow when the target is a DeFi protocol (AMM, lending, yield, bridge, stablecoin,
perps). Generic Echidna/Medusa campaigns miss DeFi-specific invariants — this skill provides
the property checklist. All tools are the native host CLIs (echidna, medusa, forge,
halmos) run in the target project directory; there is no wrapper layer.
Token accounting invariants (always required):
totalSupply == sum(balanceOf(all_holders)) — no spurious minting or burning.reserve0 * reserve1 >= k (for constant-product AMMs) — k-invariant never decreases except via fee accrual.totalBorrow <= totalDeposit for all lending pools — protocol cannot lend out more than deposited.sum(userShares) == totalShares for yield vaults — share accounting is consistent.Access-control invariants:
onlyOwner/onlyGovernance functions cannot be called by arbitrary external accounts.Economic/oracle invariants:
2026 incident-derived oracle-input robustness invariants (highest-priority economic class):
abs(spot - TWAP) / TWAP > maxDeviation; no value-affecting path may silently fall back
to the divergent spot. This targets the oracle/valuation-manipulation class represented by
Moonwell (2026-08-27), Lazy Summer (2026-07-06), Makina (2026-01-20), and Edel
(2026-07-01) in V114-51.V114-51.V114-51.2026 incident-derived governance/timelock invariants (second priority):
executedAt - queuedAt >= max(delayAtQueue, protocolMinimumDelay). Changing the delay,
executor, proposer, or role graph after queueing cannot accelerate that operation, and a
delay change itself becomes effective only after the pre-change delay. This targets Term
Finance's 2026-08-24 timelock-zeroing shape from V114-51.V114-51.Rounding/precision invariants (third priority, still required):
V114-51.Reentrancy invariants:
Identify the protocol class. AMM, lending, vault, bridge, stablecoin, or perps. Each class has a canonical invariant set (use the category checklist above).
Author Echidna properties. Write properties as Solidity functions with prefix echidna_ that return bool. Properties must be pure invariants (no state mutations inside the property). Place in test/invariants/EchidnaTest.sol.
Run Echidna — minimum 30 minutes for DeFi protocols:
echidna . --contract EchidnaTest --config echidna.yaml --test-limit 500000Use testMode: assertion in echidna.yaml for complex multi-step violations.
Run Medusa as a second pass if Echidna does not find violations — Medusa's coverage-guided corpus often finds violations Echidna's random mutation misses:
medusa fuzz --config medusa.jsonFlash-loan attack simulation. Manually construct a flash-loan attack call sequence in a
Forge test that instantiates a FlashLoanAttacker contract, then run forge test --match-contract FlashLoanAttacker -vvvv. Verify the k-invariant or balance-conservation invariant holds after the attack sequence.
Price-oracle and NAV manipulation check. For protocols with on-chain price oracles:
write a Forge test that varies market depth, creates large single-block spot/TWAP
divergence, and reprices each NAV component. Check whether the oracle-derived price would
enable profitable liquidations, under-collateralized borrows, or a profitable
deposit/reprice/redeem round trip (forge test --match-test testOracleManip -vvvv).
Governance/timelock check. Queue each value-moving privileged operation, then mutate the delay and role graph and attempt early or self-authorized execution. Use the target framework's time-warp primitive to assert that execution remains impossible until the greater of the queued delay and protocol minimum has elapsed.
Rounding/precision check. Fuzz zero-supply initialization, dust values around every division boundary, split-versus-batched operations, and deposit/redeem round trips. Keep tolerances in the protocol's documented units; a tolerance must not erase a zero-share mint or ghost-supply state.
CryticSetup contract that initializes the protocol to a valid post-deployment state.require(totalSupply > 0)) to avoid vacuous falsification.fallback routes correctly to the implementation in the test environment.echidna_ property that trivially returns true because the function under test is never called.passed result as proof of correctness — Echidna is a fuzzer, not a prover. Use halmos for bounded formal guarantees on critical properties (halmos --function check_ --loop 4).Writing and running an Echidna token conservation invariant:
// test/invariants/EchidnaTest.sol
contract EchidnaTest {
Token token;
function echidna_total_supply_equals_sum() public view returns (bool) {
// totalSupply must equal sum of all holder balances
return token.totalSupply() == token.balanceOf(address(this))
+ token.balanceOf(address(0xdead));
}
}echidna . --contract EchidnaTest --config echidna.yaml --test-limit 500000The task packet's injected memory contract owns the exact call shape, sequence, and fields - see
wirework-reflect. Do not copy a record(...) example or add fields (including source_task) from
memory; the server binds them, and a baked example violates the run's authenticated schema. Memory is
best-effort telemetry and never gates the work. What is worth recording here is the task-specific
outcome: protocol class, invariants tested, violations, flash-loan/oracle-manip tested?.
© mtarcure, 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 .agents/skills/defi-invariant-check of mtarcure/claude-vibe-squad.
Open the folder on GitHubat commit 7bd69f8
Defi Invariant Check 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 |
|---|---|---|---|---|---|---|
| Defi Invariant Check this skillmtarcure/claude-vibe-squad | 165 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Technical Analysttradermonty/claude-trading-skills | 3k | 4 repos | ~4.6k | Automated safety check: Pass | MIT | |
| Polyclawchainstacklabs/polyclaw | 359 | 1 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Longbridge Researchhelsome/folio | 271 | 3 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Stock Analysis24mlight/StockClaw | 101 | 2 repos | ~2k | Automated safety check: Notes | MIT | |
| Swapper Depositswapperfinance/swapper-toolkit | 852 | — | ~1.8k | Automated safety check: Pass | MIT |
tradermonty/claude-trading-skills
This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.
chainstacklabs/polyclaw
Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.
helsome/folio
Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…
24mlight/StockClaw
Analyze stocks and cryptocurrencies using Yahoo Finance data.
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
okx/agent-skills
Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.
mtarcure/claude-vibe-squad
A skill your agent uses for ALL authorized offensive-security / bug-bounty work — the single method to find, chain, prove, dedup, and package the highest-value (High/Critical) findings across every…
mtarcure/claude-vibe-squad
Operational checklist + helper for blind-rediscovery fan-out work.
mtarcure/claude-vibe-squad
A skill your agent uses when you have a confirmed on-chain vulnerability hypothesis and must demonstrate it with a passing proof-of-concept — author an attacker contract or crafted instruction…
mtarcure/claude-vibe-squad
Operator-triggered proactive compaction — Chrono externalizes load-bearing state (active decisions, open tasks, next action) to a snapshot + a durable Vault learning note before invoking Claude…
mtarcure/claude-vibe-squad
A skill your agent uses when building or revising the system prompt for a product agent and you need an eval-backed boundary, tool-use, grounding, and output contract.
mtarcure/claude-vibe-squad
A skill your agent uses when module, package, or build dependencies may contain cycles, especially load-order failures, broad rebuilds, or a planned extraction: derive the real graph, compute…
Categories
A skill your agent uses when the audit target is a DeFi protocol — AMM, lending market, yield vault, stablecoin, or perps — and you must author the economic properties generic campaigns miss, such…. Defi Invariant Check is an agent skill from mtarcure/claude-vibe-squad. Use when the audit target is a DeFi protocol — AMM, lending market, yield vault, stablecoin, or perps — and you must author the economic properties generic campaigns miss, such as token-conservation, constant-product k, share accounting, collateralization, and oracle-deviation invariants, then falsify them.
Defi Invariant Check fits situations like: the audit target is a DeFi protocol — AMM; perps — and you must author the economic properties generic campaigns miss; such as token-conservation; constant-product k.
Run `npx skills add mtarcure/claude-vibe-squad --skill defi-invariant-check -a claude-code`. Or copy the skill folder (.agents/skills/defi-invariant-check in mtarcure/claude-vibe-squad) into .claude/skills/defi-invariant-check in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mtarcure/claude-vibe-squad --skill defi-invariant-check -a codex`. Or copy the skill folder (.agents/skills/defi-invariant-check in mtarcure/claude-vibe-squad) into .agents/skills/defi-invariant-check 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 mtarcure/claude-vibe-squad --skill defi-invariant-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/defi-invariant-check, .gemini/skills/defi-invariant-check, .github/skills/defi-invariant-check and .opencode/skills/defi-invariant-check in your project.
SKILL.md names no scripts, command-line tools or credentials: Defi Invariant Check 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.
Defi Invariant Check is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k 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 Defi Invariant Check: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Polyclaw (chainstacklabs/polyclaw, 359 stars), Longbridge Research (helsome/folio, 271 stars) and Stock Analysis (24mlight/StockClaw, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mtarcure (a GitHub user) maintains it in mtarcure/claude-vibe-squad, which has 165 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on September 21, 2026.
Source: mtarcure/claude-vibe-squad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.