drolu/agent-skills/neuralos-complete
Claude Code and agent skill by drolu/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
The complete, all-inclusive neuralOS operations manual — install on any platform (macOS/Linux/Windows), configure any data source (CSV, JSON, logs, databases, APIs, Excel, unstructured text), build instances end-to-end (profile → model → generate → verify → extend), deploy into microVM sandboxes (BoxLite, Microsandbox, or bare), operate as services with health checks and monitoring, manage lifecycle (upgrade, rollback, backup, scale), integrate via OpenAPI/MCP/REST, and troubleshoot every known failure mode. Use when the user mentions neuralOS, needle, on-device tool-calling, data instances, or wants to build/deploy/manage any neuralOS-powered application.
Install
npx vskill@latest install drolu/agent-skills/neuralos-completeSKILL.md
The same SKILL.md was published earlier as drolu/agent-skills/neuralos-complete.
neuralOS — Complete Operations Manual
neuralOS turns any data source into a private, offline question-answering service. A 121M-parameter model (~35 MB, CPU-only, ~95 MB RAM) reads your data's actual shape and answers plain-English questions — no cloud, no API keys, no GPU. This manual covers everything from first install to production operations on any platform.
The mental model in one paragraph
neuralOS is a semantic resolver, not a chat model. It reads messy human intent and emits typed, verified queries against your data. Everything around it — the retrieval front-end, the verification gates, the audit trail, the health checks — exists to make those queries reliable. The model doesn't chat; it routes, extracts, and abstains (returns empty when no probe matches). The system layer catches what the model can't, and the verification gates prove what it does.
The full stack
Phase 0 — Install (all platforms)
macOS Apple Silicon
Linux x86_64 / ARM64
Windows (WSL2)
Verify the model works
Phase 1 — PROFILE your data source
The profiler reads the actual data (never guesses) and records every field, type, range, enum value, and sample.
Supported source types
| Source kind | --source format | Detects | |
|---|---|---|---|
| CSV / TSV | path/to/file.csv | columns, types, enums, ranges, samples | |
| MySQL / Postgres | mysql://user:pass@host:port/db | tables, columns, row counts, enums | |
| SQLite | sqlite:///path/to/db.sqlite | same as above | |
| JSON / JSONL | path/to/file.jsonl | nested schemas, field types | |
| Log files | path/to/app.log | line templates, capture regexes, levels | |
| REST API | https://api.example.com/data | response shape, auth needed | |
| Excel / XLSX | path/to/file.xlsx | sheets, columns, values | |
| Directories | path/to/dir/ | per-file-pattern probes | |
| Unstructured text | --source notes.txt --kind text | extraction schema via model |
Run the profiler
Read the profile before modeling
Open profile.json and check:
- Surprising nullability — a field that should always exist but has nulls
- Fields that are really enums —
statuswith only 3 distinct values - Dates stored as strings — needs a datetime validator
- Values with units or prefixes —
"NGN46494.89"needs cleaning - Nested structures — JSON sources may have arrays of objects
Phase 2 — MODEL (strict Pydantic)
The generated models.py contains strict Pydantic v2 models:
- Types inferred from the data
- Constraints (
ge,le,pattern,Literal/Enum) from observed ranges Optionalwhere nulls occur- Datetime fields with multi-format parsing
extra="forbid"— rejects unexpected keys- Aliases matching the source's own field names
- A description per field with observed statistics
Edit if the data's meaning demands it. The generator knows types; only you know that status_code = 2 means "In Progress". Add enum labels, rename cryptic columns, then proceed.
Phase 3 — GENERATE the full instance
This generates the complete instance directory:
| File | Role | |
|---|---|---|
needle_menu.json | probe menu with triggers + grammar-caged arguments | |
bridge.py | reads the source, validates through models, returns small results | |
instance.py | the agentic agent (deprecated CLI — use ask.py) | |
ask.py | mandated entry point: lexical top-K retrieval + deterministic fast path + stale-results guard + audit + cache + PII mask | |
serve.py | standard service: /healthz (liveness), /ready (data check), POST /ask | |
golden.json | golden question bank — one per probe | |
CATALOG.md | human "what you can ask" reference | |
invariants.py | property checks (counts, non-negative money) | |
truth.json | per-table SQL oracle cross-checks (database sources) | |
openapi.json | OpenAPI 3.1 typed operations | |
mcp.json | MCP tool manifest for AI agent hosts | |
graph_edges.json | relationship layer (if discovered) | |
graph_bridge.py | runtime graph traversal | |
verify.py | verification runner (all gates) | |
README.md | instance-specific documentation |
Source-specific generation
The generator auto-detects the source kind and generates the right bridge:
| Source kind | Bridge behavior | Probes generated | |
|---|---|---|---|
| Database | SQL via usql/bridge, parameterized | count/query/aggregate per table | |
| CSV/TSV | direct read, dialect sniffed | peek/filter/count/aggregate | |
| JSON/JSONL | flatten nested, direct read | peek/filter/count | |
| Log files | line templates + capture regexes | parse_tail/count_by_level/search | |
| REST API | HTTP fetch with baked auth | per-resource probes | |
| Excel | openpyxl if available | per-sheet peek | |
| Unstructured text | model extraction with schema | extract(record_text) |
Phase 4 — VERIFY (never skip)
The gates:
| Gate | What it proves | Pass threshold | |
|---|---|---|---|
| Model coverage | % of records that parse through the model | ≥ 95% | |
| Selection test | Correct probe picked for each phrasing | 3/3 per probe | |
| Truth check | Relayed number == direct source query | 100% match | |
| Invariants | Property checks (counts, sums, ranges) | all pass | |
| Golden bank | Every seeded question produces results | 100% |
Phase 5 — EXTEND (the improvement loop)
When the instance can't answer a question, it refuses honestly and logs the gap. Mine the gaps to grow the instance:
The improvement loop:
- Mine — collect refused/fuzzy questions from the audit log
- Propose — mine_gaps suggests new triggers for existing probes or
candidates for new probes
- Apply — add triggers/probes to the menu (human review)
- Lint — check for trigger collisions
- Re-verify — full suite (golden + truth + selection)
Deploy into microVM sandboxes
See the boxlite-neuralos and msb-neuralos skills for the full deployment patterns. The short version:
BoxLite (recommended for services)
Microsandbox (fork a running machine)
Operating a deployed instance
Start / stop
Ask questions
Monitor
Backup
Sizing guide (measured)
| Instance type | vCPU | RAM | Disk | Observed | |
|---|---|---|---|---|---|
| neuralOS only | 1 | 1 GB | 4 GB | idle 178 MB, peak 357 MB, model 95 MB | |
| + MariaDB data source | 1 | 1 GB | 6 GB | +150 MB for MariaDB, disk +157 MB | |
| Multi-tenant (10 sandboxes) | 2 | 4 GB | 20 GB | shared engine, per-box isolation |
Failure modes and fixes
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 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/neuralos-complete/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/drolu/agent-skills/neuralos-complete)