{"slug":"create-state","title":"create-state","summary":"Define or extend Cruxible vocabulary and evidence-backed values for a user's domain, including preparing data that needs to become shared state.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-01T19:09:48.163008Z","repo":{"url":"https://github.com/cruxible-ai/cruxible","stars":17,"forks":2,"license":"Apache-2.0","updatedAt":"2026-12-01T11:17:19Z"},"bodyHtml":"<hr>\n<h2>name: create-state\ndescription: Define or extend Cruxible vocabulary and evidence-backed values for a user's domain, including preparing data that needs to become shared state.</h2>\n<h1>Create state</h1>\n<blockquote>\n<p>Requires the <code>cruxible</code> CLI or MCP server (<code>uv tool install cruxible</code> or <code>pip install cruxible</code>).</p>\n</blockquote>\n<p>Cruxible holds typed Claims about Subjects, with evidence and accepted history.\nBegin with <code>cruxible orient</code> for the small index (<code>cruxible get ClaimType:NAME</code> gives a field's description); existing named queries and governed Documents may already\ndescribe the needed state. An available kit can supply vocabulary;\n<code>adopt-kit</code> handles its installation. Before re-deriving a conclusion, check\nwhether an accepted Claim already answers it; cite that Claim instead of\nrecomputing, and check <code>next</code> for what changed since it was accepted.</p>\n<p>A ClaimType says what a Claim means: its applicable Subject kinds, value\ntype, cardinality, role and evidence rules. Its description explains that\nmeaning, not a recipe for an agent's work. Keys identify the same thing across\nobservations. A relationship with its own facts can be a pair Subject keyed\nby Subject-valued ends; those ends are immutable. Prefer existing kinds and\nfields when they express the intended meaning.</p>\n<p>The instance's kinds and fields are stated in one file,\n<code>.cruxible/vocabulary.yaml</code>: <code>cruxible vocabulary export</code> writes it from\naccepted state, <code>plan</code> shows what an edit would change (including the Claims\nan enum mapping moves) and <code>apply</code> submits it as one change set. A kind or\nfield the file leaves out is untouched. <code>next</code> says when the file is behind\naccepted state. Kit vocabulary is a starting point, not a fixed schema: revise\nit like any definition (allow more enum values, add a field, split a\ncategory); new vocabulary goes where it fits, in a local namespace or beside\nthe kit's own types. A kit upgrade names your local edits and replaces them\nunless you keep them. The bundled\n<a href=\"references/evolving-your-vocabulary.md\">vocabulary reference</a> covers the\nfile's format, its value types and what each kind of change costs.</p>\n<p>Apply the <a href=\"references/copy-in.md\">copy-in rule</a> before turning source\nmaterial into Claims. A governed Document can point to a source instead.\nDocuments have <code>about</code> and <code>guides</code> links and backlinks; prose and its citations\ncan remain evidence without becoming a mirrored database; see the bundled\n<a href=\"references/documents-and-notes.md\">documents reference</a>. When copying is\njustified, the <a href=\"references/data-readiness.md\">data-readiness reference</a>\nhelps resolve grain, identifiers and joins without requiring a profiling\nproject for every input.</p>\n<p>Kinds and fields use the vocabulary file; other definitions use authoring;\nvalues use the typed <code>World</code> SDK (<code>cruxible python</code>, with <code>w = cx.world()</code>,\n<code>w.&lt;kind&gt;.define(...)</code>, <code>subject.edit()</code>, <code>w.write(...)</code>, and <code>--check</code> against\n<code>.cruxible/world.pyi</code>), or <code>set</code>, <code>retire</code>, and <code>write</code> on CLI/MCP (<code>cx.changes(because=...)</code>\nfor untyped batches). A write can create the Subjects it is about in the same\nchange set: <code>w.&lt;kind&gt;.define(...)</code> returns a typed draft usable directly as a\nsibling edge value or in <code>based_on=[draft.pin(\"field\")]</code> (on CLI/MCP, a <code>create</code>\nchange whose <code>key</code> is the kind's one key value or <code>{field: value}</code>). File\npassages, sections, Captures, contracts and the writer's own words provide\nevidence through the supported write surface. A workspace file is cited by its\npath; a file the catalog does not name yet is catalogued by the write that\ncites it. A quoted code line (<code>--evidence-file PATH#TEXT</code>) or 1-indexed line range\n(<code>--evidence-file PATH:LINE</code> / <code>PATH:START-END</code>, SDK\n<code>FileEvidence(file=PATH, lines=(START, END))</code>, MCP <code>{\"kind\": \"file\", \"file\": PATH, \"lines\": [START, END]}</code>) anchors to those exact bytes (must be unique in\nthe file; capped at 200 lines / 16 KiB) and detects edits inside that passage\nwithout drifting on line shifts above it, not semantic changes elsewhere; a\njudgment that depends on code cites a check result where one exists (a\nscanner's finding), and prose keeps quote and section citations. Evidence belongs to each\nClaim: a decision and the values that rest on its reasoning (its date included)\ncite the section written in the same change:\n<code>cx.section(FILE, heading=..., body=..., under=(...))</code> as <code>evidence=</code>, or CLI\n<code>--section FILE#Heading --section-body TEXT</code>. <code>cruxible section FILE#Heading/Path</code> reads one section a <code>get</code> card or note points to. Preserve\nverdict flags instead of treating every stored value as supported.</p>\n<p>A normative belief or judgment (a hypothesis, baseline, or triage verdict) made\nfrom observed values pins them with <code>--based-on</code> (SDK and write files\n<code>based_on</code>): a <code>CLM-...</code> id, <code>kind/id#field</code>, or <code>draft.pin(\"field\")</code> in the\nsame write. Revising a pinned Claim leaves the judgment standing and <code>next</code>\nlists it as <code>claim_dependency_stale</code> until review and attestation harden a new\nverdict or retire the old one.</p>\n<p>Use <a href=\"references/concurrent-edits.md\">guarded edits</a> and\n<a href=\"references/governance-flow.md\">governance</a> for shared or reviewed\nchanges; <code>cruxible init --require-independent-approval</code> alone creates the\n<code>reviewer</code> principal and its key. Report the accepted references and\ncoordinate, or the specific proposal still awaiting acceptance. When a field\nshould stay aligned with live reality (external APIs, experiments, test runs,\nanalyzers, or custom models), move to <code>automate-state</code> to wire a Procedure and\nLine.</p>\n","files":[{"path":"references/concurrent-edits.md","sizeBytes":1136,"isText":true},{"path":"references/copy-in.md","sizeBytes":1331,"isText":true},{"path":"references/data-readiness.md","sizeBytes":1384,"isText":true},{"path":"references/documents-and-notes.md","sizeBytes":26493,"isText":true},{"path":"references/evolving-your-vocabulary.md","sizeBytes":35007,"isText":true},{"path":"references/governance-flow.md","sizeBytes":3882,"isText":true},{"path":"SKILL.md","sizeBytes":5447,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-12-01T19:09:56.034501Z","sha256":"65DC1217A854AC66C24DCAB2306557D4FB4AC6CDE436713926D5F1910CAE5DA8","sizeBytes":29180},"review":null,"source":{"repositoryUrl":"https://github.com/cruxible-ai/cruxible","path":"plugins/cruxible/skills/create-state","license":"Apache-2.0","commit":"351bbda6a339f1b0cc1986c0df2fdc0d90283cc1","subtreeSha":"41BE0B42B914F9C63F2066143D31F7ECED6FE05DB86B1F810F2B644FC91E3CDE","lastSyncedAt":"2026-12-01T19:09:47.821188Z"},"reviewedAt":"2026-12-01T19:10:14.822246Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/cruxible-ai/cruxible/tree/main/plugins/cruxible/skills/create-state"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install cruxible-ai-cruxible@llmmart"},{"target":"git","command":"git clone https://github.com/cruxible-ai/cruxible.git"}]}