state
Skill6 starsChanged 14 days agoApache-2.0View on GitHub
Create representation of current world state for a domain. Use when modeling system state, building world models, capturing entity relationships, or establishing baseline snapshots.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/Copilot-Managed-Runtimetheir own version, first seen Nov 8, 2026
- gr219/OpenBA-Kittheir own version, first seen Oct 25, 2026
- aihu-project/aihutheir own version, first seen Oct 20, 2026
- spmtitsolution/OpenBA-Kittheir own version, first seen Oct 20, 2026
- aigengame/skillstheir own version, first seen Oct 17, 2026
- cwinvestments/memstacktheir own version, first seen Jun 22, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- cwinvestments/memstack★ 425same name
- spmtitsolution/OpenBA-Kit★ 38same name
- aihu-project/aihu★ 4same name
- microsoft/Copilot-Managed-Runtime★ 4same name
- aigengame/skills★ 2same name
- vlting/claude-skills★ 2same name
- gr219/OpenBA-Kit★ 0same name
- vbrevik/claude_code_skills★ 0same 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 repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- attributeSkill
- auditSkill
- gap-analysis-workflowSkill
- checkpointSkill
- classifySkill
- compareSkill
- constrainSkill
- critiqueSkill
- debug-workflowSkill
- decomposeSkill
- delegateSkill
- detectSkill
- digital-twin-bootstrapSkill
- digital-twin-sync-workflowSkill
- discover-capabilitiesSkill
- discoverSkill
- executeSkill
- explainSkill
- generateSkill
- groundSkill
- inquireSkill
- integrateSkill
- invokeSkill
- measureSkill
- mutateSkill
- observeSkill
- persistSkill
- perspective-validationSkill
- planSkill
- predictSkill
- recallSkill
- receiveSkill
- retrieveSkill
- rollbackSkill
- searchSkill
- sendSkill
- simulateSkill
- synchronizeSkill
- transformSkill
- transitionSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Create a structured representation of the current state of a domain, system, or entity.
- Distinctive: line 50
Map relationships: Document connections between entities
- Distinctive: line 56
Document property values with evidence
- Distinctive: line 63
Ensure required fields are populated
- Distinctive: line 250
Verification tools: Read (to verify file references)
- Distinctive: line 260
Do not modify state while modeling it
- Distinctive: line 263
Do not invent entities without evidence
- Very specific: line 278
Never use state for predictions (use predict)
- Very specific: line 279
Avoid state for single-value measurement (use measure)
“Common” is measured: kept by at least 6 in 10 of the 6 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.
Files
Intent
Create a structured representation of the current state of a domain, system, or entity. This is the foundation for world modeling, enabling tracking of entities, relationships, and properties over time.
Success criteria:
- State captured in structured, queryable format
- Entities and relationships clearly identified
- Uncertainty and confidence explicitly represented
- Evidence anchors for all state assertions
Compatible schemas:
schemas/output_schema.yamlreference/world_state_schema.yaml
Inputs
| Parameter | Required | Type | Description |
scope | Yes | string | What domain/system to model (e.g., "user authentication", "payment processing") |
schema | No | object | State schema defining expected structure |
timestamp | No | string | Point in time for state (default: now) |
observations | No | object|array | The observation, or list of observations, to build the state from |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
- Define scope boundaries: Clarify what is included in the state model
- Identify system or domain boundaries
- Determine entity types to include
- Establish relationship types to capture
- Identify entities: Enumerate entities within scope
- Extract entity references from sources
- Assign unique identifiers
- Capture entity properties/attributes
- Map relationships: Document connections between entities
- Identify relationship types (contains, depends_on, references)
- Note relationship directionality
- Capture relationship properties
- Capture current values: Record current state of each entity
- Document property values with evidence
- Note uncertainty where values are unclear
- Record observation timestamp
- Apply schema: Structure state according to schema if provided
- Validate against schema constraints
- Note schema violations or extensions needed
- Ensure required fields are populated
- Ground state claims: Attach evidence to all assertions
- Reference source files, commands, or observations
- Note confidence level for each assertion
Output Contract
Return a structured object:
state:
world_id: string # Unique identifier for this state snapshot
scope: string # Domain being modeled
timestamp: string # When state was captured
entities: &entities
- id: string # Unique entity identifier
type: string # Entity classification
properties: object # Entity attributes
confidence: number # Confidence in entity state
relationships: &relationships
- from: string # Source entity ID
to: string # Target entity ID
type: string # Relationship type
properties: object # Relationship attributes
meta:
version: string # State schema version
completeness: number # 0-1 estimate of coverage
entities: *entities # Same items as state.entities, for bindings like ${<step>.entities}
relationships: *relationships # Same items as state.relationships
confidence: 0..1 # Overall state model confidence
evidence_anchors: ["file:line", "observation:id"]
assumptions: []Field Definitions
| Field | Type | Description |
state.world_id | string | Unique identifier for state snapshot |
state.scope | string | Domain or system being modeled |
state.entities | array | Identified entities with properties |
state.relationships | array | Connections between entities |
state.meta.completeness | number | Estimated model completeness |
entities | array | Identified entities (the same items as state.entities) |
relationships | array | Entity relationships (the same items as state.relationships) |
confidence | number | Overall confidence in state accuracy |
evidence_anchors | array | References to the observations the state was built from |
assumptions | array | Assumptions about the modeled system |
Examples
Example 1: Model Authentication System State
Input:
scope: "user authentication system"Output:
state:
world_id: "auth-state-20240115-001"
scope: "user authentication system"
timestamp: "2024-01-15T10:30:00Z"
entities: &entities
- id: "auth-service"
type: "service"
properties:
status: "running"
version: "2.3.1"
port: 8080
confidence: 0.95
- id: "user-db"
type: "database"
properties:
type: "PostgreSQL"
connection_pool: 20
active_connections: 12
confidence: 0.90
- id: "session-cache"
type: "cache"
properties:
type: "Redis"
memory_used: "256MB"
keys: 15420
confidence: 0.90
relationships: &relationships
- from: "auth-service"
to: "user-db"
type: "depends_on"
properties:
connection_type: "direct"
required: true
- from: "auth-service"
to: "session-cache"
type: "depends_on"
properties:
connection_type: "direct"
required: true
meta:
version: "1.0"
completeness: 0.85
entities: *entities # Same items as state.entities, for bindings like ${<step>.entities}
relationships: *relationships # Same items as state.relationships
confidence: 0.88
evidence_anchors:
- "config/services.yml:15-45"
- "command:docker ps"
- "command:redis-cli info"
assumptions:
- "Service discovery reflects actual running state"
- "Configuration matches deployed state"Example 2: Model Code Module State
Input:
scope: "payment processing module"
schema:
required_entities: ["class", "method", "dependency"]Output:
state:
world_id: "payments-code-20240115"
scope: "payment processing module"
timestamp: "2024-01-15T11:00:00Z"
entities: &entities
- id: "PaymentProcessor"
type: "class"
properties:
file: "src/services/payment_processor.rb"
lines: 145
methods: 8
complexity: 24
confidence: 0.95
- id: "process_payment"
type: "method"
properties:
class: "PaymentProcessor"
visibility: "public"
params: ["order", "payment_method"]
complexity: 12
confidence: 0.95
- id: "stripe-gem"
type: "dependency"
properties:
name: "stripe"
version: "8.0.0"
usage: ["PaymentProcessor"]
confidence: 0.90
relationships: &relationships
- from: "PaymentProcessor"
to: "stripe-gem"
type: "depends_on"
properties:
import_type: "require"
- from: "process_payment"
to: "PaymentProcessor"
type: "member_of"
properties:
visibility: "public"
meta:
version: "1.0"
completeness: 0.75
entities: *entities # Same items as state.entities, for bindings like ${<step>.entities}
relationships: *relationships # Same items as state.relationships
confidence: 0.85
evidence_anchors:
- "src/services/payment_processor.rb:1-145"
- "Gemfile:42"
assumptions:
- "Static analysis reflects runtime behavior"
- "No dynamic method definitions"Verification
- State includes world_id and timestamp
- All entities have unique IDs and types
- Relationships reference valid entity IDs
- Confidence scores present for entities
- Evidence anchors support state assertions
Verification tools: Read (to verify file references)
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: falserisk: low
Capability-specific rules:
- Do not modify state while modeling it
- Note when state may be stale or dynamic
- Flag entities with low confidence
- Do not invent entities without evidence
Composition Patterns
Commonly follows:
observe- Observations feed into state modelingretrieve- Retrieved data informs stateintegrate- Merged data forms state
Commonly precedes:
transition- State enables transition modelingcompare- States can be compared (diff)simulate- State is starting point for simulation
Anti-patterns:
- Never use state for predictions (use
predict) - Avoid state for single-value measurement (use
measure)
Workflow references:
- See
reference/workflow_catalog.yaml#world_model_buildfor state in world modeling - See
reference/workflow_catalog.yaml#digital_twin_sync_loopfor state in digital twins
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
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.

