analysis-learn-hint

analysis-learn-hint is a command for Claude Code from with-geun/alive-analysis. It costs 0 tokens per session (466 once invoked), scanned A, original, MIT.

A learning command that gives the next progressive hint for an active coding-analysis lesson. The hints move from general direction to near-answer guidance.

In plain words
What is it for?
Use it during an active learning session to get the next hint for stages such as asking, investigating, explaining, or improving.
Why use it?
It helps learners continue when they are stuck without immediately revealing the full solution.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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 commands/with-geun/alive-analysis/analysis-learn-hint
Clone the repo
git clone --depth 1 https://github.com/with-geun/alive-analysis

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 analysis-learn-hint

README.md
[![agentmods](https://agentmods.dev/badge/commands/with-geun/alive-analysis/analysis-learn-hint.svg)](https://agentmods.dev/commands/with-geun/alive-analysis/analysis-learn-hint)
Your own site
<a href="https://agentmods.dev/commands/with-geun/alive-analysis/analysis-learn-hint"><img src="https://agentmods.dev/badge/commands/with-geun/alive-analysis/analysis-learn-hint.svg" alt="Measured on agentmods" 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 466 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.1 $0.00000 $0.00466
Opus 5 $0.00000 $0.00233
Sonnet 5 $0.00000 $0.00093
Haiku 4.5 $0.00000 $0.00047

Measured 6d ago against content hash 97019a23c8eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

analysis-learn-hint 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 6d 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/analysis-learn-hint.md · 52 lines

What it actually says

/analysis-learn-hint

Request a progressive hint for the current learning stage.

Instructions

Step 1: Identify current session and stage

Read .analysis/education/progress.md to find the active learning session.

  • If no active session → "No active learning session. Run /analysis-learn to start one."

Determine the current ALIVE stage (same logic as /analysis-learn-next Step 2).

Step 2: Track hint usage

Read the current hint level for this stage from the session's hint tracking.

The hint system works in 3 progressive levels per stage:

  • Level 1: Direction hint — points toward the right area to explore
  • Level 2: Specific hint — narrows down to the specific factor or method
  • Level 3: Near-answer — provides most of the answer for learners who are stuck

Each /analysis-learn-hint call advances one level for the current stage.

Step 3: Deliver the hint

Read the hint file: core/education/scenarios/{scenario-id}/hints/{stage}.md

  • {stage} is one of: ask, look, investigate, voice, evolve

Present the appropriate level's hint based on how many times the user has asked for this stage:

  • First call → Level 1
  • Second call → Level 2
  • Third call → Level 3
  • Fourth+ call → "You've used all 3 hint levels for this stage. Review the hints above and try your best — you can always run /analysis-learn-next to see the feedback and move on."

Presentation format:

💡 Hint (Level {N}/3) for {STAGE}:

{hint content}

For Beginner scenarios, add encouragement: "Take a moment to think about how this applies to your analysis. You're doing great!" For Intermediate scenarios, keep it concise — just the hint.

Step 4: Record hint usage

Update .analysis/education/progress.md:

  • Increment the hint count for the current session

Track internally which stages have had hints used and at what level, so /analysis-learn-review can report total hints used.

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. 6d ago First seen · 52 lines · 0 tokens per session scan A 97019a23c8eb

Subscribe to this mod's changes

analysis-learn-hint is a command published in the GitHub repository with-geun/alive-analysis (41 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 466 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-30.