All contracts

Workspace Intelligence / JSON Schema

Workspai Workspace Skills Index

Defines the versioned workspace skills index v1 boundary used by Workspai and its consumers.

Schema version
workspace-skills-index.v1
Contract path
contracts/workspace-intelligence/workspace-skills-index.v1.json
Publication
embedded-type, json-schema
Defined fields
8
Artifact bindings
1

Why this contract exists

Architecture role

Projects workspace intelligence into stable grounding surfaces for agents and integrations.

Consumption boundary

  • Workspai CLI
  • AI agents
  • IDEs and MCP clients

Related commands

Commands are linked only when the runtime contract identifies a direct production relationship. Supporting contracts may be consumed without having a single producer command.

Produced artifacts

These durable files are emitted by registered commands and validated against this contract.

Artifact pathSchemaProducer
.workspai/reports/workspace-skills-index.jsonworkspace-skills-index.v1
workspai workspace agent-sync --write --json --preset enterprise

Field reference

Every declared schema property or published capability path is listed here. Required means the contract declares or publishes that field at the shown boundary.

Field pathTypeRequiredMeaningConstraints
generatedAtstringYesDefines the generatedat value at this contract boundary.format: date-time
inputsHashstringYesDefines the inputshash value at this contract boundary.minLength: 8
schemaVersionstringYesDefines the schemaversion value at this contract boundary.const: "workspace-skills-index.v1"
skillsarrayYesDefines the skills value at this contract boundary.
skills[].pathstringYesDefines the path value at this contract boundary.
skills[].schemaVersionstringYesDefines the schemaversion value at this contract boundary.
skills[].skillIdstringYesDefines the skillid value at this contract boundary.
skills[].titlestringYesDefines the title value at this contract boundary.

Canonical machine-readable definition

The raw synchronized contract remains authoritative. The educational sections above are projections of this definition.

Show raw JSON
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://getrapidkit.com/schemas/workspace-skills-index.v1.json",
  "title": "Workspai Workspace Skills Index",
  "type": "object",
  "required": [
    "schemaVersion",
    "generatedAt",
    "inputsHash",
    "skills"
  ],
  "properties": {
    "schemaVersion": {
      "const": "workspace-skills-index.v1"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "inputsHash": {
      "type": "string",
      "minLength": 8
    },
    "skills": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "skillId",
          "path",
          "schemaVersion",
          "title"
        ],
        "properties": {
          "skillId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "schemaVersion": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}