validate
What it does
This skill checks the quality of pipelines, extracted data, graph structure and ontologies in Semantica. It is for people who want to find problems before they affect results.
When to use it
- βWhen you want to check a data pipeline setup before running it.
- βWhen you want to confirm that extracted entities and relations are of good quality.
- βWhen you need a checklist of errors and warnings for a graph or ontology.
Skill link
https://github.com/semantica-agi/semantica/blob/main/plugins/skills/validate/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you check my data pipeline setup for errors and tell me which steps have missing dependencies?β
5 new skills a week. 1 minute to read.
How it works
The agent runs the matching validator for the target you choose, such as a pipeline, a single step, a graph or an ontology. It returns a checklist of errors and warnings, plus any missing dependencies between steps.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/semantica:validate
Validate pipeline and graph quality. Usage: /semantica:validate <target> [options]
$ARGUMENTS = target type + optional config or path.
pipeline [--config '<json>']
Validate a full pipeline builder configuration.
from semantica.pipeline.pipeline_builder import PipelineBuilder
from semantica.pipeline.pipeline_validator import PipelineValidator
builder = PipelineBuilder()
if config_json:
import json
builder.build_pipeline(json.loads(config_json))
# PipelineBuilder has its own quick validate
quick = builder.validate_pipeline() # returns Dict
# PipelineValidator gives full ValidationResult(valid, errors, warnings)
# Does NOT raise β always returns a result object
validator = PipelineValidator()
result = validator.validate(builder)
# Also check inter-step dependencies
deps = validator.check_dependencies(builder)
Output:
Pipeline Validation: VALID β | INVALID β
ββββββββββββββββββββββββββββββββββ
Steps: N registered
Valid: M steps
Errors (K):
β [step_name] <error message>
Warnings (J):
β [step_name] <warning message>
Dependencies:
β All dependencies resolved
β Step "<name>" depends on missing step "<dep>"
Result: <valid> β K errors, J warnings
step <step_name> [--type <type>] [--constraints '<json>']
Validate a single pipeline step.
from semantica.pipeline.pipeline_builder import PipelineBuilder
from semantica.pipeline.pipeline_validator import PipelineValidator
import json
builder = PipelineBuilder()
step = builder.get_step(step_name)
validator = PipelineValidator()
result = validator.validate_step(
step=step,
**json.loads(constraints_json) if constraints_json else {},
)
Output: same checklist format but scoped to a single step.
dependencies
Check all inter-step dependency resolution for the active pipeline.
from semantica.pipeline.pipeline_builder import PipelineBuilder
from semantica.pipeline.pipeline_validator import PipelineValidator
builder = PipelineBuilder()
validator = PipelineValidator()
deps = validator.check_dependencies(builder)
Output:
Dependency Graph:
| Step | Depends On | Status |
| step_A | β | β |
| step_B | step_A | β |
| step_C | step_X | β MISSING |
Cycles detected: YES / NO
Missing steps: [list]
extraction <file_path>
Validate extraction quality for a file β entity confidence, relation density, coverage.
from semantica.semantic_extract.extraction_validator import ExtractionValidator
from semantica.semantic_extract import (
NamedEntityRecognizer,
RelationExtractor,
)
from semantica.semantic_extract.cache import extraction_cache
extraction_cache.clear() # prevent cross-invocation cache pollution
text = open(file_path).read()
ner = NamedEntityRecognizer()
rel = RelationExtractor()
entities = ner.extract(text)
relations = rel.extract(text)
validator = ExtractionValidator()
issues = validator.validate(entities, relations)
Output:
Extraction Validation: <file_path>
Entities: N extracted
Relations: M extracted
Avg confidence: 0.83
Errors (K):
β <issue>
Warnings (J):
β <warning>
Quality score: X/100
graph
Check schema conformance, referential integrity, and structural health.
from semantica.kg.graph_validator import GraphValidator
from semantica.context import ContextGraph
graph = ContextGraph()
validator = GraphValidator(graph)
result = validator.validate()
Output:
Graph Validation:
Nodes: N | Edges: M
Node types: K valid, J unknown
Referential integrity:
β Dangling edge: <source> β <missing target>
Schema conformance:
β Node "<id>" missing required property "<prop>"
Result: N errors, M warnings
ontology
Validate ontology consistency and evaluate competency questions.
from semantica.ontology import OntologyValidator
validator = OntologyValidator()
result = validator.validate()
cq_results = validator.evaluate_competency_questions()
Output:
Ontology Validation:
Classes: N
Properties: M
Consistent: YES β | NO β
Competency questions:
β "Can we find all instances of X?" β answered
β "Is Y a subclass of Z?" β failed: <reason>
Result: N consistency errors, M CQ failures
performance
Validate pipeline performance characteristics β bottlenecks, parallelism, and resource use.
from semantica.pipeline.pipeline_builder import Pipeli
FAQ
Will validation stop a run?
No. The validators return a result listing the issues rather than stopping the run.
What can be validated?
Pipelines, single steps, dependencies, extraction quality, graphs, ontologies and performance.
Is there a summary of the result?
Yes. Each check ends with a valid or invalid result and a count of errors and warnings.
Details
Original description by the author
Validate Semantica pipelines, extraction quality, graph schemas, and ontology consistency. Returns structured error/warning checklists. Uses PipelineValidator, PipelineBuilder.validate_pipeline(), GraphValidator, and OntologyValidator. Sub-commands: pipeline, step, dependencies, extraction, graph, ontology, performance.
repo: semantica-agi/semantica
Popularity
- GitHub stars
- 14k
- Ranking position
- #11157
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
semantica
14kGives your agent a full toolkit for knowledge graphs, covering extraction, reasoning, provenance, ontologies, policies and exports.
causal
14kHelps your agent trace cause-and-effect links in a knowledge graph, including chains of causes, what-if scenarios and influence scores.
change
14kShows your agent how a knowledge graph looked at an earlier date, and what changed between two dates or two ontology versions.
decision
14kHelps your agent record, search, explain and review decisions in a knowledge graph, from the first note through to its outcome.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.