npx skills add https://github.com/pseudoyu/agent-skills --skill solidity-gas-optimizationقم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.
A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities.
Skills follow the Agent Skills format.
Solidity smart contract gas optimization guidelines based on RareSkills. Contains 80+ techniques across 8 categories, prioritized by impact and safety.
Use when:
Categories covered:
Install skills using the CLI:
npx skills add pseudoyu/agent-skills
Follow the Codex skills guide and place the skill under $CODEX_HOME/skills:
# from the repo root
# defaults to ~/.codex if CODEX_HOME is unset
cp -r skills/solidity-gas-optimization "$CODEX_HOME/skills/"
Codex will auto-discover SKILL.md files in that directory on the next start.
OpenCode discovers skills from ~/.claude/skills/<name>/SKILL.md automatically. See OpenCode Skills docs for more details.
Use the /install-skill slash command to install directly from GitHub:
/install-skill https://github.com/pseudoyu/agent-skills/tree/main/skills/solidity-gas-optimization
Add --personal to install to ~/.claude/skills/ (available across all projects) or --project for .claude/skills/ (project-specific, default).
See the Claude Code Skills docs for more details.
Add the skill to your project knowledge or paste the contents of SKILL.md into your conversation.
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Examples:
Review this Solidity contract for gas optimizations
Help me optimize the storage layout for this struct
What's the most gas-efficient way to implement this ERC721?
Each skill contains:
SKILL.md - Instructions for the agentreferences/ - Supporting documentation and detailed rulesMIT