knowledge-base
Use this sub-skill for EverOS knowledge document upload, topic taxonomy, knowledge search, provider gates, and knowledge storage troubleshooting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- knowledge-base
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use this sub-skill for EverOS knowledge document upload, topic taxonomy, knowledge search, provider gates, and knowledge storage troubleshooting.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/knowledge-api.md2.3 KB
- 参考文档references/storage-and-taxonomy.md1.8 KB
- 参考文档references/troubleshooting.md1.4 KB
- 脚本scripts/knowledge_api_probe.py3.7 KB
03 SKILL.md 正文
EverOS Knowledge Base
Use this sub-skill for EverOS knowledge documents and topics: uploading source files, replacing documents, patching metadata, listing documents/categories, reading topics, searching knowledge, and diagnosing knowledge provider gates.
Read/run map
- Read knowledge API for endpoint shapes, multipart fields, search request fields, and the provider gate contract.
- Read storage and taxonomy for category/document/topic layout,
.taxonomy.md,_original/, and Markdown source-of-truth behavior. - Read troubleshooting for missing embedding/rerank, parser, unsupported format, oversized upload, and downgrade scenarios.
- Run knowledge_api_probe.py against a running server. It defaults to safe read probes; writes require
--allow-writeand a file.
Core routes
All routes are under /api/v2/knowledge for new integrations:
| Route | Capability |
|---|---|
POST /documents |
Upload and extract a knowledge document. |
PUT /documents/{doc_id} |
Replace a document atomically. |
PATCH /documents/{doc_id} |
Update title/category metadata. |
DELETE /documents/{doc_id} |
Delete a document. |
GET /documents |
Paginated document list. |
GET /documents/{doc_id} |
Document detail with topics. |
GET /topics/{topic_id} |
Full topic detail. |
GET /categories |
Taxonomy categories. |
POST /search |
Keyword/vector/hybrid knowledge retrieval. |
Non-negotiable gate facts
Knowledge writes (POST, PUT) and knowledge search require both embedding and rerank capability. Reads, deletes, and metadata patch remain reachable if a deployment downgrades from Tier 3 to Tier 1/2. This lets users inspect, rename, recategorize, and clean up existing documents even when providers are no longer configured.
Plain UTF-8 Markdown/text/RST files can bypass the parser path. PDF, HTML, Office, image, and other non-text formats may require parser and multimodal LLM support; Office formats also need LibreOffice.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).