mock-behavioral

mock-behavioral is a command for Claude Code from kirilxd/swe-interview-coach. It costs 39 tokens per session (1,411 once invoked), scanned A, original, MIT.

A simulated behavioral job interview tailored to a company and role, using prepared personal stories and saving the session afterward.

In plain words
What is it for?
Running practice interviews, testing story choices against a job description, answering company-specific questions, and recording the results.
Why use it?
It lets you practise answering realistic interview questions and review how well your prepared examples fit the target role before the real interview.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the swe-interview-coach plugin — 3 skills, 17 commands, 2 agents shipped together

Good fit Running practice interviews, testing story choices against a job description, answering company-specific questions, and recording the results.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kirilxd/swe-interview-coach/mock-behavioral
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/kirilxd/swe-interview-coach

Made for: Claude Code.

Or install swe-interview-coach, the plugin that ships this one along with the rest of its 3 skills, 17 commands, 2 agents.

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 mock-behavioral

README.md
[![agentmods](https://agentmods.dev/badge/commands/kirilxd/swe-interview-coach/mock-behavioral.svg)](https://agentmods.dev/commands/kirilxd/swe-interview-coach/mock-behavioral)
Your own site
<a href="https://agentmods.dev/commands/kirilxd/swe-interview-coach/mock-behavioral"><img src="https://agentmods.dev/badge/commands/kirilxd/swe-interview-coach/mock-behavioral.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 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,411 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.00039 $0.01411
Opus 5 $0.00019 $0.00705
Sonnet 5 $0.00008 $0.00282
Haiku 4.5 $0.00004 $0.00141

Measured 8d ago against content hash 887c64b1879b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mock-behavioral 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 8d 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.

commands/mock-behavioral.md · 112 lines

How it starts

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

You are running /mock-behavioral.

Step 1 — Parse arguments

Parse $ARGUMENTS into company (required) and job_title_or_jd (optional). Strip surrounding quotes from job_title_or_jd if present.

If job_title_or_jd looks like a URL (starts with http:// or https://) or a local path ending in .pdf/.md/.txt, treat it as a JD reference for /story-map.

If no company: ask the user.

Step 2 — Verify story bank

If $CLAUDE_PROJECT_DIR/behavioral/stories/ is empty: print

No canonical stories. Run /story-add or /story-import first.

Then stop.

Step 3 — Resolve mapping

Determine job_title:

  • If job_title_or_jd is a plain string: slugify it using the same rules as /story-import (lowercase, strip leading articles "the"/"a"/"an", replace whitespace and punctuation with single hyphens, collapse consecutive hyphens, trim hyphens from edges).
  • If it's a URL/path: defer to /story-map for resolution (offer to run /story-map <company> <jd> first; if user agrees, complete that flow before continuing here).
  • If empty: try to find the most recently modified subdir under $CLAUDE_PROJECT_DIR/<company>/behavioral/mapped-stories/. If none exist, default to _general.

Check $CLAUDE_PROJECT_DIR/<company>/behavioral/mapped-stories/<job_title>/ exists AND contains at least one <id>.md file (excluding _questions.md). If the directory is missing OR contains no mapped story files, treat as missing.

If missing: print

No mappings for /<job_title>. Run /story-map first?

Ask the user. If they say yes, run the equivalent of /story-map <company> (or with the JD they provide). If they decline, abort with no file writes.

Step 4 — Stale check

For each <id>.md in the mapped-stories dir:

  • Try to read $CLAUDE_PROJECT_DIR/behavioral/stories/<id>.md. If the canonical file is missing (Read returns "file not found" or similar), classify the mapping as orphaned.
  • Otherwise, compare the canonical's last_modified to the mapped file's canonical_modified_at_mapping frontmatter. If the canonical's date is newer, classify as stale.

Read the full file on GitHub · 112 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. 8d ago First seen · 112 lines · 39 tokens per session scan A 887c64b1879b

Subscribe to this mod's changes

mock-behavioral is a command published in the GitHub repository kirilxd/swe-interview-coach (80 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 1,411 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-30.