Communitygithub.com

curiositech/windags-skills

Temporal interval algebra for reasoning about time relationships in planning and knowledge representation

windags-skills 是什麼?

windags-skills is a Claude Code agent skill that temporal interval algebra for reasoning about time relationships in planning and knowledge representation.

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/curiositech/windags-skills/tree/HEAD/skills/allen-cacm1983

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

SKILL.md: Temporal Interval Reasoning (Allen 1983)

When to Use This Skill

Load this skill when you encounter:

Trigger SituationWhy Allen Applies
"Does task A finish before task B starts?"Requires interval relation classification (before, meets, overlaps…)
"I don't know exactly when X happened, only that it was during Y"Disjunctive uncertainty over the 13 relations
"If we add this constraint, does the schedule still work?"Constraint propagation + inconsistency detection
"Event A happens daily; event B happens yearly — how do they interact?"Reference interval hierarchy for scope management

Do not use if you only need to compare two absolute timestamps with no uncertainty — plain arithmetic suffices.


Decision Points

New Temporal Assertion Added

IF assertion conflicts with existing constraints:
    → Detect empty arc label during propagation
    → HALT immediately, report inconsistent interval pair
    → Do NOT continue with inconsistent state

IF assertion is consistent:
    → Run constraint propagation from affected arcs
    → Update labels by intersecting transitivity consequences
    → Continue until no more refinements possible

Handling Temporal Uncertainty

IF evidence only supports multiple relations:
    → Maintain full disjunctive label {before, meets, overlaps}
    → Never collapse to single relation without evidence
    → Log when/why constraint set narrows

IF forced to act under uncertainty:
    → Use disjunctive label as-is for planning
    → Tag any assumptions as defeasible
    → Avoid premature commitment

Scoping Temporal Reasoning

IF dealing with events at vastly different timescales:
    → Identify reference interval hierarchy (year→month→day)
    → Reason within each cluster separately
    → Create explicit bridge constraints at boundaries
    → Avoid flattening everything into one global graph

IF local reasoning feels sufficient:
    → Verify query scope matches reference interval level
    → Propagate only within relevant cluster
    → Escalate cross-cluster only when dependency detected

State Persistence

IF state continues with no explicit end bound:
    → Apply persistence default AND mark as defeasible
    → Any future end-bound assertion overrides default
    → Never treat persistence assumption as hard constraint

IF explicit temporal bound provided:
    → Override any existing persistence defaults
    → Propagate new constraint normally

Failure Modes

Anti-PatternSymptomDiagnosisFix
Point-ificationReducing events to timestamps, losing overlap/containment infoUsing time=14:30 instead of [14:30, 14:45] intervalsModel every event as interval with start/end, even if duration unknown
Premature CommitmentPicking single relation when evidence supports multipleAsserting "before" when you only know "not during"Maintain full disjunctive label until evidence forces narrowing
Global Propagation BombO(N²) cost per update, performance degrades with KB sizeRunning constraint propagation across entire graph for local queryUse reference interval hierarchy to limit propagation scope
Empty Label DenialContinuing reasoning after inconsistency detectedGetting nonsense results because conflicting constraints ignoredTreat empty arc label as SUCCESS (inconsistency caught early), halt immediately
Persistence RigidityCannot override "continues until changed" assumptionsNew temporal bounds rejected because they conflict with persistenceTag all persistence defaults as defeasible, allow override by explicit assertions

Detection Rules:

  • If you see timestamps without duration → Point-ification
  • If you see single relation chosen arbitrarily → Premature Commitment
  • If propagation cost grows with total KB size → Global Propagation Bomb
  • If reasoning continues after empty label → Empty Label Denial
  • If new temporal facts get rejected → Persistence Rigidity

Worked Examples

Example 1: Meeting Schedule Conflict Detection

Scenario: Adding "Team Review" to calendar that already has "Client Call" and "Engineering Standup"

Initial State:

Client Call (I₁): [10:00, 11:00]
Engineering Standup (I₂): [11:30, 12:00]
Known: I₁ {before} I₂

New Assertion: Team Review (I₃): [10:45, 11:15]

Expert Reasoning Trace:

  1. Classify new relations:

    • I₃ vs I₁: starts at 10:45, I₁ ends at 11:00 → {overlaps}
    • I₃ vs I₂: ends at 11:15, I₂ starts at 11:30 → {before}
  2. Constraint propagation:

    • From I₁ {before} I₂ and I₃ {overlaps} I₁
    • Transitivity: overlaps ∘ before = {before, overlaps, meets, starts, during}
    • New constraint: I₃ {before, overlaps, meets, starts, during} I₂
    • Intersect with I₃ {before} I₂: label becomes {before}
  3. Consistency check: All labels non-empty → Schedule is feasible but has overlap

