nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:madsouris/dsh-langsearch
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness (DSH) bundle that adds LangSearch web search to your agent.
langsearch_search — a native tool with ranked sources, optional
full-page text, freshness ranges, and include/exclude domain filters.langsearch provider — the built-in web_search tool is pointed at it
by the bundle patch, so both tools share one key and quota.web_fetch keeps using the shipped HTTP provider; only web search changes.
plugin_manager tool. The desktop and web profiles
include it.Clone this repository anywhere on your machine:
git clone https://github.com/madsouris/dsh-langsearch.git
In a DSH session, install the bundle from the absolute path:
plugin_manager install_bundle target=/absolute/path/to/dsh-langsearch
You can also ask the agent: “Install the DSH bundle at /absolute/path/to/dsh-langsearch.”
Restart DSH if langsearch_search does not appear in the tool list.
The package is named @local/dsh-langsearch and marked private so it is not
accidentally published to npm. Installing from the cloned directory links it
into your DSH profile.
The bundle patch inserts the langsearch row and selects it for the shared web
services:
- insert:
- id: langsearch
name: '@local/dsh-langsearch'
config:
apiKeyEnv: LANGSEARCH_API_KEY
defaultCount: 5
defaultText: true
defaultMaxCharacters: 2500
maxCount: 20
maxCharacters: 5000
webSearchCount: 8
timeoutMs: 30000
- id: web
config:
searchProvider: langsearch
fetchProvider: http
The plugin resolves LANGSEARCH_API_KEY on every request, in this order:
apiKey field of the plugin config, if you set one (not recommended);Add the key under refs in $DSH_HOME/.credentials.yaml. This is usually
~/.dsh/.credentials.yaml. Keep the rest of the file as it is:
version: 1
refs:
LANGSEARCH_API_KEY: "your-key-here"
The credential store is read per request, so the next search picks up a newly saved key without a restart.
Export the key before launching DSH:
export LANGSEARCH_API_KEY="your-key-here"
On macOS, apps launched from Finder do not inherit your shell environment. Use Option A in that case.
Never commit your key. The plugin does not write it to disk, log it, or include it in tool results.
| Key | Default | Meaning |
|---|---|---|
apiKeyEnv |
LANGSEARCH_API_KEY |
Environment-variable / credential-store name to resolve. |
endpoint |
https://api.langsearch.com/v1/web-search |
Search endpoint. Must use HTTPS. |
defaultCount |
5 |
Results per langsearch_search call when count is omitted. |
maxCount |
20 |
Hard cap for count. |
defaultText |
true |
Return full-page text when text is omitted. |
defaultMaxCharacters |
2500 |
Per-result text cap when max_characters is omitted. |
maxCharacters |
5000 |
Hard cap for max_characters. |
webSearchCount |
8 |
Result cap for the built-in web_search tool. |
timeoutMs |
30000 |
Per-attempt timeout. Retryable failures get up to three attempts. |
To change defaults, edit the config block in cordis.patch.yml before
installing. If you override the langsearch row from your own profile patch,
include every field you want to keep: a matching override replaces the whole
config.
langsearch_search({ "query": "DeepSeek Harness plugins", "count": 3 })
langsearch_search({ "query": "release notes", "freshness": "oneMonth", "include_domains": ["github.com"] })
langsearch_search({ "query": "RAG evaluation", "text": true, "max_characters": 1800 })
freshness accepts noLimit, oneDay, oneWeek, oneMonth, oneYear, a
single YYYY-MM-DD date, or a YYYY-MM-DD..YYYY-MM-DD range (UTC).
LANGSEARCH_API_KEY and the key's status in the LangSearch
dashboard.Retry-After
and the dashboard. Daily tokens reset at 00:00 UTC.apiKeyEnv.count or
max_characters; the plugin makes up to three attempts for retryable
failures.endpoint still points at the v1
Web Search API.Authorization header to that endpoint.index.js.There is no build step:
node --check index.js
Install the directory with plugin_manager install_bundle and exercise the tool
from a session. Replacing an already-installed package may require a DSH
restart so the new module generation is loaded.
MIT. See LICENSE.
This is an unofficial community plugin. It is not affiliated with LangSearch or DeepSeek.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: ai-agent。