prompt-report

prompt-report is a skill for Claude Code from rayapatiranjithai/prompt-analyzer. It costs 60 tokens per session (1,271 once invoked), scanned A, original, MIT.

A read-only skill that summarizes how you wrote prompts during a session. A prompt is the instruction you give an AI agent.

In plain words
What is it for?
Use it at the end of a session to see prompting statistics, your strongest and weakest prompts, recurring mistakes, progress over time, and personalized suggestions.
Why use it?
It gives you a consistent review of your prompting without analyzing the prompts again or changing the stored session data. If no prompts were analyzed, it tells you to run the prompt-analysis skill first.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the prompt-analyzer plugin — 2 skills shipped together

Good fit Use it at the end of a session to see prompting statistics, your strongest and weakest prompts, recurring mistakes, progress over time, and personalized suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rayapatiranjithai/prompt-analyzer/prompt-report
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.

Any agent
npx skills add rayapatiranjithai/prompt-analyzer --skill prompt-report
Clone the repo
git clone --depth 1 https://github.com/rayapatiranjithai/prompt-analyzer

Made for: Claude Code.

Or install prompt-analyzer, the plugin that ships this one along with the rest of its 2 skills.

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 prompt-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/rayapatiranjithai/prompt-analyzer/prompt-report/github.svg)](https://agentmods.dev/skills/rayapatiranjithai/prompt-analyzer/prompt-report)
Your own site
<a href="https://agentmods.dev/skills/rayapatiranjithai/prompt-analyzer/prompt-report"><img src="https://agentmods.dev/badge/skills/rayapatiranjithai/prompt-analyzer/prompt-report/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 prompt-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/rayapatiranjithai/prompt-analyzer/prompt-report"><img src="https://agentmods.dev/badge/skills/rayapatiranjithai/prompt-analyzer/prompt-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,271 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.00060 $0.01271
Opus 5 $0.00030 $0.00635
Sonnet 5 $0.00012 $0.00254
Haiku 4.5 $0.00006 $0.00127

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

Security

Grade A, and why

prompt-report 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 11d 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/prompt-report/SKILL.md · 97 lines

How it starts

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

prompt-report — End-of-session prompting summary

You produce a one-shot summary from the data that the analyze-prompt skill has persisted this session. You do NOT re-analyze prompts and you do NOT modify any data file (read-only).

GATE

Read the session data first. If it is missing or empty, tell the user no prompts have been analyzed yet this session and to run analyze-prompt first — then stop.

DATA (read-only)

  • Data file: ${CLAUDE_PROJECT_DIR}/.prompt-analyzer/${CLAUDE_SESSION_ID}.json

Injected data

!`test -f "${CLAUDE_PROJECT_DIR}/.prompt-analyzer/${CLAUDE_SESSION_ID}.json" && cat "${CLAUDE_PROJECT_DIR}/.prompt-analyzer/${CLAUDE_SESSION_ID}.json" || echo "NO_DATA_YET"`

If NO_DATA_YET, run the GATE fallback above.

List other sessions (for optional cross-session view)

!`ls -1 "${CLAUDE_PROJECT_DIR}/.prompt-analyzer/"*.json 2>/dev/null | grep -v config.json | wc -l`

Computation (from persisted data only)

  • avg_score = mean(scores); trend from first_score → latest_score
  • requirement_match_rate = requirement_matches / total_prompts × 100
  • best prompt = history entry with max score; worst = min score
  • focus habit = the focus_habit field (the one habit to build); biggest recurring habit = max key in habit_tally
  • improvement curve = the scores[] array rendered as a sparkline (▁▂▃▄▅▆▇█ mapped 1–10)
  • self-correction rate = total_self_corrections / total_prompts × 100
  • efficiency = (1 − est_wasted_tokens / est_prompt_tokens) × 100, shown as %
  • est. tokens spent = totals.est_prompt_tokens; est. wasted on redos = totals.est_wasted_tokens (label both "est." — heuristic, not an exact tokenizer)
  • time impact (est.) = frame waste in minutes: each self-correction ≈ 1–2 min of rework; report "≈N min lost to redos" and "≈N min saved by your strong prompts" (label "est.")
  • cross-session rollup = if the "other sessions" count > 0, note whether the focus habit is improving across sessions (mention it qualitatively; do not read other files unless asked)

Read the full file on GitHub · 97 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. 11d ago First seen · 97 lines · 60 tokens per session scan A 8c1bfc79cf83

Subscribe to this mod's changes

prompt-report is a skill published in the GitHub repository rayapatiranjithai/prompt-analyzer (1 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 1,271 once invoked, about $0.0003 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

prompt-writer

Write maximally terse agent prompts from scratch. Use when creating agent specs, command prompts, or instruction sets with constitutional governance.

rp1-run/rp1 · 29 tokens

tersify-prompt

Rewrites agent-instruction prompts to be maximally terse while preserving full intent.

rp1-run/rp1 · 21 tokens

prompt-tuning

Tune a prompt, or anything whose quality is measured by non-deterministic model output, without chasing noise - a noise baseline before the first edit, medians over repeated runs, enforcement AFTER generation rather than in the wording. Use when iterating on prompts or model-judged output.

jjanczur/tyran · 58 tokens

prompt-optimization

Improves LLM-facing context while preserving intent, execution boundaries, and proportional work. Use when creating or reviewing prompts, agent definitions, skill definitions, or other instructions for an LLM.

shinpr/rashomon · 42 tokens

recipe-eval-prompt

Compares original and optimized prompts through repeated blind paired execution in git worktrees. Use when evaluating prompt improvement effects or learning prompt engineering through concrete examples.

shinpr/rashomon · 36 tokens

context-engineering

Optimize Claude Code context-window usage for accuracy and cost. TRIGGER when: hitting context limits, structuring prompts for an agent, or trimming what gets injected into a task. SKIP: persisting knowledge across sessions (use agent-memory); semantic recall tuning (use semantic-memory-mcp).

komluk/scaffolding · 62 tokens