Physics simulation creator

From DNYoussef/context-cascade · View interactive version

Physics simulation creator is an AI agent skill from the GitHub repository DNYoussef/context-cascade. [assert|neutral] Create optimal physics simulations using Non-Newtonian Calculus (NNC) parameter tuning. Use for ANY physics simulation to maximize accuracy and minimize computational complexity. The k parameter optim [ground:given] [conf:0.95] [state:confirmed]

How to use this skill

Skill file

/============================================================================/

/* PHYSICS-SIMULATION-CREATOR SKILL :: VERILINGUA x VERIX EDITION */

/============================================================================/


name: physics-simulation-creator

version: 1.1.0

description: |

[assert|neutral] Create optimal physics simulations using Non-Newtonian Calculus (NNC) parameter tuning. Use for ANY physics simulation to maximize accuracy and minimize computational complexity. The k parameter optim [ground:given] [conf:0.95] [state:confirmed]

category: specialists

tags:

author: meta-calculus-toolkit

cognitive_frame:

primary: evidential

goal_analysis:

first_order: "Execute physics-simulation-creator workflow"

second_order: "Ensure quality and consistency"

third_order: "Enable systematic specialists processes"


/----------------------------------------------------------------------------/

/* S0 META-IDENTITY */

/----------------------------------------------------------------------------/

[define|neutral] SKILL := {

name: "physics-simulation-creator",

category: "specialists",

version: "1.1.0",

layer: L1

} [ground:given] [conf:1.0] [state:confirmed]

/----------------------------------------------------------------------------/

/* S1 COGNITIVE FRAME */

/----------------------------------------------------------------------------/

[define|neutral] COGNITIVE_FRAME := {

frame: "Evidential",

source: "Turkish",

force: "How do you know?"

} [ground:cognitive-science] [conf:0.92] [state:confirmed]

Kanitsal Cerceve (Evidential Frame Activation)

Kaynak dogrulama modu etkin.

/----------------------------------------------------------------------------/

/* S2 TRIGGER CONDITIONS */

/----------------------------------------------------------------------------/

[define|neutral] TRIGGER_POSITIVE := {

keywords: ["physics-simulation-creator", "specialists", "workflow"],

context: "user needs physics-simulation-creator capability"

} [ground:given] [conf:1.0] [state:confirmed]

/----------------------------------------------------------------------------/

/* S3 CORE CONTENT */

/----------------------------------------------------------------------------/

Physics Simulation Creator

Kanitsal Cerceve (Evidential Frame Activation)

Kaynak dogrulama modu etkin.

Create optimal physics simulations with automatic parameter tuning using Non-Newtonian Calculus (NNC).

Overview

This skill helps AI agents create ANY numerical physics simulation with optimal accuracy and minimal computational complexity. The k parameter from NNC provides a tuning knob that:

  1. Maximizes accuracy for your specific problem type
  2. Minimizes computational steps needed for convergence
  3. Handles singularities automatically (if present)

Key Insight: Classical calculus (k=0) is not always optimal. Different physics problems benefit from different k values - even smooth problems without singularities.

When to Use This Skill

ALWAYS USE FOR (Significant gains):

USE FOR COMPUTATIONAL EFFICIENCY (Same accuracy, fewer steps):

CONSIDER USING FOR (Moderate accuracy gains):

k=0 IS OPTIMAL FOR (No NNC needed):

The Process

1. Analyze problem -> Does it have singularities? What length scale?
2. Select optimal k -> For accuracy AND complexity, not just singularity handling
3. Generate code -> With NNC transforms at optimal k
4. Validate -> Compare accuracy vs classical (k=0)

Singularity Detection (Part of Process, Not the Only Use)

The skill automatically checks: "Does this problem have a singularity I need to watch out for?"


When k != 0 Provides Meaningful Gains

Understanding the k(L) Formula

The k(L) formula from multi-objective optimization shows optimal k varies by scale:

| Scale | Optimal k | Accuracy Gain | Step Reduction | Recommendation |

|-------|-----------|---------------|----------------|----------------|

| Planck (1e-35 m) | 0.64 | 50%+ | 50-100x | ALWAYS use NNC |

