Skip to main content

Crate nexcore_registry

Crate nexcore_registry 

Source
Expand description

nexcore-registry — SQLite registry for Claude Code skills, agents, metrics, and KPIs.

Decomposes the monolithic plugins.db into component-specific databases. This crate manages skills.db: the live registry of skills, agents, invocation metrics, SMART goals, KPIs, and audit trail.

§Architecture

nexcore-mcp (MCP tool exposure)
    |
nexcore-registry (persistence + scanning + KPI computation)
    |
rusqlite + SQLite (bundled)

§Usage

use nexcore_registry::pool::RegistryPool;
use nexcore_registry::skills;

let pool = RegistryPool::open_default().expect("open db");
pool.with_conn(|conn| {
    let all = skills::list_all(conn)?;
    println!("Found {} skills", all.len());
    Ok(())
}).expect("query");

Modules§

agents
Active agents CRUD operations.
assess
Automated skill assessment engine.
audit
Audit log CRUD operations.
error
Error types for the registry layer.
goals
Skill goals and KPI CRUD operations.
kpi
KPI computation from live registry data.
metrics
Skill metrics and invocation CRUD operations.
pool
Connection management for the registry SQLite database.
promote
Tier promotion automation for skill compliance acceleration.
reports
Gap report generation for skill ecosystem metadata coverage.
scanner
Filesystem scanner for skills and agents.
schema
Database schema definition and migration.
skills
Active skills CRUD operations.
tov
Theory of Vigilance monitoring for the skill ecosystem.
writer
Bulk frontmatter writer for SKILL.md files.