behavioral-core

Coordinate concurrent behaviors via behavioral(), bThread(), and bSync() APIs.

10|1|Updated Nov 26, 2022
One-click install
npx skills add https://github.com/plaited/plaited --skill behavioral-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: behavioral-core
Source: https://github.com/plaited/plaited/tree/main/.claude/skills/behavioral-core
Command: npx skills add https://github.com/plaited/plaited --skill behavioral-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Behavioral programming provides a scalable, event-driven coordination approach for managing multiple concurrent behaviors without shared mutable state, enabling deterministic interaction patterns across complex systems.

Core Features & Use Cases

  • Declarative coordination using behavioral(), bThread(), bSync() to compose independent threads.
  • Support for runtime rule composition via bThreads.set(), useFeedback(), and useSnapshot() to orchestrate tests, workflows, and neuro-symbolic reasoning layers.
  • Examples spanning UI coordination, game-like logic (e.g., Tic-Tac-Toe), and large-scale workflow orchestration.

Quick Start

Describe a simple BP workflow using behavioral() to coordinate two threads and demonstrate event selection.

Frequently Asked Questions about behavioral-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is behavioral programming for concurrent thread coordination?

Behavioral programming is an event-driven approach that coordinates concurrent behaviors without shared mutable state, enabling deterministic interaction patterns across complex systems through independent thread composition.

How do I coordinate concurrent event-driven threads without shared mutable state?

You can coordinate concurrent event-driven threads by using behavioral programming APIs like behavioral(), bThread(), and bSync() to compose independent threads and define blocking, waiting, and priority-based event selection.

Can I use behavioral programming for workflow orchestration and test coordination?

Yes, behavioral programming supports runtime rule composition via bThreads.set(), useFeedback(), and useSnapshot() to orchestrate tests, workflows, and neuro-symbolic reasoning layers across UI and non-UI contexts.

Does behavioral programming support runtime thread management and interruption?

Yes, behavioral programming supports runtime thread management through bThreads.set() and interrupt mechanisms, allowing dynamic addition and interruption of behaviors during event-driven execution.

What is the best way to manage priority-based event selection in concurrent systems?

The best way to manage priority-based event selection is using behavioral programming's bSync() mechanism, which defines blocking, waiting, and priority rules to compose scalable behaviors without shared mutable state.

When should I not use behavioral programming for thread coordination?

You should avoid behavioral programming when your system requires shared mutable state patterns or lacks event-driven architecture, as its core design relies on deterministic, pattern-based coordination without direct state mutation.