Skani
DOCS/
EXCAVATION/
CONFIGURATION

skani.json

The skani.json file is heart of Skani. It tracks which skills are installed and their exact versions, enabling reproducible environments.

File Location

The skani.json file should be placed in the root of your project, alongside other configuration files like package.json or tsconfig.json.

Structure

Top-Level Fields

FieldTypeDescription
versionstringSchema version (currently &quote;1.0.0&quote;)
environmentobjectMetadata about this environment
skillsarrayList of installed skills

Environment Object

FieldTypeDescription
namestringHuman-readable name for this environment
createdstringISO 8601 timestamp of creation
updatedstringISO 8601 timestamp of last modification

Skill Object

FieldTypeDescription
idstringUnique identifier for skill
namestringHuman-readable name
versionstringInstalled version (pinned)
sourceobjectSource configuration for fetching
installedAtstringISO 8601 timestamp of installation

Source Object

FieldTypeDescription
typestringSource type (currently &quote;github&quote;)
ownerstringGitHub repository owner
repostringRepository name
refstringGit reference (tag, branch, or commit)
pathstringPath to skill within repository

Example

{
  "version": "1.0.0",
  "environment": {
    "name": "my-project",
    "created": "2024-02-12T00:00:00Z",
    "updated": "2024-02-12T00:00:00Z"
  },
  "skills": [
    {
      "id": "omarchy",
      "name": "Omarchy",
      "version": "1.2.3",
      "source": {
        "type": "github",
        "owner": "anomalyco",
        "repo": "omarchy",
        "ref": "v1.2.3",
        "path": ".claude/skills/Omarchy"
      },
      "installedAt": "2024-02-12T10:30:00Z"
    }
  ]
}

Version Control

We recommend committing skani.json to version control. This allows team members and CI/CD systems to reproduce your skill environment exactly.

~git add skani.json

Skill Installation Location

When skills are installed, they are placed in .claude/skills/ directory at the root of your project. This directory structure is standard for agent skills.

.claude/
└── skills/
    ├── omarchy/
    │   ├── SKILL.md
    │   ├── templates/
    │   └── scripts/
    └── another-skill/
        └── SKILL.md