ai-tool-discovery
Use when the agent is about to explore a project or generate AI support artifacts and needs the local tool inventory or the state and rebuild path of existing…
Skill by CloudyWing
Chalk Labs
Need help deploying ai-tool-discovery?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cloudywing-ai-tool-discovery
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ai-tool-discovery
What's inside
- Skill name
ai-tool-discovery- Description
- Use when the agent is about to explore a project or generate AI support artifacts and needs the local tool inventory or the state and rebuild path of existing .local/ai-context artifacts.
- License
- MIT
- Instructions
- 88 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# AI 工具與產物偵測
在探索專案或產生 AI 輔助產物之前,回報本機可用工具與專案既有產物狀態。工具 inventory 與專案產物狀態分開處理;inventory 快取不代表任何專案產物新鮮。
## 本機工具 Inventory
工具 inventory 固定檢查 graphify、dotnet-script、SchemaExporter、rg、ast-grep、jq 與 yq。Windows 環境以 Get-Command 定位命令。命中後依下表指定方式探測版本;SchemaExporter 只讀 executable 版本中繼資料,不執行匯出或其他功能命令。不要執行會產生專案產物、連線資料庫、呼叫模型或下載資料的命令。
版本探測方式如下:
| 工具 | 定位方式 | 版本方式 |
| --- | --- | --- |
| graphify | Get-Command graphify | graphify --version |
| dotnet-script | Get-Command dotnet-script | dotnet-script --version |
| SchemaExporter | Get-Command schemaexporter | 讀取 executable 的 FileVersionInfo.ProductVersion;空值時使用 FileVersion |
| rg | Get-Command rg | rg --version |
| ast-grep | Get-Command ast-grep | ast-grep --version |
| jq | Get-Command jq | jq --version |
| yq | Get-Command yq | 優先 yq --version;不支援時使用 yq -V,並確認輸出標記 Mike Farah 或 github.com/mikefarah/yq |
Get-Command 找不到工具時,回報「未安裝」。命令存在但版本探測失敗時,回報「已安裝、版本未確認」及原始錯誤;不得將探測失敗推論為未安裝。yq 命令存在但輸出沒有 Mike Farah 或 github.com/mikefarah/yq 識別資訊時,回報「實作未確認」,不可將同名工具當成已確認的 yq。
Inventory 快取只存工具名稱、命令定位狀態、版本或未確認原因,以及掃描時間。快取路徑為機器層 ~/.ai-agents/.local/cache/ai-tool-discovery.json,有效期為 7 天。快取採下列格式片段(完整快取有固定七種工具各一筆);欄位缺漏、型別錯誤或工具清單與固定清單不一致時視為格式無效:
```json
{
"schema": "ai-tool-discovery-cache.v1",
"scannedAtUtc": "2026-01-01T00:00:00Z",
"tools": [
{
"name": "graphify",
"commandFound": true,
"version": "0.0.0",
"versionError": null
}
]
}
```
`tools` 必須各有固定七種工具的一筆記錄;`version` 或 `versionError` 可為 null,但不可同時為非 null。讀取快取前確認 schema、工具清單與 scannedAtUtc 欄位有效;讀取失敗、掃描時間在未來、格式無效或超過 7 天時視為不可用並重掃。快取有效時直接使用,不執行 Get-Command 或版本命令。重掃時以暫存檔取代快取。
不要快取或輸出任何環境變數值、連線字串、認證資料、完整命令環境或不必要的 executable 參數。SchemaExporter 版本只讀 executable 中繼資料,不透過資料庫或連線參數探測。
Inventory 回報使用固定欄位:
| 工具 | 安裝狀態 | 版本 | 用途 | 適用時機 | 產物路徑 | 重產命令 |
| --- | --- | --- | --- | --- | --- | --- |
各工具用途、時機與產物資訊如下:
| 工具 | 用途 | 適用時機 | 產物路徑 | 重產命令 |
| --- | --- | --- | --- | --- |
| graphify | 建立程式碼關聯圖;ensure 路徑不需要 LLM 金鑰。doc/paper/image 的語意抽取需另行以 `graphify extract` 搭配使用者提供的金鑰執行,不在本線範圍。 | 需要跨檔案結構脈絡時。 | .local/ai-context/graphify/graphify-out/ | pwsh -NoProfile -File '<AiAgentsRoot>/scripts/Ensure-AiContextArtifacts.ps1' -ProjectRoot '<ProjectRoot>' -ToolName graphify |
| dotnet-script | 執行 repo 內既有 Roslyn C# Script 分析。 | 需要公開 API、型別繼承或專案參考圖時。 | .local/ai-context/api-surface.md、type-hierarchy.md、project-graph.md | Ensure-AiContextArtifacts.ps1,分別指定 Export-ApiSurface、Export-TypeHierarchy 或 Export-ProjectGraph。 |
| SchemaExporter | 以已設定的 named connection 匯出資料庫 Schema Summary 與 Snapshot。 | 需要查詢 Schema、資料庫註解或離線比對時。 | .local/ai-context/schemaexporter/<connection>/ | `schemaexporter export --connection <name> --output <temporary-directory> --schema-summary --snapshot --no-timestamp --no-open-output-folder` |
| rg | 以文字與 regular expression 搜尋來源。 | 定位名稱、設定與 SQL/EF mapping 時。 | 不適用 | 不適用 |
| ast-grep | 以 AST pattern 搜尋程式結構。 | 語法形狀穩定且需要避免文字誤比對時。 | 不適用 | 不適用 |
| jq | 查詢與轉換 JSON。 | 檢查 Snapshot 欄位或篩選 JSON 時。 | 不適用 | 不適用 |
| yq | 查詢與轉換 YAML,也可處理 JSON。 | 檢查專案 YAML 設定或資料時。 | 不適用 | 不適用 |
Inventory 實際輸出需合併以上用途與探測結果。沒有產物的工具,產物路徑與重產命令填「不適用」。SchemaExporter 的重產命令只顯示使用者指定的 named connection 名稱與必要的安全選項,不輸出連線字串、密碼或其他認證資訊;執行前遵循 database-schema-context 的能力檢查與產物更新流程。
## 專案產物狀態
使用者詢問專案既有 AI 產物時,讀取 ProjectRoot/.local/ai-context/index.md 與索引所列實際 artifact set。逐列回報狀態與可供使用者參考的重產命令。這是唯讀流程,不呼叫任何重產命令,也不建立、更新、刪除或整理產物。
索引使用 ai-context-index 宣告的五欄格式。將產物路徑解析於 ProjectRoot 之下;拒絕解析到 ProjectRoot 之外的路徑。一般檔案須存在且非空。graphify artifact set 必須是 `.local/ai-context/graphify/graphify-out/`,且其中 `graph.json` 必須存在且非空;目錄內其他檔案不能替代 `graph.json`。其他目錄 artifact set 須存在並包含檔案。Summary entry 的相對連結檔與目錄是同一 artifact set,缺少任何必需連結檔時視為不完整。
依下列規則分類:
| 狀態 | 判定 |
| --- | --- |
| 新鮮 | 索引列存在、artifact set 完整,且依工具所屬 Skill 的明確演算法重算來源指紋相同;無法重算來源指紋時,僅在所屬 Skill 明確定義的 freshness 規則有效時列為新鮮。 |
| 過期 | 索引列與產物存在,但重算來源指紋不相同,或所屬 Skill 明確定義的 freshness 時效已超過。 |
| 缺漏 | 索引列或 artifact set 缺少。索引列缺少但實際檔案存在時,仍列出實際路徑,並在判定依據標註「無索引」。 |
Ensure 產物依 ai-context-index 的來源集合計算方式讀取並重算指紋。SchemaExporter artifact set 依 database-schema-context 的設定與 freshnessDays 規則判斷,使用最舊的必需檔案時間。若某列沒有可重算指紋,且所屬 Skill 未明確定義 freshness 規則,停止該列分類並回報缺少的判定規則;不得新增第四種狀態,也不得將它冒充新鮮、過期或缺漏。
若 index.md 不存在,列出 .local/ai-context/ 下實際存在的產物並標註「缺漏/無索引」。若索引格式無效、欄位不全或路徑超出 ProjectRoot,回報具體索引錯誤,不猜測狀態。索引沒有列出但實際存在的檔案不可靜默忽略。
專案狀態回報使用固定欄位:
| 工具 | 產物路徑 | 狀態 | 判定依據 | 重產命令 |
| --- | --- | --- | --- | --- |
重產命令只作為文字回報,使用索引列或所屬 Skill 定義的安全命令。SchemaExporter 命令中的連線資訊只使用使用者指定的 named connection 名稱,不輸出連線字串或認證資訊。過期或缺漏都不會觸發重產。From CloudyWing/ai-dotfiles, MIT.
More from CloudyWing/ai-dotfiles
- 0.565score
apply-fact-check
CloudyWing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously…
SkillAFreshness: AClaude Code +9 - 0.564score
ai-context-index
CloudyWing
Use when an agent needs to create or update a project AI context index from the tools declared in AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.558score
csharp-background-service
CloudyWing
Background Service 開發規範:BackgroundService、IHostedService、Channel Queue 模式與生命週期管理。當撰寫或審查 .NET 背景工作、排程任務或佇列處理邏輯時自動套用。
SkillAFreshness: AClaude Code +9 - 0.558score
browser-smoke
CloudyWing
瀏覽器煙霧驗證流程。當需要在修改 Web UI、頁面、路由、表單、互動、樣式、響應式版面或前端狀態後使用瀏覽器驗證,或使用者明確要求檢查畫面、console/network error、互動行為與 UI 修正結果時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
api-smoke
CloudyWing
Web API 煙霧驗證流程。當需要在修改或開發 Web API 端點後驗證 API 行為,或使用者要求呼叫 Swagger、寫腳本測試 API、進行多情境 API 測試時使用。
SkillAFreshness: AClaude Code +9 - 0.555score
architecture-improvement
CloudyWing
以 Git hotspot 縮小分析範圍,使用 deletion test 篩選改善候選並產出架構改善報告。
SkillAFreshness: AClaude Code +9 - 0.555score
adr
CloudyWing
依決策門檻建立追加式 Architecture Decision Record,管理序號、狀態與被推翻的決策。
SkillAFreshness: AClaude Code +9 - 0.555score
check-markdown
CloudyWing
當要求檢查 Markdown、修正格式或整理文件時使用。依據專案文件平台修正格式與排版問題。
SkillAFreshness: AClaude Code +9 - 0.555score
create-license-and-readme-link
CloudyWing
自動判斷專案屬性並推薦合適的開源授權,建立 LICENSE 檔案並將其連結補入 README.md 中。
SkillAFreshness: AClaude Code +9 - 0.549score
codex-dispatch
CloudyWing
Codex 派工機制:依派工類型建立執行契約、以 codex exec 啟動 Codex、背景等待、取證並回收結果。當需要發動 codex、撰寫派遣單或執行派遣回收判定時使用。
SkillAFreshness: AClaude Code +9 - 0.524score
csharp-docs
CloudyWing
C# 文件與 XML 註解標準:強制使用標準標籤與用詞規範產生類別與方法的說明。Use when writing, reviewing, or generating XML documentation comments (///) in C# files, or when the user asks to add…
SkillBFreshness: BClaude Code +9 - 0.520score
codebase-design
CloudyWing
Use when 設計或審查模組邊界、Interface、Adapter、依賴方向與可測試性時。
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 19, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/CloudyWing/ai-dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CloudyWing
- 0.565score
apply-fact-check
CloudyWing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously…
SkillAFreshness: AClaude Code +9 - 0.564score
ai-context-index
CloudyWing
Use when an agent needs to create or update a project AI context index from the tools declared in AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.558score
api-smoke
CloudyWing
Web API 煙霧驗證流程。當需要在修改或開發 Web API 端點後驗證 API 行為,或使用者要求呼叫 Swagger、寫腳本測試 API、進行多情境 API 測試時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
csharp-background-service
CloudyWing
Background Service 開發規範:BackgroundService、IHostedService、Channel Queue 模式與生命週期管理。當撰寫或審查 .NET 背景工作、排程任務或佇列處理邏輯時自動套用。
SkillAFreshness: AClaude Code +9 - 0.558score
browser-smoke
CloudyWing
瀏覽器煙霧驗證流程。當需要在修改 Web UI、頁面、路由、表單、互動、樣式、響應式版面或前端狀態後使用瀏覽器驗證,或使用者明確要求檢查畫面、console/network error、互動行為與 UI 修正結果時使用。
SkillAFreshness: AClaude Code +9 - 0.555score
architecture-improvement
CloudyWing
以 Git hotspot 縮小分析範圍,使用 deletion test 篩選改善候選並產出架構改善報告。
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ai-tool-discovery running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ai-tool-discovery skill. Agent Mart. https://agentmart.dev/skills/cloudywing-ai-tool-discovery (last updated 2026-10-24)