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.
npx skills add slbug/claude-ruby-grape-rails --skill session-scangit clone --depth 1 https://github.com/slbug/claude-ruby-grape-railsWrote 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/skills/slbug/claude-ruby-grape-rails/session-scan)<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/session-scan"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/session-scan/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/skills/slbug/claude-ruby-grape-rails/session-scan"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/session-scan.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.00039 | $0.01224 |
| Opus 5.5 | $0.00016 | $0.00490 |
| Sonnet 5.5 | $0.00008 | $0.00245 |
| Haiku 4.5 | $0.00004 | $0.00122 |
Grade A, and why
session-scan 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Scan (Tier 1)
Audience: Agents, Not Humans
Imperative-only. Contributor analytics, NOT release gating.
Requirements
| Requirement | Detail |
|---|---|
ccrider installed |
https://github.com/neilberkman/ccrider |
ccrider sync ran |
populates SQLite DB from CC / Codex session files |
| Python | 3.14+ (uses str | None / list[X] natively) |
DB Path Resolution
Search order:
--db PATHflagCCRIDER_DBenv var$XDG_CONFIG_HOME/ccrider/sessions.db$HOME/.config/ccrider/sessions.db(Linux / macOS default)$HOME/Library/Application Support/ccrider/sessions.db(macOS alt)$APPDATA/ccrider/sessions.db(Windows)
No candidate exists → script exits with code 2, lists tried paths.
Ask contributor for DB path, re-run with --db PATH. Do NOT hard-fail
until contributor confirms no path is available.
Usage
| Command | Behavior |
|---|---|
/session-scan |
default 7-day window |
/session-scan --since 2026-02-01 |
start date filter |
/session-scan --project myapp |
substring on project_path |
/session-scan --provider claude |
exact match on provider |
/session-scan --limit 20 |
cap candidate count |
/session-scan --list |
discovery only, no scoring |
/session-scan --rescan |
recompute already-scanned sessions |
/session-scan --db /custom/path/to/sessions.db |
DB override |
--provider takes exact sessions.provider value from --list
output. Examples (claude, codex, claude-code) are illustrative
— filter is exact match.
Main-Context Workflow
1. Parse Arguments
Pass $ARGUMENTS through to scan-sessions.py. Supported flags:
| Flag | Default |
|---|---|
--since DATE |
7 days ago |
--project SUBSTR |
matches sessions.project_path LIKE '%SUBSTR%' |
--provider NAME |
exact match on sessions.provider |
--limit N |
50 |
--list |
discovery only |
--rescan |
recompute scanned sessions |
--db PATH |
DB override |
--metrics-dir DIR |
.claude/session-metrics |
--min-messages N |
5 (filter trivial ping/hi sessions) |
What ships with it
3 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.
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.
- 3mo ago First seen · 124 lines · 39 tokens per session scan A 8f6d72bb0de5
session-scan is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 1,224 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-08-31.
session-scan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-scanslbug/claude-ruby-grape-rails | Skill | 7 | 2d ago | MIT | A | 39 | Claude Code |
| todosJetBrains/thinkrail | Skill | 8.5k | today | Apache-2.0 | A | 58 | Claude Code, Codex |
| omh-morning-briefrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 96 | Claude Code, Codex |
| about-thinkrailJetBrains/thinkrail | Skill | 8.5k | today | Apache-2.0 | A | 153 | Claude Code, Codex |
| research-councilchrisblattman/claudeblattman | Skill | 498 | 13d ago | MIT | A | 64 | Claude Code, Codex |
| announcement-digestchrisblattman/claudeblattman | Skill | 498 | 13d ago | MIT | A | 26 | Claude Code, Codex |
| schedule-querychrisblattman/claudeblattman | Skill | 498 | 13d ago | MIT | A | 17 | Claude Code |