Novice Would Miss:

  • Might not check I₃ overlap with I₁ creates resource conflict
  • Might not verify transitivity maintains consistency
  • Might not distinguish "feasible ordering" from "no resource conflicts"

Expert Catches:

  • Overlap detection flagged immediately via relation classification
  • Propagation verifies global consistency maintained
  • Clear distinction between temporal feasibility and resource availability

Example 2: Process Phase Dependencies

Scenario: Deployment pipeline with uncertain task completion times

Initial State:

Build Phase (B): duration unknown, must finish before Deploy
Test Phase (T): overlaps with end of Build, duration uncertain  
Deploy Phase (D): starts after both B and T complete

Constraint Network:

T {overlaps, finishes} B  (Test can finish with or before Build)
B {before, meets} D       (Build must complete before Deploy)
T {before, meets} D       (Test must complete before Deploy)

New Information: "Test found critical bug, extending by 2 hours"

Expert Reasoning:

  1. Update affects scope: Test extension pushes T endpoint later
  2. Propagation: If T {finishes} B originally, now T {overlaps} B (extends past Build end)
  3. Check consistency: T {overlaps} B still allows B {before, meets} D and T {before, meets} D
  4. Result: Deployment delayed but pipeline logic intact

Novice Would Miss:

  • Might assume Test completion doesn't affect Build-Deploy dependency
  • Might not propagate Test extension through to Deploy timing
  • Might treat "Test extends" as isolated fact rather than constraint network update

Expert Catches:

  • Recognizes Test-Build relation must be re-evaluated
  • Propagates timing implications through full constraint network
  • Maintains uncertainty appropriately (Deploy could start immediately after Build OR after extended Test)

Quality Gates

Temporal reasoning task is complete when:

  • All intervals represented with explicit start/end bounds (no point events)
  • Every interval pair has non-empty arc label from the 13-relation vocabulary
  • Constraint propagation run to completion (no pending transitivity updates)
  • All disjunctive labels honestly reflect current evidence (no arbitrary commitments)
  • Reference interval hierarchy established for multi-scale reasoning
  • Persistence defaults tagged as defeasible where applicable
  • Inconsistency detection verified (empty labels caught and reported)
  • Cross-reference scope bridges explicitly defined
  • All temporal assertions traced to evidence source
  • Query scope matches reasoning granularity level

NOT-FOR Boundaries

Do NOT use Allen's interval algebra for:

  • Simple timestamp comparison → Use arithmetic: if (t1 < t2)
  • Metric duration calculation → Use calendar arithmetic: end_date - start_date
  • Real-time scheduling optimization → Use constraint satisfaction with numeric domains
  • Probabilistic temporal inference → Use temporal probabilistic networks
  • Continuous time dynamics → Use differential equations
  • High-frequency event streams → Use stream processing frameworks

Delegate instead:

  • For metric constraints: Use constraint-satisfaction-with-numeric-domains
  • For probabilistic temporal reasoning: Use bayesian-temporal-networks
  • For real-time systems: Use rate-monotonic-scheduling
  • For continuous dynamics: Use temporal-logic-model-checking
  • For event stream processing: Use complex-event-processing

Allen excels at: Qualitative temporal reasoning under uncertainty with incremental knowledge updates and hierarchical scope management.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

curiositech/windags-skills

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

curiositech/windags-skills

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

curiositech/windags-skills

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

curiositech/windags-skills

Implement WCAG 2.2 AA/AAA compliance with automated testing, keyboard navigation, screen reader support, and focus management. Activate on: accessibility audit, WCAG compliance, keyboard navigation, screen reader, aria attributes, axe-core, focus trap. NOT for: design-level accessibility review (use design-accessibility-auditor), color contrast only (use css-in-js-architect).

curiositech/windags-skills

Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time estimation, dopamine-aware task design, and building systems that actually work for neurodivergent minds.

curiositech/windags-skills

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

curiositech/windags-skills

>- Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

curiositech/windags-skills

Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.

curiositech/windags-skills

Conversation patterns and interaction protocols for multi-agent systems. Covers request/response, pub/sub, blackboard, delegation chains, debate, critique, consensus, fan-out/fan-in, supervisor-worker, and peer negotiation. Deep analysis of AutoGen conversation patterns, CrewAI delegation, LangGraph state passing, and FIPA-ACL performatives. Teaches how to design what agents say to each other and in what order. Activate on: "agent conversation", "agent protocol", "multi-agent debate", "agent delegation", "supervisor worker pattern", "agent voting", "consensus protocol", "fan-out fan-in", "agent negotiation", "blackboard pattern", "agent dialogue", "conversation topology", "agent handoff". NOT for: wire format or serialization (use agent-interchange-formats), orchestration infrastructure (use agentic-infrastructure-2026), single agent behavior (use agentic-patterns).

