maedoc/autotvb/small-model-essentials
- community
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-essentialsSKILL.md
TVB Essentials for Small Models
Critical API Facts — GET THESE RIGHT OR CRASH
- `sim.run()` returns a LIST, not a generator. Always unpack as:
``python (t1, d1), (t2, d2) = sim.run(simulation_length=T) ``
- Conduction speed goes on Connectivity, NOT Simulator:
``python conn.speed = numpy.array([4.0]) conn.configure() ` Never pass conduction_speed to Simulator()`.
- Always `configure()` objects before using them:
``python conn.configure() model = models.Generic2dOscillator() sim.configure() ``
- 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 type | Absolute minimum | Recommended | |
|---|---|---|---|
| ERP / stimulus response | 2000 ms | 4000 ms | |
| PSD / spectral analysis | 4000 ms | 8000 ms | |
| BOLD FC (76 regions) | 240,000 ms (4 min) | 480,000 ms | |
| Parameter sweep | 2000 ms per point | varies | |
| Stochastic / noise | 4000 ms | 8000 ms |
Notebook Serialization
In .ipynb JSON, code cell sources use array format with real newlines:
Never use literal \n in a single string: "x = 1\ny = 2" — this causes SyntaxError.
Additional Rules
- Use deterministic integrators (
HeunDeterministic) unless noise requested nsigshape 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
- SKILL.md in the repositoryCheckingskills-in-progress/driver/small-model-essentials/SKILL.md
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
[](https://verified-skill.com/skills/maedoc/autotvb/small-model-essentials)