shikhu

shikhu is a skill for Claude Code, Codex from arjunpatel7/shikhu. It costs 126 tokens per session (1,479 once invoked), scanned A, original, MIT.

A guide and command workflow for shikhu, a tool that turns code and developers' questions into multiple-choice quizzes. It tracks which files have quiz questions so developers can check their understanding before shipping changes.

In plain words
What is it for?
Use it to set up shikhu, study an existing codebase, generate questions, take quizzes, and manage the push check that can block an insufficiently understood change.
Why use it?
It helps reveal whether a developer understands code written or changed with an agent, instead of relying only on tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to set up shikhu, study an existing codebase, generate questions, take quizzes, and manage the push check that can block an insufficiently understood change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arjunpatel7/shikhu/shikhu
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add arjunpatel7/shikhu --skill shikhu
Clone the repo
git clone --depth 1 https://github.com/arjunpatel7/shikhu

Made for: Claude Code, Codex.

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 shikhu

README.md
[![agentmods](https://agentmods.dev/badge/skills/arjunpatel7/shikhu/shikhu/github.svg)](https://agentmods.dev/skills/arjunpatel7/shikhu/shikhu)
Your own site
<a href="https://agentmods.dev/skills/arjunpatel7/shikhu/shikhu"><img src="https://agentmods.dev/badge/skills/arjunpatel7/shikhu/shikhu/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 shikhu

Your own site · 80×15
<a href="https://agentmods.dev/skills/arjunpatel7/shikhu/shikhu"><img src="https://agentmods.dev/badge/skills/arjunpatel7/shikhu/shikhu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,479 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.00126 $0.01479
Opus 5.5 $0.00050 $0.00592
Sonnet 5.5 $0.00025 $0.00296
Haiku 4.5 $0.00013 $0.00148

Measured yesterday against content hash 7139f7249e7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shikhu 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 yesterday.

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.

src/shikhu/_skill/shikhu/SKILL.md · 86 lines

How it starts

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

shikhu — using the tool

Shikhu checks that a developer understands the code they ship, especially code their agent wrote. It writes multiple-choice questions from their code and the questions they asked about it, quizzes them in the terminal, and tracks knowledge coverage: which files are backed by golden questions. Everything is stored in coverage.db in the repo, on their machine.

Answer from this page; run shikhu <command> --help when you need a flag it doesn't cover. Never take a quiz for the user: shikhu quiz is interactive and the knowledge is theirs.

The two loops

Learn an existing codebase

shikhu init          # database, skills, asks for the OpenRouter key and the push hook
shikhu summarize     # one cheap model call per file; lets shikhu tell what a question is about
shikhu map           # Claude Code users: where their past questions were; picks a file to start

Then they ask their agent about the code (/shikhu-inquiry answers, then writes quiz questions from the question with shikhu generate-from-study <file>), and run shikhu quiz.

Ship a change (the push gate)

  1. Code on a branch as usual, with the agent.
  2. Ask about the change. /shikhu-inquiry answers, then writes questions aimed at the diff with shikhu generate-from-study <file> --since main.
  3. shikhu quiz --since main, then git push. The hook checks each changed file has a fresh golden question.

Commands they run

Command What it does
shikhu quiz [--n 5] [--file F] [--since main] Take a quiz. After each answer, rate it g/b/s
shikhu coverage [--since main --check] Coverage report; --check exits 1 if a changed file needs a quiz
shikhu generate-from-study F [--since main] Questions on F, seeded by questions the user asked about it
shikhu refresh [--since main] General questions and summaries for every file (or the changed ones)
shikhu summarize [--file F] Cached file summaries
shikhu map [--dry-run] Past Claude Code questions per file; the one paid step, asks first
shikhu install-hook [--mode warn|block] The pre-push gate
shikhu install-skill [--global] Re-install the skills after upgrading shikhu

Read the full file on GitHub · 86 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. yesterday First seen · 86 lines · 126 tokens per session scan A 7139f7249e7e

Subscribe to this mod's changes

shikhu is a skill published in the GitHub repository arjunpatel7/shikhu (16 stars, last pushed today), licensed MIT. It adds 126 tokens to every session and 1,479 once invoked, about $0.0005 per session on Opus 5.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-11-06.

Related

shikhu compared with skills from other repositories

shikhu next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shikhuarjunpatel7/shikhuSkill16todayMITA126Claude Code, Codex
immersive-readingryannli/immersive-readingSkill494mo agoMITA69Codex
playwrightopenai/openai-agents-pythonSkill31ktodayMITA19Claude Code, Codex
show-mehumanlayer/humanlayerSkill13kyesterdayApache-2.0A25Claude Code
document-serviceawslabs/agent-pluginsSkill9372d agoApache-2.0A141Claude Code
hyperpod-version-checkerawslabs/agent-pluginsSkill9372d agoApache-2.0A120Claude Code
directory-managementawslabs/agent-pluginsSkill9372d agoApache-2.0A62Claude Code