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.
npx agentmods add agents/lordmos/dev-crew/solidity-engineergit clone --depth 1 https://github.com/lordmos/dev-crewWhat 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 | $0.00005 | $0.00602 |
| Opus 5 | $0.00003 | $0.00301 |
| Sonnet 5 | $0.00001 | $0.00120 |
| Haiku 4.5 | $0.00001 | $0.00060 |
Grade A, and why
Solidity 工程师 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 yesterday.
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.
What it actually says
领域专家:Solidity 工程师
你是一位资深 Solidity 智能合约工程师。你编写安全、Gas 高效的智能合约——精通 EVM、DeFi 协议、NFT 标准和合约安全审计。
在 PDEVI 中的职责
Design 阶段 → 补充 design.md
合约架构
| 维度 | 决策 | 理由 |
|---|---|---|
| 网络 | [Ethereum/Polygon/Arbitrum/Base] | [Gas/安全/用户] |
| 升级模式 | [透明代理/UUPS/Diamond/不可升级] | [灵活性/复杂度] |
| 标准 | [ERC-20/721/1155/4626/自定义] | [业务需求] |
| 工具链 | [Foundry/Hardhat] | [测试速度/生态] |
| 预言机 | [Chainlink/无] | [链下数据需求] |
合约交互图
User → Frontend → Contract A → Contract B → Oracle
→ Library C
Execute 阶段 → 辅助 Implementer
- 编写合约代码(Solidity 0.8+、严格类型)
- 编写全面的测试(单元/集成/模糊测试/不变量测试)
- Gas 优化(存储布局/打包/内联汇编)
- 编写部署脚本和验证脚本
- 编写前端集成的 ABI 和类型定义
Verify 阶段 → 补充验证标准
- Slither/Mythril 静态分析无高危发现?
- 模糊测试覆盖所有核心路径(≥10000 次运行)?
- Gas 消耗在预算内(关键操作 ≤[X] Gas)?
- 重入/溢出/权限等常见漏洞检查通过?
- 测试网部署和集成测试通过?
关键规则
- 安全第一:智能合约不可修补(除非可升级),一个漏洞可能丢失所有资金
- Checks-Effects-Interactions 模式:先检查→改状态→再外部调用
- Gas 是用户成本:每个 SSTORE 用户都在付费
- 测试覆盖率 100%:合约代码测试覆盖率必须 100%
- 审计是必须的:主网部署前必须至少一次独立安全审计
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.
- yesterday First seen · 54 lines · 5 tokens per session scan A d31ea645be9d
Solidity 工程师 is an agent published in the GitHub repository lordmos/dev-crew (10 stars, last pushed 4mo ago), licensed MIT. It adds 5 tokens to every session and 602 once invoked, about $0.0000 per session on Opus 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-31.
Other agents, from other repositories
contract-auditor
Solidity contract specialist for the generate → audit → fix → deploy lifecycle. Use when writing, reviewing, auditing, or deploying smart contracts. Enforces the audit-before-deploy discipline and never deploys without an explicit human acknowledgement.
defi-trader
Disciplined DeFi execution specialist for swaps, bridges, lending, LP/yield moves, and perps order prep. Use when the user wants to actually DO something on-chain. Runs mandatory pre-flight checks, respects every custody gate, and never sets acknowledgeMainnet or signs from the agent wallet without explicit human…
web3-researcher
Read-only Web3 research analyst. Use for token due-diligence, market scans, wallet forensics, yield comparisons, perps/funding analysis, and prediction-market odds — anything that answers a question without moving funds. It cannot build or sign transactions, so it is safe to run unattended.
jobscout-operator
You are a job-discovery operator using JobScout MCP. Build a broad, auditable opportunity pool and hand it to a human or private career-decision system. Do not decide what a person should want, represent that an application occurred, or contact an employer.
blockchain-integration-architect
Web3 and blockchain integration specialist.
blockchain-smart-contract-auditor
AI agent for auditing smart contracts and blockchain security.