solidity-lsp
Solidity language server providing smart contract development support including compilation, linting, security analysis, and code intelligence for .sol files. Use when working with Ethereum smart contracts, Substrate pallets, or any Solidity code that needs compilation, security checks, gas optimization, or code navigation. Essential for ClawChain pallet development.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bowen31337/solidity-lspWhat This Skill Does
The solidity-lsp skill serves as a robust development environment for Ethereum-compatible smart contracts within the OpenClaw ecosystem. By integrating industry-standard tools like solc (the Solidity compiler) and solhint (the Solidity linter), this skill provides an end-to-end development loop. It allows developers to write, lint, compile, and perform security analysis on .sol files directly through the agent. Whether you are building complex DeFi protocols, NFTs, or ClawChain-specific pallets, this skill automates the verification process, ensuring code quality and adherence to security best practices such as the Checks-Effects-Interactions pattern.
Installation
To enable this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/bowen31337/solidity-lsp. Ensure you have Node.js and npm installed on your system. You must also install the global dependencies via npm install -g solc solhint. For advanced static analysis, the skill supports integration with slither, which can be installed via pip3 install slither-analyzer. Verification of the installation is simple: execute solcjs --version and solhint --version to confirm your environment is correctly configured.
Use Cases
This skill is ideal for smart contract engineers who need to maintain clean, audit-ready code. Primary use cases include: 1. Continuous linting of development contracts to enforce style guides and safety rules defined in .solhint.json. 2. Rapid compilation and binary/ABI generation for contract deployments. 3. Automated security scanning to detect common vulnerabilities such as reentrancy or integer overflows. 4. Gas optimization feedback during the prototyping phase. 5. Providing contextual intelligence for ClawChain pallet development by resolving syntax errors and reporting compiler version mismatches.
Example Prompts
- "Check the current smart contract for security vulnerabilities and highlight any gas optimization opportunities using solhint."
- "Compile the contract located in the ./contracts directory and generate the ABI files, making sure to enable optimization."
- "Analyze the vulnerabilities in the provided smart contract code and suggest refactors to align with the Checks-Effects-Interactions pattern."
Tips & Limitations
To maximize the utility of the solidity-lsp skill, always maintain a clean .solhint.json configuration file at the root of your project to standardize security rules across your team. Be aware that while solhint handles static analysis, it does not replace a professional smart contract audit. Always use slither for deeper security insights. Remember that compiler versions must explicitly match your project's pragma statements to avoid deployment errors. If you are using frameworks like Hardhat or Foundry, ensure those environments are correctly linked, as this skill acts as a companion to, rather than a replacement for, full-featured development frameworks.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bowen31337-solidity-lsp": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
Terse
Skill by bowen31337
Identity Resolver
Skill by bowen31337
whalecli
Agent-native whale wallet tracker for ETH and BTC chains. Track large crypto wallet movements, score whale activity, detect accumulation/distribution patterns, and stream real-time alerts. Integrates with FearHarvester and Simmer prediction markets for closed-loop signal→bet workflows. Use when: user asks about whale activity, on-chain signals, large wallet movements, smart money flows, or when pre-validating crypto trades/bets with on-chain data.
agent-self-governance
Self-governance protocol for autonomous agents: WAL (Write-Ahead Log), VBR (Verify Before Reporting), ADL (Anti-Divergence Limit), VFM (Value-For-Money), and IKL (Infrastructure Knowledge Logging). Use when: (1) receiving a user correction — log it before responding, (2) making an important decision or analysis — log it before continuing, (3) pre-compaction memory flush — flush the working buffer to WAL, (4) session start — replay unapplied WAL entries to restore lost context, (5) any time you want to ensure something survives compaction, (6) before claiming a task is done — verify it, (7) periodic self-check — am I drifting from my persona? (8) cost tracking — was that expensive operation worth it? (9) discovering infrastructure — log hardware/service specs immediately.
pyright-lsp
Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.