AGENT SKILL
example
Example skill demonstrating Python and Bash scripts
使用场景Skill与智能体开发
- License 许可
- MIT
- 所属仓库
- shaktsin/umcode
- 最近更新
- 2026-11-12
- Stars
- ★ 6
- Forks
- 2
01 前言 Front Matter
- name
- example
- runtime
- { "timeout_seconds": 30 }
- scripts
- { "fetch_data": { "path": "scripts/fetch_data.py", "description": "Python script demonstrating HTTP requests", "input_schema": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string", "description": "URL to fetch" } }, "additionalProperties": false } }, "hello_bash": { "path": "scripts/hello.sh", "examples": [ { "name": "World" } ], "description": "Bash script that greets the user", "input_schema": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "Name to greet" } }, "additionalProperties": false } }, "hello_python": { "path": "scripts/hello.py", "examples": [ { "name": "World" } ], "description": "Python script that greets the user", "input_schema": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "Name to greet" } }, "additionalProperties": false } } }
- version
- 1.0.0
- triggers
- [ "example skill" ]
- risk_level
- green
- description
- Example skill demonstrating Python and Bash scripts
- allowed_tools
- []
02 资源文件 6
- 其他pyproject.toml1.1 KB
- 参考文档README.md4.3 KB
- 参考文档requirements.txt116 B
- 脚本scripts/fetch_data.py1.3 KB
- 脚本scripts/hello.py874 B
- 脚本scripts/hello.sh785 B
03 SKILL.md 正文
Example Skill
This is an example skill template for UMCode. It demonstrates:
- Python scripts
- Bash scripts
- Input validation with JSON schemas
- Reading from stdin
- Accessing skill configuration
Installation
# Install from local path
umcode skill install /path/to/this/skill
# Or from GitHub
umcode skill install https://github.com/yourusername/umcode-skill-example.git
Scripts
hello_python
Python script that greets the user by name.
hello_bash
Bash script that greets the user by name.
fetch_data
Python script that fetches data from a URL using requests library.