agentleFS
cruxible-aicruxible-ai/cruxible/skills/survey/SKILL.md

survey

Skill17 starsChanged 15 days agoApache-2.0View on GitHub

Assess a project that has no Cruxible instance or vocabulary yet, report what in it is worth holding as shared state, then set up the instance and a first small vocabulary. Use before create-state when starting without a kit.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • Yusong-EnceladusSkill

    paper-compile

    Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"编译论文\", \"compile paper\", \"build PDF\", \"生成PDF\", or wants to compile LaTeX into a submission-ready PDF.

    Also in 5 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 1

    Distinctive

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

    Read the project the way a returning agent would: its notes, decision records, issue lists, configuration and the documents people consult …

    line 20
  2. Very specific:

    Check it first with cruxible python --check seed.py (the cast is what lets it catch a kind, field or enum value the vocabulary does not …

    line 114

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “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

Survey a project

A survey answers two questions before anything is written:

  1. What should later sessions read as accepted state instead of working out again?
  2. How should that state stay aligned with reality as code, data, or external conditions move?

Its result is a short assessment the user can agree to or change, and only then an instance and a first small vocabulary (Gear 1). If cruxible orient already answers with kinds and fields, the project has been surveyed: create-state extends what exists, and automate-state wires reality checks.

Read the project the way a returning agent would: its notes, decision records, issue lists, configuration and the documents people consult to remember what was settled. Three things mark material worth holding as state:

  • a conclusion that took work to reach and that later sessions would otherwise derive again (a verdict, a ruling, a triage result, a mapping);
  • a fact that changes, where the current value and its earlier values both matter (a status, an owner, a due date);
  • a fact other work depends on, so that a change to it should be noticed.

Everything else stays where it is. Prose, source files and reference material are cited as evidence or linked as governed Documents; they are not copied into Claims. The copy-in rule decides the borderline cases. A small state that is read often is worth more than a complete mirror nobody queries.

The assessment names, in the project's own words:

  • Kinds and fields: the few kinds of thing that recur (what each one is and what identifies it across sessions) and the handful of fields per kind that carry the conclusions and changing facts above.
  • Normative vs. observation: which fields are normative (decisions, hypotheses, baselines, acceptance criteria, or triage verdicts: human or agent authority backed by cited prose and hardened through review and signed attestation) and which facts come from reality (test or benchmark runs, experiments, APIs, scanners, telemetry, analyzers, or custom Python/ML models).
  • Keeping state aligned with reality (Gear 2 candidates): which observations should eventually be fed by a Procedure and Line via automate-state (as simple or as complex as the domain needs), and which normative beliefs should pin based_on those observations so cruxible next wakes only what reality contradicts or shifts.
  • Boundaries: the documents that stay documents, and what was left out on purpose.

On pass 1, keep setup fast and safe: a value read off one of the project's own files starts as an ordinary field that cites the file line. Reserve the observation-only captured evidence rule for fields a Procedure or Line actually keeps current, and move a field there when that automation is added; otherwise manual writes land uncovered. Where a published kit already models the domain (including automated kits such as security or iot-fleet, or project-state for tracking the project's own roadmap, decisions, and rulings), say so: adopt-kit starts from it, and its vocabulary can be revised like any definition (cruxible kit add REFERENCE previews a kit without writing anything).

Setting up follows the user's agreement. cruxible init attaches the project and installs the base kit under a single owner (self_approval_allowed) by default. For independent review, cruxible init --require-independent-approval also creates a second principal, reviewer, with its key in the per-user config path (--reviewer-key-dir DIR to choose another, outside the repository), or use cruxible_init with reviewer_id="reviewer" and require_independent_approval=true: nothing its author proposed activates until the reviewer, normally a separate agent session, approves it. Which one is the user's choice; cruxible next shows what waits for whom. The first vocabulary goes in .cruxible/vocabulary.yaml (cruxible vocabulary export, plan, apply); the bundled vocabulary reference gives its format and what each later change costs. Start with what the assessment named and no more: adding a field or a kind later costs nothing, while narrowing one means re-authoring its Claims. Each field's description says what its value means; a later session reads it with cruxible get ClaimType:NAME, so a meaning left out of the description is lost.

Then offer one opt-in seed pass, run only if the user says yes: 5-10 real, linked starter Subjects from the project (existing architecture decisions, key invariants, active tasks or components), each value citing the Markdown section (SectionEvidence, by heading path) or code line (FileEvidence, PATH#TEXT where the text occurs once in the file) it rests on, and each belief that depends on another pinned with based_on. Use the kinds and fields the vocabulary just created, through cruxible python and the typed World:

from typing import TYPE_CHECKING, cast

from cruxible_client import Cruxible, FileEvidence, SectionEvidence

if TYPE_CHECKING:
    from world import World  # .cruxible/world.pyi, as `cruxible python --check` provides it

with Cruxible.connect() as cx:
    w = cast("World", cx.world())
    db = w.app.decision.define(slug="primary-database").set(
        ruling="PostgreSQL 16 for concurrent writers",
        evidence=SectionEvidence(file="docs/ARCHITECTURE.md", section=("Architecture", "Database")),
    )
    pool = w.app.invariant.define(slug="pool-ceiling").set(
        statement="At most 20 pooled connections per worker",
        evidence=FileEvidence(file="src/db/pool.py#MAX_POOL = 20"),
        based_on=[db.pin("ruling")],
    )
    print(w.write(db, pool, because="Seed: first cited decisions", dry_run=True))

Check it first with cruxible python --check seed.py (the cast is what lets it catch a kind, field or enum value the vocabulary does not have), run it with dry_run=True, then again without, or use cruxible write FILE when working shell-only. Read the result back with cruxible get and cruxible orient. create-state covers writes, evidence, and vocabulary changes from there; governance covers proposals that wait for review. Report the assessment as agreed, the accepted references and coordinate, and any proposal still awaiting approval. Then point the user to cruxible console (State graph) to see their repo as live state, and suggest editing one cited section or line and running cruxible next: the citation shows as citation_drifted, and once the belief it backs is revised, everything pinned based_on that belief wakes as claim_dependency_stale.

Once the initial vocabulary is accepted, hand the reality-alignment candidates to automate-state (or an automated kit via adopt-kit) to wire Procedures, Lines, and providers, and add projection pages where summaries need to stay in step.

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.