agentleFS
cruxible-aicruxible-ai/cruxible/skills/create-state/SKILL.md

create-state

Skill17 starsChanged 15 days agoApache-2.0View on GitHub

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

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. araujoleonardo/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use guarded edits and governance for shared or reviewed changes.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.