Skip to content
Back to skills

Create State

ASecurity

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

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentspythongoexpressapidatabase

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add cruxible-ai/cruxible --skill create-state --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create State?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create State
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cruxible-ai-create-state/badge)](https://www.skillsdirectory.com/skills/cruxible-ai-create-state)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

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.

Files in this skill

  • SKILL.md5.2 KB
  • references/concurrent-edits.md1.1 KB
  • references/copy-in.md1.3 KB
  • references/data-readiness.md1.4 KB
  • references/documents-and-notes.md25.9 KB
  • references/evolving-your-vocabulary.md34.2 KB
  • references/governance-flow.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.