prompt-focus

prompt-focus is a skill for Claude Code from yonatangross/orchestkit. It costs 47 tokens per session (926 once invoked), scanned A, original, MIT.

A local report tool that counts where your prompts to coding agents went over time, such as projects, hours, and repeated requests.

In plain words
What is it for?
Use it to scan local Claude Code and Codex history, create an HTML report, review daily totals, or generate a shareable synthetic demo.
Why use it?
It helps you see how you spend attention without exposing the contents of your prompts; the report uses counts rather than prompt text.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Part of the ork plugin — 111 skills, 38 commands, 36 agents, 32 hooks shipped together

Good fit Use it to scan local Claude Code and Codex history, create an HTML report, review daily totals, or generate a shareable synthetic demo.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonatangross/orchestkit/prompt-focus
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 yonatangross/orchestkit --skill prompt-focus
Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 111 skills, 38 commands, 36 agents, 32 hooks.

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-focus

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/prompt-focus"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/prompt-focus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 926 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.00047 $0.00926
Opus 5.5 $0.00019 $0.00370
Sonnet 5.5 $0.00009 $0.00185
Haiku 4.5 $0.00005 $0.00093

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

Security

Grade A, and why

prompt-focus 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/prompt_focus.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ork/skills/prompt-focus/SKILL.md · 71 lines

How it starts

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

prompt-focus

Where did your attention go, and what do you keep telling your agents again and again? This skill answers from your own input history, on your machine.

Quick Reference

Command What it does Output
scan read history, attribute, aggregate agg.json (counts only)
report scan, then build the page report.html
daily [YYYY-MM-DD] [--force] append one finished day (yesterday by default), once; today needs --force and is written as a partial row that a later run replaces daily.jsonl
demo [path] the same page from synthetic data a shareable demo page
selftest synthetic run with privacy asserts exit 0 or an assert

Output dir: $PROMPT_FOCUS_DIR, default ~/.claude/prompt-focus. The exact call shape for Claude Code is in references/claude-code.md.

Quick Start Example

python3 "${CLAUDE_SKILL_DIR}/scripts/prompt_focus.py" report     # writes ~/.claude/prompt-focus/report.html
python3 "${CLAUDE_SKILL_DIR}/scripts/prompt_focus.py" demo /tmp/prompt-focus-demo.html   # synthetic data, safe to share

Optional ~/.claude/prompt-focus/config.json:

{"areas": {"billing": ["invoice", "stripe"]}, "brief_patterns": ["^\\s*TASK-\\d+:"], "weeks": 20}

Workflow

  1. Run report, then open report.html for the user.
  2. Lead with the verdict line from the page: the top area, prompts per week, and the nudge and words-per-prompt trend.
  3. Point at the re-typed asks. Each one has its first-4 vs last-4 weeks trend and a proposed default; the page's copy-as-prompt turns the ticked ones into one request.
  4. If the user runs several agents that paste briefs into the terminal, check 20 random rows before trusting the split, and add their brief markers to brief_patterns. See references/how-it-works.md.

Key Decisions

  • Your words only. A paste counts as one event, not as words; a slash command or shell line counts apart; text matching brief_patterns is an agent's, not yours.
  • Counts only. agg.json, daily.jsonl and the page hold numbers and category names. Prompt text is read in memory and never written.
  • Rolling window. Always the last 20 weeks ending today (weeks in config).
  • Areas. Your project folder by default; add areas regexes in config.json to group by topic instead.

Read the full file on GitHub · 71 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 71 lines · 47 tokens per session scan A 34e24487d3e4

Subscribe to this mod's changes

prompt-focus is a skill published in the GitHub repository yonatangross/orchestkit (295 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 926 once invoked, about $0.0002 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-10-08.