dash-protocol
Skill1 starsChanged 3 days agoBSD-3-ClauseView on GitHub
Mandatory protocol for the Dash MCP documentation layer. Governs installed docset enumeration, documentation search, full-text search enablement, and page loading through local Dash docsets.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- bootstrapSkill
- discuss-firstSkill
- entity-protocolSkill
- existence-bibleSkill
- frontmatter-protocolSkill
- kagi-searchSkill
- mandatory-toolsSkill
- markdown-protocolSkill
- ondemandSkill
- preflight-checklistSkill
- python-langSkill
- read-for-commentsSkill
- serena-protocolSkill
- subagents-protocolSkill
- todo-protocolSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 6 are distinctive, and 16 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
When this skill is active, you MUST use Dash MCP tools for any local documentation lookup, API reference query, or docset search.
- Distinctive: line 18
No other local documentation mechanism is permitted.
- Very specific: line 25
When the relevant docset is not installed or Dash search returns no useful result, fall back to kagi-search before using training data.
- Distinctive: line 30
Use Dash whenever a question can be answered from locally installed documentation, including:
- Distinctive: line 40
All local documentation lookup, docset enumeration, search, and page loading MUST go through the tools listed below.
- Very specific: line 74
If no result matches the intent, rephrase the query or fall back to kagi-search.
- Very specific: line 79
Call list_installed_docsets with no arguments.
- Very specific: line 81
Use the identifier value as the docset_identifiers argument for search_documentation.
- Very specific: line 91
If docsets is empty, no documentation sets are installed and local Dash lookup cannot proceed.
- Very specific: line 96
Use search_documentation to find symbols and topics across one or more docsets.
- Very specific: line 123
Call enable_docset_fts with the docset identifier.
- Very specific: line 138
If the docset already shows full_text_search: enabled, the call is idempotent and still returns true.
- Very specific: line 139
After enabling, re-run search_documentation with broader queries.
- Very specific: line 144
When search_documentation returns a load_url, pass it to load_documentation_page to retrieve the page content as Markdown.
- Very specific: line 161
Do not construct load_url values by hand.
- Distinctive: line 173
Before answering any code, API, or configuration question, consider whether a local Dash docset has the answer.
- Very specific: line 175
Call list_installed_docsets if the available docsets are unknown.
- Very specific: line 176
Call search_documentation with the appropriate docset identifiers.
- Very specific: line 177
If search returns only index entries or too few matches, call enable_docset_fts and search again.
- Very specific: line 179
Call load_documentation_page on the relevant load_url.
- Very specific: line 181
If Dash cannot answer, fall back to kagi-search.
- Distinctive: line 186
If you use training data, web search, or any non-Dash mechanism when a Dash MCP tool is appropriate, halt immediately, discard the …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SKILL: Dash Documentation Protocol
[ref: #dash-protocol]
This skill governs every use of the Dash MCP tools. When this skill is active, you MUST use Dash MCP tools for any local documentation lookup, API reference query, or docset search. No other local documentation mechanism is permitted.
Absolute Rule
[ref: #dash-absolute-rule]
Whenever the current task requires information that is available in local Dash docsets, you MUST use a Dash MCP tool to obtain it.
You MUST NOT guess, assume, or hallucinate API signatures, behavior, or version details that can be verified against a local docset.
When the relevant docset is not installed or Dash search returns no useful result, fall back to kagi-search before using training data.
When to Use Dash
[ref: #dash-when-to-use]
Use Dash whenever a question can be answered from locally installed documentation, including:
- The user asks to read, search, or check documentation:
look it up in the docs,check the man page,read the spec,search the documentation. - Russian user phrases:
почитай в документации,поищи в доке,посмотри в мане,посмотри в мануале,глянь в спеке,глянь в спецификации. - The agent's own reasoning surfaces a need for an API signature, behavior, version detail, or code example that may exist in a local docset.
MCP Group Declaration
[ref: #dash-mcp-declaration]
This task requires the dash MCP skill group.
All local documentation lookup, docset enumeration, search, and page loading MUST go through the tools listed below.
Tool Inventory
[ref: #dash-tool-inventory]
| Tool | Purpose |
list_installed_docsets | List all documentation sets installed in Dash. |
search_documentation | Search across selected docsets by query. |
enable_docset_fts | Enable full-text search for a specific docset. |
load_documentation_page | Load the full content of a documentation page by its load_url. |
Tool Selection Guide
[ref: #dash-tool-selection]
| Situation | Tool |
| You need to know which docsets are available. | list_installed_docsets |
| You need to find a symbol, function, class, or topic. | search_documentation |
| Broad search in a docset returns only index entries or too few matches. | enable_docset_fts |
You have a load_url from search results and need the full page. | load_documentation_page |
Choosing the Right Search Result
[ref: #dash-choose-result]
A search_documentation call may return several entries for the same name.
Pick the result using this order:
- Exact name match — prefer the result whose
nameequals the queried symbol. - API questions — prefer
Function,Method,Class,Type, orConstant. - Conceptual questions — prefer
GuideorSection. - Command recipes — prefer
Entryfrom acheatsheetdocset. - Code examples — prefer
Samplewhen the user asks for a runnable example.
If no result matches the intent, rephrase the query or fall back to kagi-search.
Listing Installed Docsets
[ref: #dash-list-docsets]
Call list_installed_docsets with no arguments.
The result is a list of docset records.
Use the identifier value as the docset_identifiers argument for search_documentation.
Example:
{}Returned identifiers are opaque strings such as wfenxqwf for Python or urmpmslc for Rust; pass them verbatim.
The platform and name fields tell you which language or library each docset covers.
If docsets is empty, no documentation sets are installed and local Dash lookup cannot proceed; fall back to kagi-search or ask the user to install the needed docset.
Searching Documentation
[ref: #dash-search-docs]
Use search_documentation to find symbols and topics across one or more docsets.
Parameters:
query(string, required): the search string.docset_identifiers(string, required): comma-separated list of identifiers fromlist_installed_docsets.search_snippets(boolean, optional, defaulttrue): request code snippets in results.max_results(integer, optional, default100): cap the result count.
Example:
{
"query": "os.path.join",
"docset_identifiers": "wfenxqwf",
"max_results": 3
}Interpret the result list; each item carries a type, a name, and a load_url that can be passed to load_documentation_page.
The search_snippets flag is forwarded to the underlying docset; in the tested docsets it does not add a separate snippet field to the result object.
Load the page to see the matching content and code examples.
Enabling Full-Text Search
[ref: #dash-enable-fts]
Some docsets require explicit full-text search activation.
Call enable_docset_fts with the docset identifier.
Parameters:
identifier(string, required): the docset identifier.
Example:
{
"identifier": "wfenxqwf"
}The call returns true for docsets that support FTS and false for docsets that do not support it or for unknown identifiers.
If the docset already shows full_text_search: enabled, the call is idempotent and still returns true.
After enabling, re-run search_documentation with broader queries; results of type Full-Text Search may now appear alongside index entries.
Loading a Documentation Page
[ref: #dash-load-page]
When search_documentation returns a load_url, pass it to load_documentation_page to retrieve the page content as Markdown.
Parameters:
load_url(string, required): the opaque URL from a search result.
Example:
{
"load_url": "http://127.0.0.1:49879/Dash/ydhmyixk/doc/library/os.path.html#//apple_ref/Function/os.path.join"
}The returned Markdown contains the whole page, even when the load_url includes an anchor.
Anchors identify the matching symbol but do not restrict the returned content.
Documentation pages can be large; if the returned content exceeds the available context budget, refine the query to a more specific symbol before loading.
Do not construct load_url values by hand; always use the URLs returned by search_documentation.
An invalid or stale load_url returns empty content and an error such as Documentation page not found..
Examples and Result Catalog
[ref: #dash-examples]
Concrete payloads for every tool, a catalog of common search_documentation result types, and error-handling patterns live in references/dash-tool-examples.md.
Load only the sections you need using the lazy-load routing rules from frontmatter-protocol.
Master Execution Workflow
[ref: #dash-workflow]
- Before answering any code, API, or configuration question, consider whether a local Dash docset has the answer.
- Identify the documentation need.
- Call
list_installed_docsetsif the available docsets are unknown. - Call
search_documentationwith the appropriate docset identifiers. - If search returns only index entries or too few matches, call
enable_docset_ftsand search again. - Choose the best result using the result-selection criteria.
- Call
load_documentation_pageon the relevantload_url. - Distill the result and answer the user.
- If Dash cannot answer, fall back to
kagi-search.
Violation Protocol
[ref: #dash-violation]
If you use training data, web search, or any non-Dash mechanism when a Dash MCP tool is appropriate, halt immediately, discard the offending output, perform the required Dash lookup, and continue from the result.
Systemic or repeated violations MUST be recorded in Serena memory under bugs/project/dash-protocol-bypass.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

