dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
Structured AMDGPU code-object and ISA inspection for DeepSeek Harness.
The plugin turns an existing HSACO or AMDGPU ELF file into bounded JSON that an agent can query. It reports compiler artifacts without compiling source, executing a kernel, predicting performance, or prescribing an optimization.
AMDGPU ELF -> llvm-readelf + llvm-objdump -> normalized object model -> DSH tools
amdgpu_object_inspectList kernels and report public code-object metadata plus instruction-category counts:
{ "path": "/tmp/vector-add.hsaco" }
amdgpu_isa_queryQuery one kernel's normalized instruction stream without placing the complete disassembly in model context:
{
"path": "/tmp/vector-add.hsaco",
"kernel": "vector_add",
"opcodes": ["scratch_*", "s_waitcnt"],
"cursor": 0,
"limit": 40
}
The result contains addresses, opcodes, operands, categories, and a nextCursor when more matches remain.
Requirements:
/opt/rocm/llvm/bin or on PATHInstall the bundle from GitHub:
dsh plugin --profile web add github:yujiaoliang/dsh-plugin-amdgpu-inspect
dsh --profile web
The package ships plain ESM JavaScript and needs no install-time build script.
skills/kernel-xray/SKILL.md is the opinionated layer: it tells an agent how to compile before/after artifacts, query this plugin, form hypotheses, and require a workload measurement before claiming a speedup. The plugin itself remains a low-level facts API.
llvm-readelf --notes supplies public AMDGPU metadata.llvm-objdump --disassemble --demangle supplies ISA.This version invokes LLVM and reads the artifact directly on the DSH host. It does not inherit a deployment's virtual filesystem or subprocess provider, so treat access as host-local rather than sandboxed. It never loads the artifact into an HSA runtime or executes GPU code. LLVM diagnostics can expose local paths.
Tests use synthetic public-format metadata and disassembly; no GPU or ROCm installation is required:
npm test
MIT. ROCm and LLVM are external tools and are not redistributed.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。