Install
openclaw skills install skill4agentUse this skill when you need to search, read, and install skills from the online skill library. Support by Chinese.
openclaw skills install skill4agentUse CLI commands or API interfaces provided by the skill4agent platform to implement a complete workflow for searching skills, reading skill details, and installing skills.
This skill provides two mutually exclusive usage options:
npx skill4agent commandsChoose one option based on the available environment. If Node.js is available, prefer the CLI option for convenience. If Node.js is not available, use the API option.
Purpose: Find relevant skills using Chinese, English, or mixed Chinese-English keywords
# Basic search (recommended to use -j for JSON format output)
npx skill4agent search <keyword> -j
# Control the number of returned results (recommended to use -j for JSON format output)
npx skill4agent search <keyword> -j -l <number>
https://skill4agent.com/api/search?keyword=<keyword>
Parameter Description:
keyword (required): Search keyword (supports Chinese, English, or mixed Chinese-English)limit (optional): Number of returned results, default 10, maximum 50Important Return Fields:
skillId: Skill IDsource: Skill source repositoryskill_name: Skill namedescription: Skill descriptiontags: Skill tagstotalInstalls: Number of installationsread_skill_url: Skill detail URLdownload_zip_url: Skill download URLtranslation: Translation information (original language, whether translation is available, translated language)script: Script check information (whether scripts are included, whether sensitive code exists, specific locations of sensitive code)Purpose: View detailed information and complete content of skill (SKILL.md)
# Read original content (recommended to use -j for JSON format output)
npx skill4agent read <source> <skill_name> -j
# Read translated content (recommended to use -j for JSON format output)
npx skill4agent read <source> <skill_name> --type translated -j
https://skill4agent.com/api/skills/info?source=<source>&skill_name=<skill_name>
Parameter Description:
source (required): Skill source repository (obtained from search results)skill_name (required): Skill name (obtained from search results)type (optional): Content type (original/translated), default originalImportant Return Fields:
skillId: Skill IDsource: Skill source repositoryskill_name: Skill namedownload_zip_url: Skill download URLtranslation: Translation information (original language, whether translation is available, translated language)script: Script check information (whether scripts are included, whether sensitive code exists, specific locations of sensitive code)content: Detailed skill content (complete content of SKILL.md)Purpose: Install skills to local projects
# Install original skill
npx skill4agent install <source> <skill_name>
# Install translated skill
npx skill4agent install <source> <skill_name> --type translated
https://skill4agent.com/api/download/<skillId>?type=<type>
Parameter Description:
skillId (required): Skill ID (obtained from search results or skill detail information)type (optional): Content type (original/translated), default original.agents/skills/<skill_name> directory under the current directory<skill_name> directoryUse the returned script field to check whether the skill contains scripts and whether sensitive code exists.
has_script: true means the skill contains scriptsscript_check_result:
safe: Script is safeneed attention: Contains sensitive codescript_check_notes: Specific locations of sensitive code, need to recheck after installationNote: For skills that contain scripts with sensitive code, you must obtain user consent before installation. After installation, recheck the sensitive code locations listed in script_check_notes along with the code context to ensure there are no risks of malicious programs, unauthorized access to user private information, modification or deletion of local files, or changes to system configurations.
description, tags, and totalInstallsscript_check_notes along with the code context after installation to ensure there are no risks of malicious programs, unauthorized access to user private information, modification or deletion of local files, or changes to system configurations.When no results are found:
-j parameter to search and read commands to return JSON format output for easier parsingtranslation field)