required_canon_version: >=3.0.0
Skill: cortex-toolkit
Version: 2.0.0
Status: Active
Purpose
Unified toolkit for CORTEX operations including CAS integrity verification, summary generation, and LLM packer smoke testing.
Note: build and verify_system1 operations removed in v2.0 - semantic search is now handled by the cassette network (NAVIGATION/CORTEX/cassettes/).
Trigger
Use when performing any CORTEX-related operation:
- Verifying CAS blob integrity
- Generating section summaries
- Running LLM packer smoke tests
Operations
| Operation | Description |
|-----------|-------------|
| verify_cas | Check CAS directory integrity (SHA-256 hash verification) |
| summarize | Generate deterministic section summaries |
| smoke_test | Run LLM Packer smoke tests |
Inputs
input.json fields:
Common:
operation(string, required): One ofverify_cas,summarize,smoke_test
For verify_cas:
cas_root(string, required): Path to CAS root directory
For summarize:
record(object): SECTION_INDEX-style record withsection_id,heading, etc.slice_text(string): Exact section slice text
For smoke_test:
scope(string):agsorlabout_dir(string): Output directory underMEMORY/LLM_PACKER/_packs/mode(string):fullordeltaprofile(string):fullorlitecombined(bool): GenerateFULL/outputsstamp(string): Timestamp stamp for outputssplit_lite(bool): GenerateLITE/outputszip(bool): Generate zip archiveemit_pruned(bool): GeneratePRUNED/output
Outputs
output.json fields vary by operation:
For verify_cas:
status(string):successorfailuretotal_blobs(int): Number of blobs checkedcorrupt_blobs(array): List of corrupt blob detailscas_root(string): Resolved CAS path
For summarize:
safe_filename(string): Safe filename for summarysummary_md(string): Generated summary markdownsummary_sha256(string): Hash of summary
For smoke_test:
pack_dir(string): Output pack directorystamp(string): Pack timestampverified(array): List of verified filesemit_pruned(bool): Whether pruned output was generated
Constraints
- Writes only to allowed output roots via GuardedWriter
- Deterministic: sets PYTHONHASHSEED, uses git timestamps
- No network access
- Read-only operations for verify_cas
- No LLM calls for summarize operation
Fixtures
fixtures/basic/- Basic operation tests for each operation type
required_canon_version: >=3.0.0