Reference
Short references for Crowkis commands, one command per page. 23 articles.
Subscribe with RSSHow to use CSET: store an answer the safe way
CSET writes an answer into the semantic cache, running the five-stage anti-poisoning pipeline before it accepts anything.
More articles
-
How to use CSTALE: serve slightly-old, refresh behind it
CSTALE returns a cached answer even past its TTL, flagged as stale, so an expired entry is a snappy answer plus a refresh signal, not a cold miss.
-
How to use CINVALIDATE: purge by meaning, preview first
CINVALIDATE clears entries whose meaning matches a natural-language instruction, and previews exactly what it would remove until you add COMMIT.
-
How to use CWHYEVICT: ask why an entry would be dropped
CWHYEVICT explains the retention maths for an entry, recency, frequency, isolation, and cost, so eviction is auditable, not mysterious.
-
How to use CFLAG and CCHECKBAD: a memory for wrong answers
CFLAG records a known-bad answer in the negative cache; CCHECKBAD catches every paraphrase of the question that would reproduce it.
-
How to use CPIN: serve a human-approved answer verbatim
CPIN pins a golden answer that's served word-for-word for matching questions, with an audit trail of who approved it.
-
How to use CSOURCE: tie answers to their source and cascade-purge
CSOURCE links cache entries to the source they derived from, so when the source changes you can purge everything built on it in one move.
-
How to use CTOOLSET and CTOOLGET: cache a tool call
CTOOLSET caches a tool result keyed by tool plus exact arguments; CTOOLGET returns it, so a deterministic call runs once and serves many.
-
How to use CDOC: a RAG store in the CLI
CDOC adds documents with auto-chunking and metadata, then searches them with filters and optional reranking, no separate vector database.
-
How to use CSESSION: a conversation buffer with recall
CSESSION stores a multi-turn conversation, reads the recent window, and semantically searches the whole thing, so 'as I mentioned earlier' works.
-
How to use the CMEM commands: long-term agent memory
CMEMSET stores a fact scoped to (agent, user); CMEMGET recalls by meaning, recency-blended; consolidation retires contradictions automatically.
-
How to use CGUARD: scan input for prompt injection
CGUARD checks a prompt for jailbreaks and injections, normalizing leetspeak and zero-width tricks first, and returns a verdict, category, and match.
-
How to use COUTCHECK: scan output for leaks before you send it
COUTCHECK scans a response for PII and toxicity, optionally validating JSON, and returns the entities found so you can redact, block, or regenerate.
-
How to use CEVAL: grade output without a second model
CEVAL runs deterministic evaluators, toxicity, PII, relevance, JSON validity and more, over an input/output pair, and tracks the results on /metrics.
-
How to use CPROMPT: version and A/B test prompts
CPROMPT stores named prompt templates with versioning, variable rendering, sticky A/B splits, and rollback, all from the CLI, all surviving restart.
-
How to use CBUDGET: read per-tenant spend and alerts
CBUDGET reports token and dollar consumption per tenant in real time, and surfaces the tenants approaching or crossing their thresholds.
-
How to use CDEDUP: collapse near-duplicate answers
CDEDUP finds entries that mean the same thing and collapses them, reporting clusters and memory reclaimed, best run as off-peak maintenance.
-
How to use CINFO: the Crowkis-flavoured INFO
CINFO returns server, cache, savings, security, db, and license sections in one call, the fastest read on what the cache is doing right now.