Neurolink Guide
juspay/neurolink
Guide for using the NeuroLink SDK and CLI. An agent skill from juspay/neurolink.
A skill your agent uses when code needs a judgment about natural language that rules or regex cannot make (classify, route, triage, moderate, score, rank, match, dedupe, filter, extract, verify, or…
$ npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aaddrick/building-with-typesafe-jev building-with-typesafe-jev --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aaddrick/building-with-typesafe-jev.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/building-with-typesafe-jev .claude/skills/building-with-typesafe-jev && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "building-with-typesafe-jev" agent skill from https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jev into .claude/skills/building-with-typesafe-jev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "building-with-typesafe-jev", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jevType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aaddrick/building-with-typesafe-jev building-with-typesafe-jev --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aaddrick/building-with-typesafe-jev.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/building-with-typesafe-jev .agents/skills/building-with-typesafe-jev && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "building-with-typesafe-jev" agent skill from https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jev into .agents/skills/building-with-typesafe-jev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "building-with-typesafe-jev", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aaddrick/building-with-typesafe-jev building-with-typesafe-jev --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aaddrick/building-with-typesafe-jev.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/building-with-typesafe-jev .cursor/skills/building-with-typesafe-jev && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "building-with-typesafe-jev" agent skill from https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jev into .cursor/skills/building-with-typesafe-jev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "building-with-typesafe-jev", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aaddrick/building-with-typesafe-jev.git --path skills/building-with-typesafe-jev--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aaddrick/building-with-typesafe-jev building-with-typesafe-jev --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aaddrick/building-with-typesafe-jev.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/building-with-typesafe-jev .gemini/skills/building-with-typesafe-jev && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "building-with-typesafe-jev" agent skill from https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jev into .gemini/skills/building-with-typesafe-jev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "building-with-typesafe-jev", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aaddrick/building-with-typesafe-jev building-with-typesafe-jevInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aaddrick/building-with-typesafe-jev.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/building-with-typesafe-jev .github/skills/building-with-typesafe-jev && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "building-with-typesafe-jev" agent skill from https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jev into .github/skills/building-with-typesafe-jev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "building-with-typesafe-jev", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aaddrick/building-with-typesafe-jev building-with-typesafe-jev --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aaddrick/building-with-typesafe-jev.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/building-with-typesafe-jev .opencode/skills/building-with-typesafe-jev && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "building-with-typesafe-jev" agent skill from https://github.com/aaddrick/building-with-typesafe-jev/tree/main/skills/building-with-typesafe-jev into .opencode/skills/building-with-typesafe-jev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "building-with-typesafe-jev", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
building-with-typesafe-jevA skill your agent uses when code needs a judgment about natural language that rules or regex cannot make (classify, route, triage, moderate, score, rank, match, dedupe, filter, extract, verify, or…
Building With Typesafe Jev is an agent skill from aaddrick/building-with-typesafe-jev. Use when code needs a judgment about natural language that rules or regex cannot make (classify, route, triage, moderate, score, rank, match, dedupe, filter, extract, verify, or gate an action), when brainstorming where AI could fit in an app, when an LLM call exists only to pick a label, score, or yes/no, or when code uses TypeSafe AI, Jev, System One, typesafe-sdk, or @typesafe-ai/sdk.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files (for example `agents/openai.yaml`, `api-reference.md` and `patterns.md`).
It sits in AI & LLM Engineering, covering Brainstorming. It works with Vercel AI SDK. The repository describes itself as: Unofficial skill that teaches coding agents to build with TypeSafe AI's Jev: typed decisions, calibrated confidence, and prior art from 150+ community projects. The licence is MIT.
11 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a46856c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
docs.typesafe.aiFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
TYPESAFE_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Building With Typesafe Jev loads about 3k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 1,826 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
u did. Do not go looking for the key in `.env` files, shell profiles, or key files. Point the user to the README sectionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aaddrick/building-with-typesafe-jev at commit a46856c, republished under its MIT licence (© aaddrick). 1,826 words, ~2,983 tokens.
.claude/skills/building-with-typesafe-jev/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.Jev is a System One model: it takes a state plus named, typed questions and returns typed answers with calibrated probabilities. It never generates text. Code owns the workflow. Jev supplies narrow snap judgments. It is not a chat or coding LLM and cannot power a coding agent.
Before you design anything new, check prior art: open prior-art/INDEX.md. It maps intents (control loop, gate, rerank, stream filter, incremental, agent memory, LLM pairing, and more) to shape files. Each shape file has a code sketch, field lessons, and linked community projects. Or grep prior-art/ for a domain word. It also lists the known bad fits.
Exact request/response shapes, SDK signatures, limits, and errors: see api-reference.md. It ends with a map of which live docs page to read for which task. Patterns and the cookbook index: see patterns.md. The live docs win on conflict: fetch https://docs.typesafe.ai/llms.txt, and append .md to any page path. Do not guess field names. Check them there. If the docs cannot be reached, read the installed SDK's types, tell the user you did, and do not invent details that depend on the version.
Open-ended request ("where could AI help in this app?"): work backward from what the app should show, select, change, or hand off. Offer two or three directions from prior-art/INDEX.md and recommend one. Concrete request: pick the shape and build. Either way, keep the user's stack and scope, and add Jev only where code needs a judgment.
You get better results when you check a design against the real endpoint. A live call catches a wrong field name, and it shows when Jev reads a question differently than you meant. If TYPESAFE_API_KEY is set in your shell, run a small probe before the code reaches the project. One call costs a fraction of a cent (input tokens only, 4.2 cents per million). If the key is not set, design from api-reference.md and say that you did. Do not go looking for the key in .env files, shell profiles, or key files. Point the user to the README section "If the agent cannot see the key".
Rules for the key:
api_key= in code. Let the SDK read TYPESAFE_API_KEY. Keep it server-side.TYPESAFE_LOG_LEVEL=debug logs request bodies without redaction. Headers stay redacted.401 or TypeSafeAuthenticationError means the key is wrong or rotated. Ask the user to replace it where they stored it, never in the chat.| Answer shape | Primitive | Returns | Branch on |
|---|---|---|---|
| One of an unordered set | Choice (≤255 options, map) | choice, probabilities, confidence | choice; gate with confidence |
| Position on a spectrum you can describe | Score (2–10 levels, ordered list) | score (0…n-1, can be fractional), legend, probabilities, confidence | threshold or sort score |
| Yes/no | Noul (optional true/false criteria) | noul = P(yes), no confidence | noul > threshold |
A Noul of 0.5 means "unsure", never "medium". Degree questions ("how strong in Python") need a Score. Several labels that can apply at once need one Noul per label, not a Choice.
usage.input_tokens on a real request. Write the premise into the text: "If this is a technical problem, how severe is it?". Code ignores the answers on branches it does not take.instructions."Does `ticket.messages[0].text` request a refund?". Send only what the question needs. Irrelevant state lowers accuracy. Include metadata (plan, timestamps) only when a question refers to it."Broken feature, workaround exists", not "moderate" or "2". Each level is judged alone, so "worse than the previous level" means nothing. Give each level one dimension.other / none_of_the_above. When two options get confused, make each value an object: {"what": ..., "not_for": ..., "examples": [...]}. Use the same keys on every option.true to a "no" meaning.not_stated) and compare in code. For extraction, find candidates with regex or an LLM, then let Jev pick among them. To count distinct items, split into candidates in code (sentences, lines). Ask two Nouls per candidate: "is this an X?" and "is this X different from those in items[0..i-1]?". Sum the answers in code. Turn hex colors, RGB triples, and raw codes into a computed number or a named bucket before Jev sees them. The same goes for a safety condition you can write exactly, when a miss cannot be undone: a denylist of destructive commands, a spending limit, a protected branch. Check it in code before Jev runs. Jev may make that decision stricter, never looser.choice (the argmax). A confidence threshold is not needed.choice, and notify a second option whose probability is above about 0.25. Do not force a single label.score / (len(criteria) - 1), weight the results in code, and keep the raw answers.score works for thresholds and sorting only. Do not read an exact magnitude off it by interpolating between two levels.exists, stated, fits) in the same request to decide whether to act at all.(n·top − 1)/(n − 1) over n options (measured: top 0.92 of 3, confidence 0.88), so it depends only on the top probability and the option count. Score confidence also counts how far the rest of the probability sits from the top level: spread onto a neighboring level costs little, and mass at the far end costs a lot. See api-reference.md. Neither is proof of correctness: typed output guarantees the interface, not the truth. Tune thresholds on labeled data from the user, and plot confidence against accuracy to check them. Treat cookbook numbers as examples only.P(q) + P(not q) = 1 across separate questions.jev-1.13.0 when thresholds were tuned against it. Log response.model.Look at the exact state, questions, candidates, answers, and the code that combined them, next to what actually happened. Then name the cause before you change anything:
RetryPolicy, not by rewording the question.Known weak spots in jev-1.13: https://docs.typesafe.ai/model-jaggedness/jev-1.13.md.
| Mistake | Fix |
|---|---|
| One API call per question | Put all questions in one system_one call |
| Treating the top probability as confidence | Use .confidence. It is computed for you and is never higher than the top probability. |
Guessing the score scale | It is 0 to n-1, weighted by level probability. Python keys legend/probabilities by int; HTTP keys them by string. |
Score.criteria as a dict keyed by int | Use an ordered list (SDK ≥ 0.6.0) |
| Numeric or vague Score levels | Use concrete situations, one dimension each |
| "Analyze this and decide what to do" | Split into atomic questions and combine in code |
| Asking Jev to count, do date math, or compare hex colors | Do it in code. Ask per-item Nouls. |
| Double negatives, or "does the thing it refers to have..." | Ask directly about a named state path |
| Speculative question with no stated premise | "If X, then ...?" |
| Hand-rolled 429 retry loop | The SDKs retry 429/5xx with backoff. Tune with RetryPolicy. |
| 16+ worker thread pool on one key | Use about 8 workers or fewer. Above that, the endpoint rate-limits. |
| Holistic "is this record good?" judge | Use per-field checks, one flaw per Noul |
| API key in browser code | Keep it server-side. JS needs dangerouslyAllowBrowser for a reason. |
| Jev as the only check before a destructive or money-moving action | Put a code rule first: a known-bad pattern blocks whatever Jev says. Jev judges only what the rule does not decide. |
| Hostile text in state | Jev does not treat state as adversarial. Keep untrusted text in its own named field. Point questions at it by path. Add an injection Noul. Never let a Jev answer alone authorize a side effect. |
© aaddrick, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 15 other files in skills/building-with-typesafe-jev of aaddrick/building-with-typesafe-jev.
Open the folder on GitHubat commit a46856c
Building With Typesafe Jev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Building With Typesafe Jev this skillaaddrick/building-with-typesafe-jev | 136 | — | ~3k | Automated safety check: Notes | MIT | |
| Neurolink Guidejuspay/neurolink | 144 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Repo Conventionsjuspay/neurolink | 144 | — | ~1.3k | Automated safety check: Pass | MIT | |
| AI SDKvercel-labs/ai-facts | 168 | 20 repos | ~1.2k | Automated safety check: Pass | None | |
| Mem0 Provider for Vercel AI SDKmem0ai/mem0 | 67k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Yao Meta Skillyaojingang/yao-meta-skill | 2.7k | — | ~768 | Automated safety check: Pass | MIT |
juspay/neurolink
Guide for using the NeuroLink SDK and CLI. An agent skill from juspay/neurolink.
juspay/neurolink
NeuroLink's review standards — the critical rules to enforce, what NOT to comment on, the security bar, hot paths.
vercel-labs/ai-facts
Answer questions about the AI SDK and help build AI-powered features.
mem0ai/mem0
Adds persistent memory to Vercel AI SDK apps with the Mem0 provider, using a wrapped model or standalone retrieve and store utilities.
yaojingang/yao-meta-skill
Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts.
FailproofAI/failproofai
Helps instrument a custom Python or TypeScript agent to record events for Failproof AI, verify what gets written, and run an evaluator worker that scores the runs.
Works with
Categories
A skill your agent uses when code needs a judgment about natural language that rules or regex cannot make (classify, route, triage, moderate, score, rank, match, dedupe, filter, extract, verify, or…. Building With Typesafe Jev is an agent skill from aaddrick/building-with-typesafe-jev. Use when code needs a judgment about natural language that rules or regex cannot make (classify, route, triage, moderate, score, rank, match, dedupe, filter, extract, verify, or gate an action), when brainstorming where AI could fit in an app, when an LLM call exists only to pick a label, score, or yes/no, or when code uses TypeSafe AI, Jev, System One, typesafe-sdk, or @typesafe-ai/sdk.
Building With Typesafe Jev fits situations like: code needs a judgment about natural language that rules; regex cannot make (classify; gate an action); brainstorming where AI could fit in an app.
Run `npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a claude-code`. Or copy the skill folder (skills/building-with-typesafe-jev in aaddrick/building-with-typesafe-jev) into .claude/skills/building-with-typesafe-jev in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a codex`. Or copy the skill folder (skills/building-with-typesafe-jev in aaddrick/building-with-typesafe-jev) into .agents/skills/building-with-typesafe-jev in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aaddrick/building-with-typesafe-jev --skill building-with-typesafe-jev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/building-with-typesafe-jev, .gemini/skills/building-with-typesafe-jev, .github/skills/building-with-typesafe-jev and .opencode/skills/building-with-typesafe-jev in your project.
Going by SKILL.md and its folder, Building With Typesafe Jev needs credentials named TYPESAFE_API_KEY. Our summary lists: Python 3; A credential in TYPESAFE_API_KEY.
SKILL.md names 1 domain. In commands or code: docs.typesafe.ai; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Building With Typesafe Jev is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Building With Typesafe Jev: Neurolink Guide (juspay/neurolink, 144 stars), Repo Conventions (juspay/neurolink, 144 stars), AI SDK (vercel-labs/ai-facts, 168 stars) and Mem0 Provider for Vercel AI SDK (mem0ai/mem0, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aaddrick (a GitHub user) maintains it in aaddrick/building-with-typesafe-jev, which has 136 GitHub stars. The repository was last updated on October 1, 2026.
Source: aaddrick/building-with-typesafe-jev on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.