llm-judgment-layer
Use when adding an LLM judgment or recommendation layer to an application — adaptive difficulty, content ranking, daily mixes, personalization.
Skill by igmarin
Chalk Labs
Need help deploying llm-judgment-layer?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/igmarin-llm-judgment-layer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/llm-judgment-layer
What's inside
- Skill name
llm-judgment-layer- Description
- Use when adding an LLM judgment or recommendation layer to an application — adaptive difficulty, content ranking, daily mixes, personalization. The model ranks and scores; code decides. Every failure path degrades silently to a deterministic fallback. Trigger words: llm judgment, ai difficulty, recommendation model, model-in-the-loop, adaptive content, ai personalization.
- License
- MIT
- Metadata
- output: Integration design — question set, state shape, gates, fallback · version: 1.0.0 · constraints: Model never holds policy; fallback must work with zero network. · user-invocable: true
- Instructions
- 77 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# LLM Judgment Layer Seasoning, not the meal. The app is 100% deterministic and works offline; the model answers a few narrow questions per time-bucket and code keeps control of everything else. ## HARD-GATE - The model **never** decides policy. It ranks, scores, or answers yes/no; code sorts, clamps, thresholds, and chooses. - The UI **never** waits on the network. Render the cached/default plan first; update in place if the model answers. - Every failure path lands **silently** on the deterministic fallback. No error copy, no retry storms, no dead UI. - The API key **never** ships in the client. Server-side proxy adds it; unset proxy URL means the layer is inert by design. ## Core loop 1. **State** — aggregate statistics only, composed in the model's primary language. No names, dates, identifiers, or free text. 2. **One batched request per time-bucket** (usually per local day), fired lazily on first need, cached by bucket stamp. All questions ride in one call against the same state. 3. **Parse per question** — a half-good response still contributes its good answers; failed questions fall back individually. 4. **Gate on confidence** — apply a model answer only above a threshold set by the stakes of being wrong. Below threshold: keep previous value. 5. **Decide in code** — sort, clamp, threshold. Guarantee a valid result even when every probability is low. ## Question primitives | Primitive | Returns | Use for | |-----------|---------|---------| | Choice | one winner + probabilities | exactly-one selection | | Noul (P(yes) per item) | independent probabilities | multi-select mixes — rank in code, take top N | | Score (ordered levels) | float over a legend | graded settings like difficulty — round, clamp, gate | Multi-select is the classic trap: a single Choice forces one winner; independent Nouls give a per-item probability you can rank yourself. ## Timing Batch per time-bucket, not per event. Difficulty that shifts mid-session feels erratic; per-event calls multiply cost for no benefit at fine granularity. New users start at a safe default, never at a model guess. ## Failure taxonomy (all → silent fallback) No network or timeout · non-2xx · malformed or missing answers · low confidence · no proxy configured. The fallback is a first-class feature: deterministic rotation, keep-yesterday's value, safe defaults. Test the fallback path as heavily as the happy path. ## Privacy The state object is the entire data contract: counts, ratios, recency. If a field could identify a person, it does not belong. The proxy adds the key server-side and forwards verbatim — no rewriting, no logging. ## Anti-patterns - Letting the model's raw answer reach the UI ungated - Error copy when the model fails (the user did nothing wrong) - Per-event requests where a daily cache suffices - PII or locale leaking into the state object - Ignoring `confidence` — it's a separate axis from the answer itself ## Integration | Skill | When to chain | |-------|---------------| | `judgment-gate` | Apply the same discipline to planning decisions | | `work-router` with `tech-lead` intent | Feasibility review of the proposed integration from the active profile |
From igmarin/agnostic-planning-skills, MIT.
More from igmarin/agnostic-planning-skills
- 0.555score
review-prd
igmarin
Use when reviewing a PRD for completeness, testability, clarity, or feasibility.
SkillAFreshness: A★ 1Claude Code +9 - 0.555score
create-retrospective
igmarin
Use when writing a sprint retrospective from team feedback and metrics.
SkillAFreshness: A★ 1Claude Code +9 - 0.555score
estimate-tasks
igmarin
Use when estimating effort, sizing tasks, or assigning story points.
SkillAFreshness: A★ 1Claude Code +9 - 0.555score
work-router
igmarin
Route a work request to one skill in the active project profile.
SkillAFreshness: A★ 1Claude Code +9 - 0.555score
requirements-clarifier
igmarin
Use when a request is vague and needs scope, user stories, or acceptance criteria.
SkillAFreshness: A★ 1Claude Code +9 - 0.555score
identify-risks
igmarin
Use when scanning a plan for risks or building a risk register.
SkillAFreshness: A★ 1Claude Code +9 - 0.555score
judgment-gate
igmarin
Use when a plan, backlog, or design needs a defensible go/no-go or ranking and vibes are not enough.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
task-complexity-classifier
igmarin
Classify task complexity using Jev (TypeSafe AI) to help any AI agent decide how to handle a task.
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
plan-tickets
igmarin
Draft tracker-ready work items from a plan or PRD.
SkillAFreshness: A★ 1Claude Code +9 - 0.531score
create-prd
igmarin
Use when the user wants a PRD, product requirements, a feature spec, or a written scope.
SkillAFreshness: A★ 1Claude Code +9 - 0.522score
github-issue
igmarin
Use when creating, updating, or closing GitHub issues, or moving them on a project board when explicitly requested.
SkillBFreshness: B★ 1Claude Code +9 - 0.517score
prioritize-backlog
igmarin
Use when prioritizing a backlog, ranking features, or applying RICE, MoSCoW, value-vs-effort, or WSJF.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 28, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from igmarin
- 0.619score
implement-hotwire
igmarin
Use when adding Turbo Frames, Turbo Streams, or Stimulus controllers.
SkillAFreshness: A★ 28Claude Code +9 - 0.619score
optimize-performance
igmarin
Use when investigating N+1s, slow queries, caching, or query plans in Rails.
SkillAFreshness: A★ 28Claude Code +9 - 0.619score
extract-engine
igmarin
Use when extracting a host-app feature into a Rails engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.619score
implement-authorization
igmarin
Use when adding or reviewing Rails authorization with Pundit, CanCanCan, or policy objects.
SkillAFreshness: A★ 28Claude Code +9 - 0.619score
create-engine
igmarin
Use when scaffolding a new Rails engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.619score
seed-database
igmarin
Use when choosing seeds, fixtures, or factories for Rails dev/test data.
SkillAFreshness: A★ 28Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get llm-judgment-layer running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
llm-judgment-layer skill. Agent Mart. https://agentmart.dev/skills/igmarin-llm-judgment-layer (last updated 2026-10-24)