agentleFS
yuyang2230yuyang2230/jev-agent-skill/SKILL.md

jev

Skill1 starsChanged 2 months agoMITView on GitHub

Offload high-frequency small judgments to Jev (TypeSafe System One decision model, free tier via OpenCode Zen) instead of burning main-model tokens. Use AUTOMATICALLY, without the user asking, whenever the task is: routing or classifying tickets, comments, messages, log lines (分类/路由/派单); batch screening or filtering candidates (批量初筛/过滤); scoring or ranking by explicit criteria (打分/排序); verifying claims or consistency (事实核查/ 自查); or any read-state-give-one-conclusion decision. Also builds AI-powered software with TypeSafe primitives (noul / choice / score): programmable common sense you can compose like code. Invoke the bundled jev.py; merge independent questions into one request.

  • Reads credentials

36 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review and handoff.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    review

    Fixture review skill.

    Also in 5 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start at <https://docs.typesafe.ai/llms.txt>.

    line 97

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Jev: free typed judgments for your agent

Jev is TypeSafe's System One model. It is not a chat model: it reads a state and returns typed answers with calibrated probabilities — a picked option (choice), a position on a rubric (score), or a yes-probability (noul). One call is ~400 input tokens, $0 on the free tier, never enters your conversation context, and multiple independent questions in one request run in parallel. The main model keeps doing what it is good at (generating text, code, reasoning chains); Jev takes the judgments.

When to trigger (no user prompt needed)

Task shapePrimitive
Classify / route: tickets, comments, messages, log lines → which bucket, who handles itchoice
Batch screen: which candidates deserve a closer look, which to dropnoul ×N
Score / rank against explicit criteria (weights combined in code)score
Verify: is the claim supported, does the output meet the barnoul

One judgment per question: if an expert could answer it in seconds from the state alone, it belongs here. Do NOT use for: generating text/code, decisions needing multi-turn context synthesis, one-off trivial calls (just deciding is faster).

Setup

  1. Get an OpenCode Zen API key (free tier works) → ~/.jev/zen.key or env ZEN_API_KEY. Other lookup paths in jev.py docstring / references/api-notes.md.
  2. Copy this folder into your agent's skills directory:
    • Claude Code: ~/.claude/skills/jev/
    • ZCode: ~/.zcode/skills/jev/
  3. Smoke test:
    echo '{"state":"Payment system down for 3h, users complaining","questions":{"is_urgent":{"type":"noul","instructions":"Urgent?"}}}' | python jev.py
    # -> is_urgent: 0.95

Calling

jev.py handles the key, User-Agent, transient-500 retries, and compact output. Request body:

{
  "state": {"ticket": {"text": "...", "customer": "..."}},
  "questions": {
    "category":  {"type": "choice", "instructions": "Which team?",
                  "criteria": {"network": "...", "app": "..."}},
    "is_urgent": {"type": "noul", "instructions": "...",
                  "criteria": {"true": "...", "false": "..."}},
    "frustration": {"type": "score", "instructions": "...",
                  "criteria": ["calm", "upset", "angry"]}
  }
}

Answers come back under the same ids: choice → {choice, confidence, probabilities}; noul → {noul: 0..1}; score → {score, confidence, probabilities per level}. Code consumes the value/probabilities, not the legend text (Chinese labels can display mojibake in GBK terminals — the bytes are valid UTF-8, but indices are stabler).

Batch pattern: loop in bash/python, raw items stay in the script, only the conclusions come back into the agent context. That is where the token savings are: N items × full text never lands in the conversation.

Pitfalls (all hit in real use, verified 2026-09-20)

SymptomCause / fix
HTTP 500 on a payload that worked beforeZen gateway transient; fast-fail <1s. Retry 1–2× (jev.py does it)
HTTP 403 from PythonWAF blocks bare urllib UA; send User-Agent: curl/8.9.1
UnicodeEncodeError: surrogates on WindowsGBK pipe poisoning; read sys.stdin.buffer, decode utf-8 yourself
HTTP 401 with a valid keyModel name not entitled; check model spelling (jev-1.13-free, not jev-latest)
Free-tier FreeTierErrorApplies to chat-completions free models; the /v1/systemone endpoint works from external scripts (verified 10+ calls, cost: 0 each)

More: references/api-notes.md · Real-world case: references/showcase-taobao-comments.md · Batch example: examples/comment_triage.py

Live docs (source of truth)

Start at https://docs.typesafe.ai/llms.txt; append .md to page paths. Key pages: System One, state, primitives, HTTP API.


Author: yuyang2230 — maintains this skill from real production use: it powers the AI-ops pipeline of a lab-instrument Taobao shop (glass reactors, rotary evaporators, PT100 probes & fittings): comment triage, compliance pre-checks, reply prioritization. See the showcase reference. Shop: https://shop116547824.taobao.com/ Adapted from the official typesafe-ai/skills SKILL.md (MIT).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.