- Skills
- 32
- 仓库
- 1
- 职业覆盖
- 0
- 场景覆盖
- 0
- Stars
- ★ 0
nitekeeper 的 Skills 32
run
Use to invoke any Memex v2.0 operation. Routes user-facing intents (ingest, ask, capture, lint, synthesize, dashboard) and agent-facing CRUD primitives to the right internal procedure.
memex:steward:reconcile-orphan
Authorized fix-up of a flagged orphan. Four actions — delete-index (remove documents row), repair (backfill row_id when target exists), reindex (re-run Librarian; deferred), note (acknowledge). Raises OrphanNotFoundError when index_id is unknown or, for repair, already linked.
memex:steward:dashboard
Launch a loopback-only, read-only HTTP dashboard over Memex — per-store summary, the federated index, knowledge communities, the code-navigation graph, and the agent registry, plus keyword search, a click-to-read content overlay, and an interactive 3D knowledge-graph view.
memex:steward:audit
Run a full integrity audit across the Memex Index and all registered stores. Detects orphans, broken relations, schema drift. Writes a structured audit report to ~/.memex/audits/. Read-only — never auto-fixes.
memex:steward:audit-store
Run an integrity audit scoped to a single registered store (reverse orphans + schema drift). Lighter than full audit.
memex:index:write
Direct write to the federated Index — the lower-level primitive that memex:brain:ingest and memex:brain:capture build on. Use when a consumer (Atelier, custom plugin) needs to add a document to its own store and have it indexed by the Librarian, without going through the Brain layer. Routes through Librarian subagent + Memex Core.
memex:index:search
Federated search across every registered Memex store via the Reference Librarian. Lower-level primitive that memex:brain:ask builds on — use directly when a consumer (Atelier, custom plugin) needs raw query results without Brain-specific formatting.
memex:index:archive
Explicitly archive a raw payload to ~/.memex/raw/ via the Archivist. Normally invoked internally by memex:index:write — exposed for cases where archival is desired without indexing (e.g., evidentiary capture of inputs that aren't documents).
memex:embed:reembed
Re-encode EVERY documents row (NULL and non-NULL) using the currently-configured provider. Use after a deliberate provider or model change — old embeddings are dimensionally or semantically incomparable with new ones. Destructive — overwrites existing embeddings. Has a confirmation gate.
memex:embed:backfill
Re-encode every documents row with `embedding IS NULL` using the currently-configured provider. Idempotent — non-NULL rows are untouched. Use after first configuring an embedding API key, or after ingesting documents while no provider was set.
memex:dba:vacuum
Run VACUUM on a registered store to reclaim space and defragment. Should be run during maintenance windows, not under live load.
memex:dba:integrity-check
Run PRAGMA integrity_check on a registered store. Returns 'ok' if clean, otherwise a string describing issues.
memex:dba:checkpoint
Run a WAL checkpoint on a registered store. Mode defaults to PASSIVE.
memex:core:update
Update a single row by integer `id` PK in a registered Memex store. Use for partial updates of non-document rows; document content updates should re-trigger indexing via memex:index:write.
memex:core:register-role
Register a new role in the global agents.db roles table. Roles are universal (Memex-managed schema, multi-tenant rows). Consumers (Atelier, future plugins) call this on install to seed their own role taxonomies.
memex:core:register-agent
Register a new agent in the global agents.db agents table. Every Memex write requires an agent_id; this is how agents (human or LLM, internal or consumer-provided) come into existence.
memex:core:query
Run a SELECT query against any registered Memex store. Returns rows as a list of dicts. Use for read-only operations; for full-text or vector search, use memex:index:search instead.
memex:core:migrate
Apply additional SQL migration files to an existing Memex-managed store. Idempotent — already-applied migrations (tracked in the store's `migrations` table) are skipped. Use when a consumer's schema evolves and new .sql files need to be applied to an in-place store without recreating it.