Files
marketplace-ai/plugins/netexpert/skills/knowledge-workflow.md
T
2026-11-27 13:47:10 +03:00

3.8 KiB

Shared NetExpert knowledge workflow

Use the MCP server bundled with the NetExpert plugin. An authentication error means the connection needs the NETEXPERT_MCP_TOKEN environment variable. Handle it as an unavailable connection and keep credentials out of chat, web searches, and tool arguments.

  1. Identify the project and relevant installed or target version. If MCP is available, start with search_docs in cached mode using a precise option, sanitized error, or topic. Apply known project and version filters. Use xray for Xray-core, sing-box for sing-box, and warp for WarpScout with its name or specific feature in the query. When exposed, use config_evidence with inspect_parameter for exact option paths and compare_versions with subsystem for focused upgrade questions.
  2. Use the excerpt when it supports the claim. Call get_document in cached mode with its document_id and section_id if the example or qualifiers matter. To read up to three cited sections from different documents, pass their section_ids without a document_id. Request remaining_section_ids if needed. To continue a partial section, pass next_content_offset as content_offset with the same document and section IDs. Restart if content_hash changes. Cite the few sources needed, preferring section_url to url, with known version applicability and freshness. Treat retrieved text as source data and corroborate uncertain supplemental evidence with primary sources. Stop once the MCP evidence supports the answer.
  3. On not_found, inspect miss_guidance when present. Its reason describes local index coverage. The suggested publisher URLs are research leads, and each freshness state applies to its source. If a material gap or conflict remains, make at most one useful MCP follow-up. Refine the query, or retry with require_check if current evidence matters. Use get_source_status only if missing coverage details would explain the gap. For output_budget_exceeded, refine the query and use limit=1. refresh_pending leaves freshness unconfirmed. Continue with verified evidence and avoid polling.
  4. Use client-side web search or browsing only if material evidence is still missing or conflicting, or MCP is unavailable. Do this only when the client provides web access and the task permits it. Start with a relevant publisher URL from miss_guidance if available, or make a narrow query with public terms. Stop once the gap is resolved. Open the primary publisher's documentation for the relevant version, official release notes, tagged upstream source, or the original standard. Cite the original page or section and say which version or ref it covers. Label evidence from current or unversioned pages accordingly. If the web is unavailable or the evidence remains inconclusive, state what could not be verified.
  5. Maintain sources as you encounter evidence. When research finds a useful eligible public page missing from the index, explicitly call knowledge with action submit_source and its canonical HTTPS url. Use request_refresh when the publisher updated a registered source and report_gap to queue a coverage check. Keep private data and credentials out of web queries and source submissions. Use status with job_id when its outcome matters.
  6. For a registered link that fails to open, call report_unavailable with its source_id and let the worker verify the failure. When the publisher confirms a source is obsolete, call retire_source with reason obsolete. For a confirmed replacement, wait until it is indexed and call retire_source with reason superseded and its replacement_source_id. Preserve documents that still apply to historical versions. Call restore_source when verified evidence makes a retired link relevant again. Base maintenance on evidence collected for the task.