My Tools
我的自定义工具集,提供获取当前时间和计算数学表达式的功能
Latest: v1.0.1
Summary: Refactored the skill to use built-in shell commands instead of custom scripts for time and calculation features.
- Removed custom scripts and updated instructions to use PowerShell commands for getting current time and calculating expressions.
- SKILL.md is rewritten to reflect the new workflow and simplified usage instructions.
- Added new files (init.py, skills.json); removed old script files (calc.py, time.py, skill-card.md).
my_tools 技能
这个技能提供以下功能,请在用户提出相关请求时调用:
get_current_time
当用户询问"现在几点"、"当前时间"、"日期"等时,使用 exec 工具执行以下命令获取当前时间:
Get-Date -Format "yyyy-MM-dd HH:mm:ss"
calculator
当用户要求计算数学表达式时,使用 exec 工具执行以下命令进行计算:
py -c "print(eval('EXPRESSION'))"
将 EXPRESSION 替换为用户提供的表达式。
