Skip to content
Back to skills

Knowledge Construction

ASecurity

"Routes KAG project setup, schema commit, builder-chain, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 8, 2026
toolsgo

Works with

  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill knowledge-construction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Knowledge Construction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Knowledge Construction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-knowledge-construction/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-knowledge-construction)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: knowledge-construction
description: "Routes KAG project setup, schema commit, builder-chain, and
  index-selection workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Knowledge Construction

Use this sub-skill when the user wants to prepare or inspect a KAG project before query-time use.

## Triggers

Common requests include:

- create or restore a project from `kag_config.yaml`
- commit a schema to the project server
- choose builder chains, readers, splitters, extractors, vectorizers, or writers
- inspect or compare index managers
- validate that a project layout is safe before building
- debug checkpointed builder runs or layout mismatches

## Start here

1. Read `references/workflows.md` for the command sequence and builder lifecycle.
2. Run `scripts/validate_project_layout.py` before any live build or schema mutation.
3. Read `references/data-and-configuration.md` for builder config keys, index choices, and file-layout assumptions.
4. Read `references/troubleshooting.md` when a namespace, schema filename, config key, or writer mode looks wrong.

## What belongs here

This sub-skill owns the tasks that turn source data into a KAG project and knowledge graph:

- `knext project create|restore|update|list`
- `knext schema commit`
- `knext schema reg_concept_rule`
- builder chain selection and local preflight checks
- index-manager choice for chunk, summary, table, outline, atomic-query, or hybrid retrieval
- domain-knowledge injection and other build-time graph preparation

## What does not belong here

- Query-time answering or trace diagnosis goes to `question-answering`.
- MCP server launch, distributed job submission, or benchmark planning goes to `mcp-and-automation`.
- Generic install/import issues go to the root troubleshooting files.

## Working rule

Prefer a safe local check first. If the layout or config is obviously wrong, fix the local project structure or report the mismatch before touching any server-mutating command.

## Common decisions

- If the namespace and schema filename disagree, stop before `knext schema commit`.
- If a custom builder component is mentioned, make sure its module is imported before registry construction.
- If a writer is destructive, confirm intent before any build or injection run.
- If a build failure looks resumable, inspect the checkpoint before deleting anything.
- If index selection is unclear, compare cost and retrieval depth before choosing the hybrid route.

## What a good answer should include

- the project folder and schema file that will be touched
- the exact chain or index manager that fits the data shape
- the minimum safe preflight to run before a live command
- whether any checkpoints, deletions, or server writes are involved
- the next command to run only after the local layout is consistent

## Stop conditions

Stop and ask for confirmation when the task would:

- create or restore a project against the wrong server
- commit a schema that does not match the namespace
- use a destructive writer mode
- require an unavailable external service or a missing custom component

## Bundled helpers

- `scripts/validate_project_layout.py` — checks that the project layout, namespace, schema file, and builder folders line up before a build.
- `references/data-and-configuration.md` — use this when choosing a builder chain or index manager.
- `references/troubleshooting.md` — use this when project creation, schema commit, or checkpoint handling fails.

Files in this skill

  • SKILL.md3.4 KB
  • references/data-and-configuration.md2.8 KB
  • references/troubleshooting.md3.9 KB
  • references/workflows.md3.2 KB
  • scripts/validate_project_layout.py7.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.