curiositech/windags-skills

Meta-agent for creating new custom agents, skills, and MCP integrations. Expert in agent design, MCP development, skill architecture, and rapid prototyping. Activate on 'create agent', 'new skill', 'MCP server', 'custom tool', 'agent design'. NOT for using existing agents (invoke them directly), general coding (use language-specific skills), or infrastructure setup (use deployment-engineer).

curiositech/windags-skills

AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection, meeting fatigue detection, and agent-to-agent meeting negotiation protocols. Activate on: "calendar agent", "AI scheduling", "calendar coordination", "meeting scheduling", "calendar API", "focus time protection", "calendar optimization", "Google Calendar MCP", "Reclaim", "Clockwise", "Motion", "Cal.com", "smart scheduling", "calendar-aware agent", "timezone scheduling", "agent negotiation meetings". NOT for: manual calendar UI component design (use form-validation-architect), project management scheduling or Gantt charts (use project-management-guru-adhd), general time-tracking or pomodoro apps (use adhd-daily-planner for time-awareness), building the agent itself from scratch (use agent-creator).

curiositech/windags-skills

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI, building trust in autonomous systems, and scaling adoption across teams. Activate on: "agent infrastructure", "agent framework comparison", "which agent framework", "sell AI tools internally", "agent adoption", "agent observability", "agent evaluation", "MCP architecture", "agentic mesh", "enterprise AI agents", "AI change management", "agent ROI". NOT for: building specific agents (use ai-engineer), designing agent behavior patterns (use agentic-patterns), prompt tuning (use prompt-engineer).

curiositech/windags-skills

Fundamental patterns for effective agentic behavior. Teaches decomposition, tool orchestration, error recovery, context management, quality self-assessment, and knowing when to stop. Model-agnostic principles that make any agent more effective regardless of domain. Activate on: "how should I structure this agent", "agentic workflow", "agent patterns", "multi-step task", "tool orchestration", "/agentic-patterns", "decompose this", "agent best practices", "chain of actions", "when should the agent stop", "agent loop design". NOT for: creating agent infrastructure (use agent-creator), building DAGs (use windags-architect), specific tool implementation.

curiositech/windags-skills

Automated discovery and matching of agent skills for dynamic task routing and capability assessment

curiositech/windags-skills

Cryptographic security for agentic systems — zero-trust agent networking, signed message envelopes (JWS/JWE), capability-based security (ocaps), Merkle tree audit trails, WASM sandboxing, and formal verification. Covers CLI dev tool security, mTLS between agents, permission boundaries (least privilege for AI agents), and supply chain security for skills/plugins. Activate on: "agent security", "zero trust agents", "secure agent communication", "capability-based security", "ocap", "signed messages between agents", "agent audit trail", "sandbox agent execution", "agent permissions", "mTLS agents", "cryptographic verification", "agent supply chain", "OWASP agentic", "prove agent did X", "tamper-proof agent logs". NOT for: application-level SAST scanning (use security-auditor), network firewall rules (use infrastructure), SOC2/HIPAA compliance (organizational), or prompt injection defense (use prompt-engineer).

curiositech/windags-skills

Data structures and serialization formats for agent-to-agent communication. Covers message envelopes, structured output schemas, capability declarations, task handoff payloads, error/retry signaling, and context windows as data structures. Deep comparison of A2A protocol, MCP, OpenAI function calling, and LangChain message types. Teaches when to use rigid schemas vs free-form with validation, typed vs untyped, streaming vs batch. Activate on: "agent message format", "agent communication schema", "agent-to-agent protocol", "A2A protocol", "MCP message format", "structured output for agents", "agent interop", "interchange format", "agent serialization", "task handoff format", "capability declaration". NOT for: what agents say to each other (use agent-conversation-protocols), orchestration topology (use multi-agent-coordination), building agent infrastructure (use agentic-infrastructure-2026).

curiositech/windags-skills

Logic-based agent programming language implementing BDI architecture for practical autonomous agent development

curiositech/windags-skills

>- Design AgentSpeak(L)-style BDI agents with context-guarded plans, selection functions, and intention stacks. Use for interruptible autonomy, agent policy, and multi-agent orchestration in dynamic environments. NOT for simple rule engines, static planners, or centralized workflows.

curiositech/windags-skills

Foundational concurrent computation model where actors communicate exclusively through asynchronous message passing

curiositech/windags-skills

license: Apache-2.0 NOT for unrelated tasks outside this domain.

相關技能