Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bluelovers/opencode-tool-guides
清楚解釋 OpenCode 平台工具的使用方法,幫助開發者了解如何在不同情境下選擇並使用正確的工具。
Passed 22 of 22 test cases with the skill, and 17 of 22 without it.
and 5 more in the full report
5 fixed17 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
我想看一下 project/src 資料夾下面有些什麼檔案,同伴建議我執行模式為 '*' 的檔名匹配工具,但我擔心會把子資料夾下的幾千個檔案全抓出來。在 OpenCode 工具環境中,列出單一目錄內容最安全的工具選擇是什麼?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends using read with filePath set to the target directory. | Missed | Passed |
| Explains that glob with asterisk pattern would recursively scan subdirectories whereas read only lists the immediate directory. | Missed | Passed |
The instructions your model reads when the skill loads.
核心要點: 根據任務需求選擇最適合的工具
| 工具 | 一句話說明 | 核心參數 |
|---|---|---|
| read | 「我要看這個檔案/目錄的內容」 | filePath, offset, limit |
| glob | 「我要找符合這個模式的所有檔案」 | pattern, path |
| grep | 「我要找包含這個關鍵字的所有內容」 | pattern, path, include |
| write | 「我要建立這個檔案並寫入內容」 | filePath, content |
| bash | 「我要執行系統命令」 | command, cwd |
需要什麼操作?
│
├── 讀取檔案/目錄內容? → read
├── 搜尋檔案路徑? → glob
├── 搜尋檔案內容? → grep
├── 建立檔案+寫入內容? → write
└── 刪除檔案/資料夾? → bash
用途: 讀取檔案內容或列出目錄
// 讀取檔案內容
read({ filePath: "D:/project/package.json", limit: 10 })
// 分頁讀取
read({ filePath: "D:/project/src/index.ts", offset: 100, limit: 50 })
test cases passed, vs 17 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.