knowledge-base-sync

Stage, refresh, validate, and publish a local DocMason knowledge base.

135|36|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/JetXu-LLM/DocMason --skill knowledge-base-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge-base-sync
Source: https://github.com/JetXu-LLM/DocMason/tree/main/skills/canonical/knowledge-base-sync
Command: npx skills add https://github.com/JetXu-LLM/DocMason --skill knowledge-base-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stage, incrementally refresh, validate, and publish the DocMason knowledge base from the local source corpus.

Core Features & Use Cases

  • Stage and refresh the knowledge base as new or updated documents are detected in your local corpus.
  • Validate provenance and data contracts before publishing to knowledge_base/current.
  • Publish and surface the finalized knowledge base for downstream agents.

Quick Start

Run docmason status --json to inspect state, then run docmason sync --json to build or refresh the knowledge base.

Frequently Asked Questions about knowledge-base-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I incrementally sync a local knowledge base when documents change?

To incrementally sync a local knowledge base, the workflow detects new or updated documents in your local corpus, stages the changes, and validates provenance before publishing finalized data to downstream agents.

What is provenance validation in knowledge base publication?

Provenance validation in knowledge base publication verifies the origin and data contracts of staged documents before deterministic publication, ensuring downstream agents receive reliable, structured JSON outputs from the finalized corpus.

How do I stage and publish local work files for downstream agents?

You stage and publish local work files by running command execution to inspect state, applying change detection to build or refresh the corpus, then publishing finalized outputs to the current knowledge base directory.

Does knowledge base sync require local file access and shell execution?

Yes, knowledge base sync requires local file access and shell or command execution to inspect structured JSON outputs, detect document changes, and ensure deterministic publication for downstream agents.

What's the best way to validate data contracts before publishing a local corpus?

The best way to validate data contracts before publishing a local corpus is to stage incremental changes locally, verify provenance, and inspect structured JSON outputs during the sync process to ensure reliable publication.

Why does knowledge base publication fail when downstream agents cannot access current files?

Knowledge base publication may fail for downstream agents if change detection or provenance validation did not complete, preventing finalized documents from reaching the current knowledge base directory during the sync process.