easytool
Operate and troubleshoot EasyTool tool-instruction workflows for FuncQA, ToolBench, ToolBench retrieval, and RestBench.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- easytool
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Operate and troubleshoot EasyTool tool-instruction workflows for FuncQA, ToolBench, ToolBench retrieval, and RestBench.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/api-reference.md6.7 KB
- 参考文档references/cli-reference.md5.3 KB
- 参考文档references/data-formats.md6.1 KB
- 参考文档references/troubleshooting.md7.3 KB
- 参考文档references/workflows.md7.6 KB
- 脚本scripts/easytool_cli_check.py6.7 KB
03 SKILL.md 正文
EasyTool
Use this sub-skill when a user asks to run, adapt, or debug EasyTool's concise tool-instruction workflows for FuncQA, ToolBench, ToolBench retrieval, RestBench, data preparation, CLI options, module signatures, API-key handling, progress/resume files, or the ToolBench external tool code layout.
Do not use this sub-skill for TaskBench benchmark construction/evaluation; route that work to the TaskBench owner. Do not use it for HuggingGPT chat execution; route chat-agent work to the HuggingGPT chat owner. Do not start real dataset downloads, OpenAI calls, RapidAPI calls, or external tool execution unless the user explicitly approves the credentials/network side effects.
Start here
-
Confirm the user has an EasyTool checkout and an environment with EasyTool requirements installed.
-
Run the safe checker before any real workflow:
python scripts/easytool_cli_check.py --repo-root "$REPO_ROOT"The checker only verifies files and
main.py --help; it sets a dummy OpenAI key for help parsing when needed and applies the localutilimport workaround. -
For commands, task/data_type combinations, and progress files, read references/cli-reference.md.
-
For end-to-end preparation and execution flows, read references/workflows.md.
-
For data/test/tool layout expectations, read references/data-formats.md.
-
For callable module signatures and source-level caveats, read references/api-reference.md.
-
For import failures, missing keys, missing ToolBench tools, resume confusion, parsing retries, or download problems, read references/troubleshooting.md.
Operating rules
- Run EasyTool commands from the checkout's
easytool/directory so relative data paths resolve. - Add the inner package directory to
PYTHONPATHbefore importing or runningmain.py; several modules use absolutefrom util import *imports. OPENAI_API_KEYis required even for importingmain.pyunless a dummy value is supplied for help-only checks. Real workflows require a real key.RAPIDAPI_KEYis only required when ToolBench executes external API tool code. It does not replace the OpenAI key used for chat/embedding calls.- Treat
data_process.pyas a network/data mutation step: it downloads and extracts benchmark test data. Do not run it silently. - ToolBench real execution requires separately obtained
toolenv/toolscode with each tool'sapi.py; EasyTool's repository does not bundle that tree. - Progress text files are read from the current working directory and output JSONL files are append-only. Use clean run directories or reconcile progress before resuming.
Evidence distilled
This sub-skill is distilled from source evidence named easytool/README.md, easytool/main.py, easytool/requirements.txt, easytool/data_process.py, easytool/easytool/util.py, easytool/easytool/funcQA.py, easytool/easytool/toolbench.py, easytool/easytool/toolbench_retrieve.py, easytool/easytool/restbench.py, and the easytool/data_* schema files. These names are provenance only; runtime guidance is self-contained in this sub-skill.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).