Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.
日本語の概要は準備中です。原文の説明を表示しています。
可重跑的数学计算与反例实验。用于 SymPy 精确代数/微积分/方程/矩阵、NumPy/SciPy 数值方法、mpmath 高精度交叉检查、OEIS 序列识别、有限范围反例搜索和计算证据记录。
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
用成熟计算库生成可重跑证据;计算用于发现、反驳和核对,不越权成为一般性证明。
本 skill 覆盖形式化方法地图中的“SAT/SMT、符号执行和决策过程”横向自动化,以及有限的数值/符号实验;它不替代规格与语义、演绎证明、模型检查或抽象解释。需要 Lean proof term 和 kernel 检查时转交 math-formalization,需要精确定义和来源时先转交 math-discovery。完整地图见 FORMAL-METHODS-MAP.md。
math-discovery 完成准入。smoke_checked 才可生成计算证据,只有独立 verifier adapter 达到 verifier_admitted 才可作为验证器;survey 文档和固定源码不算运行能力。solve() 或无 timeout heredoc。任何计算动手前,先运行 python3 scripts/compute_plan.py --kind <类型> --n <规模> --dtype <精度>,批量搜索还必须提供 --ops-per-sample 或 --flops;按输出 route 选择 CPU 或 GPU,并把路由决策与原因写入执行记录:
| 工具族 | 解释与说明 |
|---|---|
symbolic 与 mpmath | 固定走 CPU;精确或任意精度计算没有本项目 GPU route。 |
small-numeric | 固定走 CPU;单次小规模任务的 GPU 无收益。 |
dense-numeric | 只有规模/运算量达阈值、精度为 f32/f64 且 GPU 可用时才考虑 GPU;否则回退 CPU。 |
batch-search | 只有运算量达阈值且 GPU 可用时才考虑 GPU;GPU 只做粗筛,精确复核回 CPU。 |
COMPUTE_FORCE_CPU=1 可强制走 CPU,节点预算由 COMPUTE_MEMORY_BUDGET_GB / COMPUTE_MEMORY_HEADROOM_GB / COMPUTE_THREADS_MAX 运行时注入。numeric-check 支持,不得提升证据等级;候选必须回 CPU 用 SymPy/mpmath/FP64 精确复核。先按问题域运行能力探针;不得只凭包名、PATH 或 Agent 自报认定工具可用:
python3 scripts/check_math_tools.py --profile <profile> --strict
profile 与具体工具入口见 references/tool-catalog.md。项目 .venv、系统 Python、Sage 和 Lean 是独立运行时,禁止跨运行时猜测 import。
import sympy as sp
x = sp.symbols("x", real=True)
delta = sp.simplify(lhs - rhs)
status = "symbolically-checked" if delta == 0 else "not-verified"
执行记录至少包含:输入表达式、假设、库版本、精确/近似模式、命令或脚本、输出、失败条件、claim level。
性能口径:符号表达式可能发生组合爆炸;矩阵稠密求解通常为 O(n^3)/O(n^2) 内存;批量数值优先 lambdify/向量化、稀疏结构和有界采样。
lhs = sin(x)^2 + cos(x)^2,rhs = 1。trigsimp/simplify。symbolically-checked。refuted-for-stated-domain;未找到只报告覆盖范围。python3 scripts/compute_plan.py --kind batch-search --n 1e8 --ops-per-sample 200 --dtype f32,按 route 选择 GPU 或 CPU;GPU 命中候选后用 SymPy/mpmath 精确复核。numeric-check。references/source-map.md:CAS、数值方法和 OEIS 来源映射。references/tool-catalog.md:数学工具、运行时、用法、profile 与证据边界。references/pressure-tests.md:数值/符号证据越权压力场景。wentor-research-plugins 数学技能、kdense-scientific-skills 的 SymPy skill。python3 scripts/smoke_math.py 与 python3 scripts/check_math_tools.py --profile <profile> --strict;库 API 以当前官方文档和实测为准。まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.
日本語の概要は準備中です。原文の説明を表示しています。
Pre-deployment security audit of Solidity smart contracts in a Foundry project. Combines static analysis (Slither, Aderyn), symbolic execution (Mythril), and property-based testing (forge fuzz + invariant tests with handlers) to catch reentrancy, access-control, oracle/price manipulation, and arithmetic bugs BEFORE deploying to an EVM chain. Also enforces key hygiene (no plaintext private keys, encrypted cast keystore) and a secure deploy workflow. Use when writing, reviewing, testing, or deploying Solidity/Foundry contracts, building a dApp, or working with forge/cast/anvil, MetaMask, or Web3/DeFi code.
日本語の概要は準備中です。原文の説明を表示しています。
Claude Skills meta-skill: extract domain material (docs/APIs/code/specs) into a reusable Skill (SKILL.md + references/scripts/assets), and refactor existing Skills for clarity, activation reliability, and quality gates.
日本語の概要は準備中です。原文の説明を表示しています。
tmux 自动化操控:用 scripts/auto-tmux.sh 安全读取、发送、巡检、救援、录制 session|window|pane,用 swarm-state.sh 管理蜂群任务/锁/状态,并基于 oh-my-tmux 组织多 AI 终端协作。触发:capture-pane、send-keys、批量巡检、蜂群 AI 协作、卡死救援、tmux 工作台初始化。
日本語の概要は準備中です。原文の説明を表示しています。
数学公式与理论线推导。用于整理散乱公式、固定不变量和记号、推导恒等式/近似/局部命题、检查隐藏假设,或把理论笔记变成可审计推导包。
日本語の概要は準備中です。原文の説明を表示しています。
数学问题发现与证据检索。用于界定研究问题、查定义/定理谱系、检索 arXiv/Scholar/OpenAlex/Crossref、建立来源账本、证据图、查新或从证据缺口生成可证伪猜想。
日本語の概要は準備中です。原文の説明を表示しています。