agentleFS
anhnguyen0905anhnguyen0905/codex-mcp/skills/jev-assist/SKILL.md

jev-assist

Skill4 starsChanged 7 days agoMITView on GitHub

Opt-in Jev decision assistance, off unless a TypeSafe key and CODEX_FLOW_JEV_MODE are set, shadow-mode-first.

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before every call, perform the security-category pre-check.

    line 14
  2. Very specific:

    Never bypass full SKILL.md reading or the LOAD/VET/AUTHOR gate.

    line 49
  3. Very specific:

    When no security category is at stake, call askJev with a Choice question root_cause whose choices are implementation_bug, plan_drift, and …

    line 75
  4. Distinctive:

    No approval, task creation, or ledger status changes are automated.

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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 Assist (opt-in appendix)

Helpers: required — none; optional — jev-client.mjs (scripts/jev-client.mjs; off/missing key is a silent no-op).

Shared rules

  • Opt in by loading this skill. off or a missing TYPESAFE_API_KEY is a silent no-op, never a hard error.
  • Shadow mode only logs comparisons; Jev never overrides exclusions, changes review-feedback's severity levels, the 3-round cap, or the codex_continue escalation rule, or automates an approval.
  • Before every call, perform the security-category pre-check. Never send content involving auth/session, user input, database queries, file paths, external API calls, crypto, payments, or secrets/env to Jev at all.
  • Claude remains responsible for every final decision. Enforce mode ships inert — every point defaults to shadow/off, and loading this skill never enables it.

Fast-path: Jev-assisted lane routing

Apply after the fast-path gate has read the task and confirmed that no absolute exclusion applies. Only when getJevMode() (via node scripts/jev-client.mjs ask ...) is not off, call askJev with a Choice question lane whose criteria are analysis, small-change, and full-flow, plus Noul questions is_security_sensitive and is_ambiguous; set state to the task description. Jev is only a tie-breaker for genuinely non-excluded, non-obviously-security-sensitive tasks.

  • Absolute exclusions — security-sensitive, spans components/contracts, ambiguous, user-requested full-flow — always win.
  • lane.confidence < 0.6 means ignore Jev's suggestion and use Claude's normal reasoning.
  • In shadow mode, after Claude's gate decision, run:
node scripts/jev-client.mjs log --point fast-path-lane --jev '<jevAnswer>' --claude '<claudeDecision>'
  • Continue with Claude's decision unchanged. Enforce mode is defined for completeness but ships inert.

Skill selection: Jev-assisted relevance scoring

Apply after Claude checks every candidate for exclusion and scope. If clear and getJevMode() is not off, make one batched askJev call scoring every cleared candidate (fan-out), 0–3, with state equal to the requirements; never make one call per candidate.

  • In shadow mode, run:
node scripts/jev-client.mjs log --point skill-relevance --jev '<jevAnswer>' --claude '<claudeOrder>'
  • Enforce mode is inert: Score 0 with confidence above 0.8 goes last.
  • Never bypass full SKILL.md reading or the LOAD/VET/AUTHOR gate; Claude owns the final verdict.

Dual review: Jev-assisted finding triage

Apply for each raw Claude or Codex finding before verification, after the security-category pre-check above. Include only findings that pass it; never batch the full diff/context and filter afterward. For each included finding <n>, add Score question severity_<n> with the 0–3 rubric and Noul questions is_duplicate_<n> and is_in_scope_<n>. Claude may make one batched askJev call (fan-out), with state containing only included findings:

node scripts/jev-client.mjs ask --point review-triage --json '<json>'

Jev is non-blocking when unavailable or disabled. It is additive metadata only. In shadow mode, after Claude's own verified severity/duplicate/in-scope verdict for each finding, run:

node scripts/jev-client.mjs log --point review-triage --jev '<jevAnswer>' --claude '<claudeVerdict>'

In enforce mode, annotate pre-triaged only when Jev severity confidence is greater than 0.85 and agrees with one reviewer's initial severity. CRITICAL/HIGH findings still use the full 3-round verify+continue loop unchanged.

Dual review: Jev-assisted root-cause classification

Apply when a finding needs implementation-bug-versus-plan-drift classification and passes the security pre-check. When no security category is at stake, call askJev with a Choice question root_cause whose choices are implementation_bug, plan_drift, and ambiguous, as advisory input for Phase 5 step 6. Claude makes the final call and runs the existing plan-drift transaction unchanged.

Improvement gate: Jev-assisted improvement prioritization

Apply to each pending improvement after Claude confirms its description does not quote code in a security category. Skip Jev entirely for descriptions that fail that check; never call-then-filter. Eligible descriptions may be sent in state for an optional Jev Score question (0–3, “worth a new task”), used only to order the summary presented via AskUserQuestion. The user still approves or declines every item manually. In shadow mode, run:

node scripts/jev-client.mjs log --point improvement-priority --jev '<jevAnswer>' --claude '<claudeVerdict>'

No approval, task creation, or ledger status changes are automated.

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.