sessions

sessions is a skill for Claude Code, Codex from racecraft-lab/Paddock. It costs 19 tokens per session (1,234 once invoked), scanned A, original, MIT.

A code map for the sessions area of a paddock project, listing related files, functions, entry points, and when to use them.

In plain words
What is it for?
Use it to explore session APIs, session-file scanning, scheduling, recurring tasks, webhook retries, task dispatch, and gateway communication.
Why use it?
It gives an agent a focused starting point when tracing or changing session-related behavior instead of searching the whole repository.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: installed under .agents/ (shared by several agents); mentions Codex; built for openclaw.

Good fit Use it to explore session APIs, session-file scanning, scheduling, recurring tasks, webhook retries, task dispatch, and gateway communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/racecraft-lab/paddock/sessions
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 racecraft-lab/Paddock --skill sessions
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/Paddock

Made for: Claude Code, Codex.

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 sessions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/racecraft-lab/paddock/sessions"><img src="https://agentmods.dev/badge/skills/racecraft-lab/paddock/sessions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,234 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.00019 $0.01234
Opus 5.5 $0.00008 $0.00494
Sonnet 5.5 $0.00004 $0.00247
Haiku 4.5 $0.00002 $0.00123

Measured 3mo ago against content hash b6889bcd5bc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sessions 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.

.agents/skills/generated/sessions/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.

Sessions

50 symbols | 13 files | Cohesion: 67%

When to Use

  • Working with code in src/
  • Understanding how processWebhookRetries, requeueStaleTasks, autoRouteInboxTasks work
  • Modifying sessions-related functionality

Key Files

File Symbols
src/app/api/sessions/route.ts POST, DELETE, GET, mapGatewaySessions, getLocalClaudeSessions (+7)
src/lib/openclaw-gateway.ts parseGatewayJsonOutput, formatGatewayError, formatGatewayFrameError, buildGatewayWebSocketUrl, unwrapGatewayResponsePayload (+6)
src/lib/scheduler.ts getSettingNumber, runBackup, runCleanup, runHeartbeatCheck, initScheduler (+3)
src/lib/task-dispatch.ts syncAndEscalateIfFailed, requeueStaleTasks, scoreAgentForTask, autoRouteInboxTasks
src/lib/claude-sessions.ts clampTimestamp, parseSessionFile, scanClaudeSessions, syncClaudeSessions
src/lib/schedule-parser.ts isCronDue, matchesCronField
src/lib/recurring-tasks.ts formatDateSuffix, spawnRecurringTasks
src/lib/codex-sessions.ts listRecentCodexSessionFiles, scanCodexSessions
src/lib/webhooks.ts processWebhookRetries
src/lib/skill-sync.ts syncSkillsFromDisk

Entry Points

Start here when exploring this area:

  • processWebhookRetries (Function) — src/lib/webhooks.ts:301
  • requeueStaleTasks (Function) — src/lib/task-dispatch.ts:1644
  • autoRouteInboxTasks (Function) — src/lib/task-dispatch.ts:2035
  • syncSkillsFromDisk (Function) — src/lib/skill-sync.ts:133
  • initScheduler (Function) — src/lib/scheduler.ts:278

Key Symbols

Symbol Type File Line
processWebhookRetries Function src/lib/webhooks.ts 301
requeueStaleTasks Function src/lib/task-dispatch.ts 1644
autoRouteInboxTasks Function src/lib/task-dispatch.ts 2035
syncSkillsFromDisk Function src/lib/skill-sync.ts 133
initScheduler Function src/lib/scheduler.ts 278
triggerTask Function src/lib/scheduler.ts 512
isCronDue Function src/lib/schedule-parser.ts 165
spawnRecurringTasks Function src/lib/recurring-tasks.ts 29
scanClaudeSessions Function src/lib/claude-sessions.ts 219
syncClaudeSessions Function src/lib/claude-sessions.ts 273
syncAgentsFromConfig Function src/lib/agent-sync.ts 288
POST Function src/app/api/claude/sessions/route.ts 90
parseGatewayJsonOutput Function src/lib/openclaw-gateway.ts 39
unwrapGatewayResponsePayload Function src/lib/openclaw-gateway.ts 97
callOpenClawGatewayViaWebSocket Function src/lib/openclaw-gateway.ts 137
finishReject Function src/lib/openclaw-gateway.ts 154
finishResolve Function src/lib/openclaw-gateway.ts 165
timer Function src/lib/openclaw-gateway.ts 176
callOpenClawGateway Function src/lib/openclaw-gateway.ts 304
POST Function src/app/api/sessions/route.ts 47

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. 3mo ago First seen · 97 lines · 19 tokens per session scan A b6889bcd5bc1

Subscribe to this mod's changes

sessions is a skill published in the GitHub repository racecraft-lab/Paddock (12 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 1,234 once invoked, about $0.0001 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-30.

Related

sessions compared with skills from other repositories

sessions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sessionsracecraft-lab/PaddockSkill125mo agoMITA19Claude Code, Codex
mission-controlbuilderz-labs/mission-controlSkill6.5ktodayMITA34Claude Code, Codex
unleashrafael-adcp/krakenSkill522d agoMITA105Claude Code
initrafael-adcp/krakenSkill522d agoMITA66Claude Code
statusrafael-adcp/krakenSkill522d agoMITA106Claude Code
nextjs-app-router-devtechysy/yangyu-hermes-skillsSkill81mo agononeA25Claude Code, Codex
paperclippaperclipai/paperclipSkill118ktodayMITA54Claude Code, Codex