Borrowing it
Nothing to install: this file belongs to gpt-cmdr/ras-commander. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gpt-cmdr/ras-commander/main/.claude/agents/conversation-index-scanner.mdgit clone --depth 1 https://github.com/gpt-cmdr/ras-commanderWrote 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.
[](https://agentmods.dev/agents/gpt-cmdr/ras-commander/conversation-index-scanner)<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/conversation-index-scanner"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/conversation-index-scanner/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.
<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/conversation-index-scanner"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/conversation-index-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.00699 |
| Opus 5 | $0.00025 | $0.00349 |
| Sonnet 5 | $0.00010 | $0.00140 |
| Haiku 4.5 | $0.00005 | $0.00070 |
Grade B, and why
conversation-index-scanner scanned grade B with 1 finding 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.
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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
head -3 ~/.claude/history.jsonl How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Conversation Index Scanner
Scan conversation history index quickly and efficiently.
Purpose
Scan ~/.claude/history.jsonl to:
- Count prompts by time period
- Identify active projects
- Extract prompt text for pattern matching
- Build activity timeline
Data Source
File: ~/.claude/history.jsonl
Format: JSONL (one JSON object per line)
{"display": "user prompt text", "timestamp": 1733847562000, "project": "C:\\path\\to\\project", "pastedContents": {}}
Scanning Tasks
1. Basic Statistics
# Count total prompts
prompt_count = sum(1 for line in open(history_file))
# Filter by date
cutoff_ms = (datetime.now() - timedelta(days=7)).timestamp() * 1000
recent = [p for p in prompts if p['timestamp'] >= cutoff_ms]
2. Project Distribution
from collections import Counter
projects = Counter(Path(p['project']).name for p in prompts)
3. Time Distribution
from datetime import datetime
dates = Counter(
datetime.fromtimestamp(p['timestamp']/1000).strftime('%Y-%m-%d')
for p in prompts
)
4. Prompt Text Extraction
# Extract all prompt text for pattern analysis
prompt_texts = [p['display'] for p in prompts]
Output Format
{
"total_prompts": 2240,
"time_range": {"start": "2025-09-27", "end": "2025-12-13"},
"projects": [
{"name": "ras-commander", "count": 450},
{"name": "hms-commander", "count": 120}
],
"daily_activity": [
{"date": "2025-12-13", "count": 45},
{"date": "2025-12-12", "count": 38}
],
"prompts": ["prompt text 1", "prompt text 2", ...]
}
Performance Notes
- File is ~1-2 MB for active users
- Stream-parse the file (do not load entirely into memory)
- Complete index operations in <5 seconds
- Cache results for subsequent analysis
Cross-References
Agents (collaborate with):
conversation-insights-orchestrator-- Coordinates analysis workflowsconversation-deep-researcher-- Deep analysis after initial scan
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.
- 9d ago First seen · 108 lines · 50 tokens per session scan B 1fbd890e072d
conversation-index-scanner is an agent published in the GitHub repository gpt-cmdr/ras-commander (79 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 699 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
context-finder
Read-only, memory- and index-aware codebase search. Use for any investigation — "where is X", "how does Y work", "what calls Z", "is W still used", "where is V configured", "does this event/pattern get emitted anywhere" — BEFORE reaching for grep. Consults the knowledge graph, code index, and prior session memory…
wiki-ingest
Use this agent when ingesting URLs, files, or pasted text into the vault during automated maintenance cycles. Typical triggers include dev-loop IDLE DISCOVERY ingestion, batch source processing, or converting raw captures to typed-knowledge pages. See "When to invoke" in the agent body for worked scenarios.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.