| Atomic (1e-10 m) | 0.30 | 15-30% | 7-22x | Use NNC - significant |

| Micro (1e-6 m) | 0.24 | 10-20% | 5-10x | Use NNC for large sims |

| Human (1 m) | 0.16 | <5% | 1.5-3x | k=0 unless need speed |

| Solar (1e11 m) | 0.01 | <1% | ~1x | k=0 optimal |

| Galactic (1e21 m) | -0.13 | <5% | ~1x | k=0 optimal |

Practical Decision Rule

Use NNC (k != 0) when:

  1. Problem has explicit singularities (1/r, 1/r^2, etc.) - ALWAYS
  2. Length scale < 1e-6 m (microscale and smaller) - accuracy gains > 10%
  3. Need to reduce computational steps - 7-100x fewer steps at small scales
  4. Running large simulations on limited hardware - same accuracy, faster
  5. Ultra-high precision required (>6 digits) - even for smooth problems

Use classical (k = 0) when:

  1. Smooth problem at human scale (1mm - 1km) AND speed not critical
  2. Engineering tolerance is adequate (3-4 digits)
  3. Simplicity preferred AND not computationally constrained

Accuracy vs Complexity Trade-off

The CASCADE algorithm (61.9% win rate vs classical) proves that:

-

/----------------------------------------------------------------------------/

/* S4 SUCCESS CRITERIA */

/----------------------------------------------------------------------------/

[define|neutral] SUCCESS_CRITERIA := {

primary: "Skill execution completes successfully",

quality: "Output meets quality thresholds",

verification: "Results validated against requirements"

} [ground:given] [conf:1.0] [state:confirmed]

/----------------------------------------------------------------------------/

/* S5 MCP INTEGRATION */

/----------------------------------------------------------------------------/

[define|neutral] MCP_INTEGRATION := {

memory_mcp: "Store execution results and patterns",

tools: ["mcpmemory-mcpmemory_store", "mcpmemory-mcpvector_search"]

} [ground:witnessed:mcp-config] [conf:0.95] [state:confirmed]

/----------------------------------------------------------------------------/

/* S6 MEMORY NAMESPACE */

/----------------------------------------------------------------------------/

[define|neutral] MEMORY_NAMESPACE := {

pattern: "skills/specialists/physics-simulation-creator/{project}/{timestamp}",

store: ["executions", "decisions", "patterns"],

retrieve: ["similar_tasks", "proven_patterns"]

} [ground:system-policy] [conf:1.0] [state:confirmed]

[define|neutral] MEMORY_TAGGING := {

WHO: "physics-simulation-creator-{session_id}",

WHEN: "ISO8601_timestamp",

PROJECT: "{project_name}",

WHY: "skill-execution"

} [ground:system-policy] [conf:1.0] [state:confirmed]

/----------------------------------------------------------------------------/

/* S7 SKILL COMPLETION VERIFICATION */

/----------------------------------------------------------------------------/

[direct|emphatic] COMPLETION_CHECKLIST := {

agent_spawning: "Spawn agents via Task()",

registry_validation: "Use registry agents only",

todowrite_called: "Track progress with TodoWrite",

work_delegation: "Delegate to specialized agents"

} [ground:system-policy] [conf:1.0] [state:confirmed]

/----------------------------------------------------------------------------/

/* S8 ABSOLUTE RULES */

/----------------------------------------------------------------------------/

[direct|emphatic] RULE_NO_UNICODE := forall(output): NOT(unicode_outside_ascii) [ground:windows-compatibility] [conf:1.0] [state:confirmed]

[direct|emphatic] RULE_EVIDENCE := forall(claim): has(ground) AND has(confidence) [ground:verix-spec] [conf:1.0] [state:confirmed]

[direct|emphatic] RULE_REGISTRY := forall(agent): agent IN AGENT_REGISTRY [ground:system-policy] [conf:1.0] [state:confirmed]

/----------------------------------------------------------------------------/

/* PROMISE */

/----------------------------------------------------------------------------/

[commit|confident] <promise>PHYSICS_SIMULATION_CREATOR_VERILINGUA_VERIX_COMPLIANT</promise> [ground:self-validation] [conf:0.99] [state:confirmed]

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.