Claude Skill

create-state

Define or extend Cruxible vocabulary and evidence-backed values for a user's domain, including preparing data that needs to become shared state.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download cruxible-ai-cruxible-plugins_cruxible_skills_create-state-351bbda.zip · 28 KB

Install

skills CLI npx skills add https://github.com/cruxible-ai/cruxible/tree/main/plugins/cruxible/skills/create-state
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install cruxible-ai-cruxible@llmmart
Git git clone https://github.com/cruxible-ai/cruxible.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole cruxible-ai/cruxible collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Create state

Requires the cruxible CLI or MCP server (uv tool install cruxible or pip install cruxible).

Cruxible holds typed Claims about Subjects, with evidence and accepted history. Begin with cruxible orient for the small index (cruxible get ClaimType:NAME gives a field's description); existing named queries and governed Documents may already describe the needed state. An available kit can supply vocabulary; adopt-kit handles its installation. Before re-deriving a conclusion, check whether an accepted Claim already answers it; cite that Claim instead of recomputing, and check next for what changed since it was accepted.

A ClaimType says what a Claim means: its applicable Subject kinds, value type, cardinality, role and evidence rules. Its description explains that meaning, not a recipe for an agent's work. Keys identify the same thing across observations. A relationship with its own facts can be a pair Subject keyed by Subject-valued ends; those ends are immutable. Prefer existing kinds and fields when they express the intended meaning.

The instance's kinds and fields are stated in one file, .cruxible/vocabulary.yaml: cruxible vocabulary export writes it from accepted state, plan shows what an edit would change (including the Claims an enum mapping moves) and apply submits it as one change set. A kind or field the file leaves out is untouched. next says when the file is behind accepted state. Kit vocabulary is a starting point, not a fixed schema: revise it like any definition (allow more enum values, add a field, split a category); new vocabulary goes where it fits, in a local namespace or beside the kit's own types. A kit upgrade names your local edits and replaces them unless you keep them. The bundled vocabulary reference covers the file's format, its value types and what each kind of change costs.

Apply the copy-in rule before turning source material into Claims. A governed Document can point to a source instead. Documents have about and guides links and backlinks; prose and its citations can remain evidence without becoming a mirrored database; see the bundled documents reference. When copying is justified, the data-readiness reference helps resolve grain, identifiers and joins without requiring a profiling project for every input.

Kinds and fields use the vocabulary file; other definitions use authoring; values use the typed World SDK (cruxible python, with w = cx.world(), w.<kind>.define(...), subject.edit(), w.write(...), and --check against .cruxible/world.pyi), or set, retire, and write on CLI/MCP (cx.changes(because=...) for untyped batches). A write can create the Subjects it is about in the same change set: w.<kind>.define(...) returns a typed draft usable directly as a sibling edge value or in based_on=[draft.pin("field")] (on CLI/MCP, a create change whose key is the kind's one key value or {field: value}). File passages, sections, Captures, contracts and the writer's own words provide evidence through the supported write surface. A workspace file is cited by its path; a file the catalog does not name yet is catalogued by the write that cites it. A quoted code line (--evidence-file PATH#TEXT) or 1-indexed line range (--evidence-file PATH:LINE / PATH:START-END, SDK FileEvidence(file=PATH, lines=(START, END)), MCP {"kind": "file", "file": PATH, "lines": [START, END]}) anchors to those exact bytes (must be unique in the file; capped at 200 lines / 16 KiB) and detects edits inside that passage without drifting on line shifts above it, not semantic changes elsewhere; a judgment that depends on code cites a check result where one exists (a scanner's finding), and prose keeps quote and section citations. Evidence belongs to each Claim: a decision and the values that rest on its reasoning (its date included) cite the section written in the same change: cx.section(FILE, heading=..., body=..., under=(...)) as evidence=, or CLI --section FILE#Heading --section-body TEXT. cruxible section FILE#Heading/Path reads one section a get card or note points to. Preserve verdict flags instead of treating every stored value as supported.

A normative belief or judgment (a hypothesis, baseline, or triage verdict) made from observed values pins them with --based-on (SDK and write files based_on): a CLM-... id, kind/id#field, or draft.pin("field") in the same write. Revising a pinned Claim leaves the judgment standing and next lists it as claim_dependency_stale until review and attestation harden a new verdict or retire the old one.

Use guarded edits and governance for shared or reviewed changes; cruxible init --require-independent-approval alone creates the reviewer principal and its key. Report the accepted references and coordinate, or the specific proposal still awaiting acceptance. When a field should stay aligned with live reality (external APIs, experiments, test runs, analyzers, or custom models), move to automate-state to wire a Procedure and Line.

Files (cruxible)
  • references
    • concurrent-edits.md 1.1 KB
      Loading…
    • copy-in.md 1.3 KB
      Loading…
    • data-readiness.md 1.4 KB
      Loading…
    • documents-and-notes.md 25.9 KB
      Loading…
    • evolving-your-vocabulary.md 34.2 KB
      Loading…
    • governance-flow.md 3.8 KB
      Loading…
  • SKILL.md 5.3 KB
    ---
    name: create-state
    description: Define or extend Cruxible vocabulary and evidence-backed values for a user's domain, including preparing data that needs to become shared state.
    ---
    
    # Create state
    
    > Requires the `cruxible` CLI or MCP server (`uv tool install cruxible` or `pip install cruxible`).
    
    Cruxible holds typed Claims about Subjects, with evidence and accepted history.
    Begin with `cruxible orient` for the small index (`cruxible get
    ClaimType:NAME` gives a field's description); existing named queries and governed Documents may already
    describe the needed state. An available kit can supply vocabulary;
    `adopt-kit` handles its installation. Before re-deriving a conclusion, check
    whether an accepted Claim already answers it; cite that Claim instead of
    recomputing, and check `next` for what changed since it was accepted.
    
    A ClaimType says what a Claim means: its applicable Subject kinds, value
    type, cardinality, role and evidence rules. Its description explains that
    meaning, not a recipe for an agent's work. Keys identify the same thing across
    observations. A relationship with its own facts can be a pair Subject keyed
    by Subject-valued ends; those ends are immutable. Prefer existing kinds and
    fields when they express the intended meaning.
    
    The instance's kinds and fields are stated in one file,
    `.cruxible/vocabulary.yaml`: `cruxible vocabulary export` writes it from
    accepted state, `plan` shows what an edit would change (including the Claims
    an enum mapping moves) and `apply` submits it as one change set. A kind or
    field the file leaves out is untouched. `next` says when the file is behind
    accepted state. Kit vocabulary is a starting point, not a fixed schema: revise
    it like any definition (allow more enum values, add a field, split a
    category); new vocabulary goes where it fits, in a local namespace or beside
    the kit's own types. A kit upgrade names your local edits and replaces them
    unless you keep them. The bundled
    [vocabulary reference](references/evolving-your-vocabulary.md) covers the
    file's format, its value types and what each kind of change costs.
    
    Apply the [copy-in rule](references/copy-in.md) before turning source
    material into Claims. A governed Document can point to a source instead.
    Documents have `about` and `guides` links and backlinks; prose and its citations
    can remain evidence without becoming a mirrored database; see the bundled
    [documents reference](references/documents-and-notes.md). When copying is
    justified, the [data-readiness reference](references/data-readiness.md)
    helps resolve grain, identifiers and joins without requiring a profiling
    project for every input.
    
    Kinds and fields use the vocabulary file; other definitions use authoring;
    values use the typed `World` SDK (`cruxible python`, with `w = cx.world()`,
    `w.<kind>.define(...)`, `subject.edit()`, `w.write(...)`, and `--check` against
    `.cruxible/world.pyi`), or `set`, `retire`, and `write` on CLI/MCP (`cx.changes(because=...)`
    for untyped batches). A write can create the Subjects it is about in the same
    change set: `w.<kind>.define(...)` returns a typed draft usable directly as a
    sibling edge value or in `based_on=[draft.pin("field")]` (on CLI/MCP, a `create`
    change whose `key` is the kind's one key value or `{field: value}`). File
    passages, sections, Captures, contracts and the writer's own words provide
    evidence through the supported write surface. A workspace file is cited by its
    path; a file the catalog does not name yet is catalogued by the write that
    cites it. A quoted code line (`--evidence-file PATH#TEXT`) or 1-indexed line range
    (`--evidence-file PATH:LINE` / `PATH:START-END`, SDK
    `FileEvidence(file=PATH, lines=(START, END))`, MCP `{"kind": "file", "file":
    PATH, "lines": [START, END]}`) anchors to those exact bytes (must be unique in
    the file; capped at 200 lines / 16 KiB) and detects edits inside that passage
    without drifting on line shifts above it, not semantic changes elsewhere; a
    judgment that depends on code cites a check result where one exists (a
    scanner's finding), and prose keeps quote and section citations. Evidence belongs to each
    Claim: a decision and the values that rest on its reasoning (its date included)
    cite the section written in the same change:
    `cx.section(FILE, heading=..., body=..., under=(...))` as `evidence=`, or CLI
    `--section FILE#Heading --section-body TEXT`. `cruxible section
    FILE#Heading/Path` reads one section a `get` card or note points to. Preserve
    verdict flags instead of treating every stored value as supported.
    
    A normative belief or judgment (a hypothesis, baseline, or triage verdict) made
    from observed values pins them with `--based-on` (SDK and write files
    `based_on`): a `CLM-...` id, `kind/id#field`, or `draft.pin("field")` in the
    same write. Revising a pinned Claim leaves the judgment standing and `next`
    lists it as `claim_dependency_stale` until review and attestation harden a new
    verdict or retire the old one.
    
    Use [guarded edits](references/concurrent-edits.md) and
    [governance](references/governance-flow.md) for shared or reviewed
    changes; `cruxible init --require-independent-approval` alone creates the
    `reviewer` principal and its key. Report the accepted references and
    coordinate, or the specific proposal still awaiting acceptance. When a field
    should stay aligned with live reality (external APIs, experiments, test runs,
    analyzers, or custom models), move to `automate-state` to wire a Procedure and
    Line.
    

Comments

Sign in to join the conversation.

No comments yet. Start the conversation.

Reviews (0)

No reviews yet.