claude-code-interview: Command for Claude Code

.claude/commands/weakness/practice.md

practice is a command for Claude Code from huifer/claude-code-interview. It costs 24 tokens per session (4,031 once invoked), scanned A, original, MIT.

A command that recommends practice questions and learning materials based on weaknesses found in interview results, with support for categories, difficulty levels, and daily plans.

In plain words
What is it for?
Use it for algorithm, system-design, or behavioral interview practice, including targeted topics and selected difficulty levels.
Why use it?
It turns identified gaps into specific study activities instead of leaving developers to choose what to practise next.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is huifer/claude-code-interview's own configuration. It tells Claude Code how to work on claude-code-interview 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 claude-code-interview configures →

Reuse

Borrowing it

Nothing to install: this file belongs to huifer/claude-code-interview. 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/huifer/claude-code-interview/main/.claude/commands/weakness/practice.md
Clone the repo
git clone --depth 1 https://github.com/huifer/claude-code-interview

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 practice

README.md
[![agentmods](https://agentmods.dev/badge/commands/huifer/claude-code-interview/practice/github.svg)](https://agentmods.dev/commands/huifer/claude-code-interview/practice)
Your own site
<a href="https://agentmods.dev/commands/huifer/claude-code-interview/practice"><img src="https://agentmods.dev/badge/commands/huifer/claude-code-interview/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/huifer/claude-code-interview/practice"><img src="https://agentmods.dev/badge/commands/huifer/claude-code-interview/practice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,031 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.00024 $0.04031
Opus 5.5 $0.00010 $0.01612
Sonnet 5.5 $0.00005 $0.00806
Haiku 4.5 $0.00002 $0.00403

Measured 2mo ago against content hash e86bd0653ef4, 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 2mo 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/commands/weakness/practice.md · 630 lines

How it starts

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

针对性练习

基于弱点分析,推荐个性化练习题和学习资源。

使用方法

获取针对弱点练习

# 基于最近面试的弱点
/weakness/practice

# 练习特定类别
/weakness/practice algorithms
/weakness/practice system-design
/weakness/practice behavioral

# 指定难度
/weakness/practice algorithms medium
/weakness/practice algorithms hard

# 获取每日练习计划
/weakness/practice --daily

练习类别

1. 算法练习

基于弱点推荐
{
  "algorithm_practice": {
    "weakness": "Dynamic Programming",
    "current_level": "Beginner",
    "target_level": "Intermediate",

    "practice_plan": {
      "phase_1": {
        "duration": "Week 1-2",
        "focus": "Basic DP Patterns",
        "problems": [
          {
            "id": 70,
            "name": "Climbing Stairs",
            "difficulty": "Easy",
            "pattern": "Fibonacci-style DP",
            "why": "入门DP,建立基本概念"
          },
          {
            "id": 198,
            "name": "House Robber",
            "difficulty": "Medium",
            "pattern": "Decision DP",
            "why": "练习状态转移思考"
          },
          {
            "id": 213,
            "name": "House Robber II",
            "difficulty": "Medium",
            "pattern": "Circular DP",
            "why": "考虑边界条件"
          }
        ],
        "daily_target": "3-5 problems",
        "time_limit": "30-45 min/problem"
      },

      "phase_2": {
        "duration": "Week 3-4",
        "focus": "Classic DP Problems",
        "problems": [
          {
            "id": 0,
            "name": "Knapsack problem variants",
            "difficulty": "Medium",
            "pattern": "0/1 Knapsack",
            "problems": ["416", "474", "494"]
          },
          {
            "id": 300,
            "name": "Longest Increasing Subsequence",
            "difficulty": "Medium",
            "pattern": "LIS DP",
            "why": "经典子序列DP"
          },
          {
            "id": 1143,
            "name": "Longest Common Subsequence",
            "difficulty": "Medium",
            "pattern": "LCS DP",
            "why": "双序列DP"
          }
        ]
      },

      "phase_3": {
        "duration": "Week 5+",
        "focus": "Advanced Applications",
        "problems": [
          "72 (Edit Distance)",
          "97 (Interleaving String)",
          "127 (Word Ladder II)",
          "140 (Word Break II)"
        ]
      }
    },

    "learning_resources": {
      "articles": [
        "LeetCode DP Explore Cards",
        "GeeksforGeeks DP Tutorial"
      ],
      "videos": [
        "TechLead: Dynamic Programming",
        "CS Dojo: 5 Simple Steps",
        "BackToBackSWE: DP Intuition"
      ],
      "books": [
        "CLRS Chapter 15: Dynamic Programming",
        "Elements of Programming Interviews - DP Chapter"
      ]
    }
  }
}

Read the full file on GitHub · 630 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. 2mo ago First seen · 630 lines · 24 tokens per session scan A e86bd0653ef4

Subscribe to this mod's changes

practice is a command published in the GitHub repository huifer/claude-code-interview (27 stars, last pushed 10mo ago), licensed MIT. It adds 24 tokens to every session and 4,031 once invoked, about $0.0001 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-08-30.

Related

practice compared with commands from other repositories

practice next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
practicehuifer/claude-code-interviewCommand2710mo agoMITA24Claude Code
learn-story-flowIntai/story-flowCommand162d agoMITA10Claude Code
start-10-1minicoohei/ai-agent-campCommand3471mo agononeA2Claude Code
start-0-8minicoohei/ai-agent-campCommand3471mo agononeA2Claude Code
setup-m365cli.esminicoohei/ai-agent-campCommand3471mo agononeA8Claude Code
prep-rolefourleafai/clover-publicCommand81mo agoMITA0Claude Code
setup-vercel.esminicoohei/ai-agent-campCommand3471mo agononeB2Claude Code