pupila: Skill for Claude Code

.claude/skills/pupila-ai-review/SKILL.md

pupila-ai-review is a skill for Claude Code from FranRom/pupila. It costs 84 tokens per session (1,565 once invoked), scanned A, original, MIT.

A guide to an AI-assisted review pipeline for job listings in this repository. It uses a locally installed language-model command-line tool to produce structured reviews and stores them in review data files.

In plain words
What is it for?
Use it to run or modify job-review processing, tune review prompts with a candidate brief, inspect review results, or troubleshoot the local review workflow.
Why use it?
It helps automate repeated job reviews and keeps the review criteria, candidate description, previous results, and outputs organized.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex; mentions OpenCode.

This is FranRom/pupila's own configuration. It tells Claude Code how to work on pupila itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pupila configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FranRom/pupila. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FranRom/pupila/main/.claude/skills/pupila-ai-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/FranRom/pupila

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pupila-ai-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/franrom/pupila/pupila-ai-review/github.svg)](https://agentmods.dev/skills/franrom/pupila/pupila-ai-review)
Your own site
<a href="https://agentmods.dev/skills/franrom/pupila/pupila-ai-review"><img src="https://agentmods.dev/badge/skills/franrom/pupila/pupila-ai-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pupila-ai-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/franrom/pupila/pupila-ai-review"><img src="https://agentmods.dev/badge/skills/franrom/pupila/pupila-ai-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01565
Opus 5 $0.00042 $0.00783
Sonnet 5 $0.00017 $0.00313
Haiku 4.5 $0.00008 $0.00156

Measured 12d ago against content hash dff343cf7023, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pupila-ai-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/pupila-ai-review/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pnpm run ai-review is a local-only companion that augments selected jobs with an LLM review via src/lib/llm.ts (auto-detects claude / codex / gemini / opencode, override PUPILA_LLM). Uses the user's local subscription (e.g. Claude Max) — NOT an API key, so no per-token charges.

The launchd/cron review agent runs daily at 07:15 by default. Without an LLM CLI, run scripts/install-launchd.sh --no-review (or cron equivalent).

Inputs / outputs

Input Path Role
Slim job list data/jobs.json Job metadata, scoring, _signals
Body sidecar data/jobs-bodies.json Full body text (regenerated by pnpm run dev)
Existing reviews data/ai-reviews.json Prior runs (incremental — only review missing IDs)
Candidate brief config/candidate-brief.md The main tuning lever — natural-language candidate description embedded verbatim in the prompt
Output Path Schema
Reviews data/ai-reviews.json Record<jobId, AiReview>

Each AiReview carries:

  • One-sentence summary
  • 3 bullets each for wants / offers / redFlags
  • verdictstrong-match | match | weak-match | skip
  • One-sentence reason

Writes after every successful review — Ctrl-C or rate-limit kill leaves a partial-but-valid file.

Selection logic

Default: top 20 by fitScore not already reviewed. Reviews for jobs no longer in jobs.json are pruned each run.

Flags:

  • --top=N — change the batch size
  • --force — re-review even if an entry exists
  • --ids=a,b,c — explicit list (overrides --top)

JSON parsing (the fragile part)

The LLM occasionally wraps JSON in markdown fences (```json ... ```). src/ai-review-parse.ts:

  1. Strips fences (recognises ```json and bare ```).
  2. Falls back to safe defaults on parse failure rather than throwing — partial reviews are still useful, don't crash the whole run.
  3. Sanitizes dirty arrays (empty strings, non-string entries).
  4. Validates verdict against the 4-value enum; invalid → coerces to weak-match.

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 108 lines · 84 tokens per session scan A dff343cf7023

Subscribe to this mod's changes

pupila-ai-review is a skill published in the GitHub repository FranRom/pupila (37 stars, last pushed 2mo ago), licensed MIT. It adds 84 tokens to every session and 1,565 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.