Imported from LoxtepInc/loxtep-plugins-skills (
opencode/skills/loxtep-semantic-layer/SKILL.md). Install upstream withnpx skills add LoxtepInc/loxtep-plugins-skills --skill loxtep-semantic-layer. Copyright stays with the author.
name: loxtep-semantic-layer description: Use when the user wants to search the semantic layer, retrieve semantic artifacts, check semantic completeness, or manage canonical knowledge (strategy, positioning, brand voice, org structure, process docs). metadata: documentation: https://github.com/LoxtepInc/loxtep-plugins-skills/blob/main/opencode/skills/loxtep-semantic-layer/SKILL.md
Semantic Layer (Customer MCP)
Search and inspect the organization's semantic layer - curated business definitions, metrics, dimensions, and completeness scores. Also manage canonical knowledge artifacts like strategy, positioning, brand voice, org structure, and process documentation.
When to use
- "Search semantic layer", "find semantic artifact", "completeness score"
- "What metrics / dimensions / definitions exist for X?"
- "How complete is the semantic layer?"
- "Upload unstructured context knowledge", "add canonical knowledge", "create/update strategy", "brand voice", "org structure", "process documentation"
- "Store business strategy for agents", "Define our brand positioning", "Document organizational structure"
Prerequisites
- MCP auth. Operations are organization-scoped.
Happy-path flow
Search and retrieval
search_semantic_layerwith a query term to discover relevant artifacts.get_semantic_artifactbyartifact_type+idto inspect a specific artifact.get_semantic_completenessto assess overall semantic coverage.
Canonical knowledge management
create_canonical_knowledgeto store organizational knowledge (strategy, positioning, brand voice, org structure, process docs).get_canonical_knowledgeto retrieve specific knowledge artifacts.update_canonical_knowledgeto modify existing knowledge bases.
Operations
| Facade | Operation | Permission |
|---|---|---|
loxtep_meaning |
search_semantic_layer |
search |
loxtep_meaning |
get_semantic_artifact |
read |
loxtep_meaning |
get_semantic_completeness |
read |
loxtep_meaning |
create_canonical_knowledge |
write |
loxtep_meaning |
get_canonical_knowledge |
read |
loxtep_meaning |
update_canonical_knowledge |
write |
MCP mapping
| Step | operation |
Scope | Notes |
|---|---|---|---|
| Search | search_semantic_layer |
organization | Filters: artifact_types, domain, domain_id, industry_relevance |
| Get artifact | get_semantic_artifact |
organization | Requires artifact_type + id |
| Completeness | get_semantic_completeness |
organization | Optional domain_id filter |
| Create knowledge | create_canonical_knowledge |
organization | Requires type, title, body, classification |
| Get knowledge | get_canonical_knowledge |
organization | Requires id |
| Update knowledge | update_canonical_knowledge |
organization | Requires id + fields to update |
Canonical Knowledge Types
The semantic layer supports structured organizational knowledge artifacts that agents can query for context:
| Type | Description | Example Use Case |
|---|---|---|
strategy |
Business strategy, mission, vision, goals | "What is our Q4 revenue target?" |
positioning |
Market positioning, competitive differentiation | "How do we position against competitors?" |
brand_voice |
Brand voice guidelines, tone, communication style | "Write in our brand voice" |
org_structure |
Organizational hierarchy, team structure, roles | "Who owns the sales domain?" |
process_doc |
Business processes, procedures, workflows | "How do we handle customer onboarding?" |
Creating Canonical Knowledge
{
"operation": "create_canonical_knowledge",
"type": "strategy",
"title": "Q4 2024 Revenue Strategy",
"body": "Our strategy is to increase ARR by 40% through expansion of enterprise accounts...",
"classification": "internal",
"owner": "strategy-team@company.com"
}
Retrieving Knowledge
{
"operation": "get_canonical_knowledge",
"id": "<knowledge-id>"
}
Updating Knowledge
{
"operation": "update_canonical_knowledge",
"id": "<knowledge-id>",
"title": "Updated Q4 2024 Revenue Strategy",
"body": "We've adjusted our targets to 45% ARR growth..."
}
Pitfalls
- Ontology/vocabulary management (thesaurus terms, namespace mappings) is
loxtep_meaning- different facade. This Agent-Scope Skill is for querying the curated semantic layer and managing canonical knowledge, not managing its underlying ontology structure. search_semantic_layerwithartifact_types: schemais not domain schemas. It searchesschema_registry_cache/ curated artifacts — notdomain_schemasfromcreate_schema. Org shapes live underloxtep_definelist_schemas. Pack hits for “Product” are concepts, not the S&S Product shape you applied to a raw data product.- Do not bind a concept onto a DP that already has an applied shape. Apply the shape to the product; align the shape to the concept in Meaning. See docs/concepts/type-vs-pack-alignment.md.
- Catalog search is
loxtep_query- use that for broad discovery across all artifact types. This Agent-Scope Skill is for the semantic-layer-specific search and completeness view. artifact_types(plural) is an array filter - pass multiple types to narrow results. Do not confuse withartifact_type(singular) used inget_semantic_artifact.- Canonical knowledge is for organizational knowledge, not data product
schemas or quality rules. Use
loxtep_definefor schema management andloxtep_definefor quality rules. - Do NOT use workflows, data products, or connectors for storing unstructured organizational knowledge. Use canonical knowledge artifacts instead.
COA list_metrics / describe_schema gaps
There are no hosted MCP ops named list_metrics or describe_schema. Use:
| COA intent | Loxtep ops |
|---|---|
| List metrics / dimensions | search_semantic_layer, get_compounding_metric, list_quality_rules |
| Describe schema / ontology tables | get_table_schema, get_schema, list_ontology_concepts, get_semantic_artifact |
Agent-Scope Skill scope (.loxtep/skills/loxtep-semantic-layer.yaml)
Resource scope and operation permissions for this Agent-Scope Skill, conformant
with the skill-package-v1
schema. Any resource type or operation not listed is denied (fail-closed).
Identifier lists are empty placeholders — fill them with the specific resources
in your workspace. This declaration does not change the hosted MCP config
(mcp.loxtep.io).
# .loxtep/skills/loxtep-semantic-layer.yaml
# Conforms to https://loxtep.io/schemas/skill-package-v1.json
# Fail-closed: this Agent-Scope Skill's facades are RBAC-governed and carry no data-mesh resource scope.
name: loxtep-semantic-layer
description: Semantic layer search, artifact retrieval, and completeness — RBAC-governed; no data-mesh resource scope.
scope:
data_products: []
connectors: []
workflows: []
domains: []
queues: []
permissions: {}
Optional attribution
_metadata: { "skill_name": "loxtep-semantic-layer" }
Auth
loxtep-auth / login.