shikhu-study

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

A guided study workflow for learning one source file before taking a quiz about it. Shikhu is a command-line tool that tracks understanding of a codebase through generated questions and review records.

In plain words
What is it for?
Walking through a file, answering conceptual questions, recording the review, and preparing later quiz questions based on what was discussed.
Why use it?
It builds a mental model before quizzing, so questions test actual understanding rather than being the user's first exposure to the file.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/arjunpatel7/shikhu/_skill
Any agent
npx skills add arjunpatel7/shikhu --skill _skill
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-study

README.md
[![agentmods](https://agentmods.dev/badge/skills/arjunpatel7/shikhu/_skill.svg)](https://agentmods.dev/skills/arjunpatel7/shikhu/_skill)
Your own site
<a href="https://agentmods.dev/skills/arjunpatel7/shikhu/_skill"><img src="https://agentmods.dev/badge/skills/arjunpatel7/shikhu/_skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.01471
Opus 5 $0.00020 $0.00736
Sonnet 5 $0.00008 $0.00294
Haiku 4.5 $0.00004 $0.00147

Measured 4d ago against content hash 4813b784c6ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

shikhu-study 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 4d 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.

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

How it starts

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

/shikhu-study — guided file review before a quiz

About shikhu

Shikhu is a knowledge-coverage CLI that tracks how well a user understands their own codebase. It generates MCQ questions from each tracked file via Mercury, quizzes the user in the terminal, and counts "golden" questions (answered correctly and user-validated as testing real understanding) — 3 goldens per file means the file is "covered." shikhu is the CLI entry point.

The flow is code → study → quiz. /shikhu-study is the learn step: you build the user's mental model of one file before they quiz on it, and every conceptual question they ask gets logged so shikhu generate-from-study <file> can later seed quiz Qs that test those same concepts.

Your role

You are the user's study partner. Your job in this skill is the study step: build the user's mental model of a specific file before they take a quiz on it, so the quiz tests knowledge instead of being their first read.

1. Resolve the target file

The argument is $ARGUMENTS. Treat it as the path to study.

  • If no argument is provided, tell the user Usage: /shikhu-study <file-path> and stop. (Auto-recommendation is a follow-up ship, not in scope here.)
  • Verify the file exists with Read before proceeding. If it doesn't, stop and tell the user.
  • Check that the file is tracked by git:
    git ls-files --error-unmatch "$ARGUMENTS"
    
    If the command exits non-zero (file untracked), tell the user one line — "Heads up: $ARGUMENTS isn't tracked by git, so shikhu refresh and shikhu coverage won't see it until you git add it. /shikhu-study still works." — then continue. Don't stop.

2. Load context (small, deliberate footprint)

Do these in parallel where possible:

  1. Read the target file with the Read tool — you'll walk through it.
  2. Read CLAUDE.md (if present) for project conventions.
  3. Load cached summary + prior reviews in one call:
    shikhu study-context "$ARGUMENTS"
    
    If the output says No cached summary, tell the user one line — "No cached summary yet, generating one now (~30s)…" — then run:
    shikhu summarize --file "$ARGUMENTS"
    shikhu study-context "$ARGUMENTS"
    
    The second call now returns the freshly cached summary; proceed with that.

Read the full file on GitHub · 114 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. 4d ago First seen · 114 lines · 40 tokens per session scan A 4813b784c6ca

Subscribe to this mod's changes

shikhu-study is a skill published in the GitHub repository arjunpatel7/shikhu (10 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 1,471 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

html-ppt-zhangzara-cartesian

An economics senior thesis on the employment effects of local minimum-wage increases — identification strategy, evidence, and limitations. Built as a decision-grade coursework defense deck for thesis committee.

nexu-io/open-design · 46 tokens

html-ppt-zhangzara-daisy-days

A customer-success workshop onboarding users to a project-management app — the first-value path and the habits that retain. Built as a decision-grade professional training deck for new customers, CS team.

nexu-io/open-design · 49 tokens

html-ppt-zhangzara-pin-and-paper

A field-biology capstone on urban pollinator decline — the survey design, the data, the contribution, and the caveats. Built as a decision-grade coursework defense deck for faculty reviewers.

nexu-io/open-design · 51 tokens

digital-eguide

A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with pull-quote and a step list). Lifestyle / creator brand tone. Use when the brief asks for an "e-guide", "digital guide", "lookbook", "lead magnet"…

nexu-io/open-design · 103 tokens

docs-page

A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".

nexu-io/open-design · 44 tokens

html-ppt-course-module

A first-30-days onboarding module for new hospitality hires — the behaviors, the practice, the checks, and the manager follow-up. Built as a decision-grade professional training deck for new hires, managers.

nexu-io/open-design · 47 tokens