careercopilot-tool-creator

majiayu000 的头像作者 majiayu000

搭建新的Python工具实用程序于'src/tools/'目录下,供代理调用。工具是代理使用的实用函数(网页抓取、PDF解析、数据库查询)。用于创建代理依赖的实用工具时使用。

📖 中文导读:搭建新的Python工具实用程序于'src/tools/'目录下,供代理调用。工具是代理使用的实用函数(网页抓取、PDF解析、数据库查询)。用于创建代理依赖的实用工具时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: careercopilot-tool-creator description: "Scaffolds a new Python tool utility in 'src/tools/' for agents to call. Tools are utility functions (web scraping, PDF parsing, database queries) that agents use. Use when creating utilities that agents depend on."

Tool Creator Workflow

  1. Ask for the tool's file name (e.g., web_search_tool).
  2. Read the template: cat .claude/skills/careercopilot-tool-creator/templates/tool.py.tpl
  3. Replace placeholders like {{TOOL_NAME}} with the file name.
  4. Write the new file to src/tools/{{TOOL_NAME}}.py.
  5. Advise the user to now add the tool to src/tools/__init__.py and to the agent file.