maedoc/autotvb/small-model-essentials

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Critical TVB API facts and rules for 8B models with limited (32K) context. Load this INSTEAD of the full skill set. Contains only must-know facts that prevent catastrophic failures.

Install

npx vskill@latest install maedoc/autotvb/small-model-essentials

SKILL.md

TVB Essentials for Small Models

Critical API Facts — GET THESE RIGHT OR CRASH

  1. `sim.run()` returns a LIST, not a generator. Always unpack as:

``python (t1, d1), (t2, d2) = sim.run(simulation_length=T) ``

  1. Conduction speed goes on Connectivity, NOT Simulator:

``python conn.speed = numpy.array([4.0]) conn.configure() ` Never pass conduction_speed to Simulator()`.

  1. Always `configure()` objects before using them:

``python conn.configure() model = models.Generic2dOscillator() sim.configure() ``

  1. Multi-monitor unpacking: one (time, data) pair per monitor:

``python mon_raw = monitors.Raw() mon_tavg = monitors.TemporalAverage() (t_raw, d_raw), (t_tavg, d_tavg) = sim.run(...) ``

Minimum Simulation Durations

Goal typeAbsolute minimumRecommended
ERP / stimulus response2000 ms4000 ms
PSD / spectral analysis4000 ms8000 ms
BOLD FC (76 regions)240,000 ms (4 min)480,000 ms
Parameter sweep2000 ms per pointvaries
Stochastic / noise4000 ms8000 ms

Notebook Serialization

In .ipynb JSON, code cell sources use array format with real newlines:

json
"source": ["x = 1\n", "y = 2\n"]

Never use literal \n in a single string: "x = 1\ny = 2" — this causes SyntaxError.

Additional Rules

  • Use deterministic integrators (HeunDeterministic) unless noise requested
  • nsig shape must match model's state variables: numpy.array([v, v]) for 2-variable models
  • Stimulus weights: use explicit indexing stim_weights[[35, 36], 0] = numpy.array([v1, v2])
  • Burn-in must not swallow stimulus: max 100 ms pre-stimulus discard
  • Focused analysis: only plots/data the goal explicitly asks for

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/maedoc/autotvb/small-model-essentials/badge)](https://verified-skill.com/skills/maedoc/autotvb/small-model-essentials)

Something wrong with this skill or its page? Tell us.