practice

practice is a command for Claude Code from fourleafai/clover-public. It costs 0 tokens per session (1,355 once invoked), scanned A, original, MIT.

A guided command for practising interview questions and receiving coaching on answers. It supports question types such as behavioral, technical, coding, system design, case, and recruiter-screen questions.

In plain words
What is it for?
Use it to generate a small set of practice questions and work through answers one at a time with coaching.
Why use it?
It gives interview practice matched to the job role, question type, and difficulty instead of offering unrelated questions.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the four-leaf plugin — 1 skill, 7 commands, 2 MCP servers shipped together

Good fit Use it to generate a small set of practice questions and work through answers one at a time with coaching.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fourleafai/clover-public/practice
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.

Clone the repo
git clone --depth 1 https://github.com/fourleafai/clover-public

Made for: Claude Code.

Or install four-leaf, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 2 MCP servers.

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 practice

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/fourleafai/clover-public/practice"><img src="https://agentmods.dev/badge/commands/fourleafai/clover-public/practice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,355 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.00000 $0.01355
Opus 5.5 $0.00000 $0.00542
Sonnet 5.5 $0.00000 $0.00271
Haiku 4.5 $0.00000 $0.00136

Measured 28d ago against content hash 0a05b71a4fb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

practice 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 28d 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.

skills/four-leaf-coach/references/commands/practice.md · 67 lines

How it starts

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

practice

Generate calibrated practice questions, score the user's answers against the real rubric, and coach from what came back.

When to run

  • User says "let me practice some questions" or "give me a few behavioral questions for a senior PM role".
  • User wants to drill questions, not just read about formats.

The loop

Generate a question, let the user answer in chat, call score_answer, coach from the dimensions it returns. One question at a time. score_answer runs the same scoring the Four-Leaf practice page applies to typed answers, so the score is real. Your job is what to do with it.

Flow

  1. Get the role. Validate against list_roles if needed. If the user came from prep-role, you already know it. Hold onto the role id: both generate_practice_questions and score_answer take it, and passing it to score_answer calibrates the rubric instead of scoring against a generic one.

  2. Get the question type. generate_practice_questions accepts:

    • behavioral for STAR-format stories, leadership, communication
    • technical for domain knowledge, including system design prompts
    • situational for "what would you do if" scenarios
    • coding for algorithmic and implementation
    • case for consulting, PM, and strategy

    Ask which:

    What kind of questions do you want? Behavioral, technical, situational, case, coding?

    (Recruiter screens and standalone system design rounds are voice mock rounds, not generation types. If the user asks for one of those, generate the nearest type and mention the voice mock covers the round properly.)

  3. Get difficulty and seniority. difficulty is easy / medium / hard, defaults to medium. Seniority is entry / mid / senior / staff and matters more: it's what you pass to score_answer as experienceLevel, and a senior answer scored as entry-level is flattering and useless.

  4. Call generate_practice_questions. Ask for 3, not 10. Pacing matters, and three answers scored properly beats ten skimmed.

Read the full file on GitHub · 67 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. 28d ago Changed · +17 lines 0a05b71a4fb5
  2. 1mo ago First seen · 50 lines · 0 tokens per session scan A 56251fcd132c

Subscribe to this mod's changes

practice is a command published in the GitHub repository fourleafai/clover-public (8 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,355 tokens. 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.