continue-session

continue-session is a command for coding agents from wangke19/gemini-ai-helpers. It costs 14 tokens per session (1,424 once invoked), scanned A, a copy of continue-session, Apache-2.0.

A command for downloading saved Gemini work sessions from a Prow CI job, then reopening one locally. Prow is a system that runs automated jobs for software projects.

In plain words
What is it for?
Use it with a Prow job URL to find Gemini session archives, download them, and continue a selected session on your computer.
Why use it?
It lets you continue investigating or working from a session that started in CI, without repeating the earlier work or manually finding its saved files.

Command

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.

agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/continue-session
Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

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 continue-session

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/continue-session.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/continue-session)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/continue-session"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/continue-session.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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 $0.00014 $0.01424
Opus 5 $0.00007 $0.00712
Sonnet 5 $0.00003 $0.00285
Haiku 4.5 $0.00001 $0.00142

Measured 4d ago against content hash 03345dbdc423, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

continue-session 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 4d 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.

Origin

This is a copy

88% identical to continue-session — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/ci/commands/continue-session.md · 154 lines

How it starts

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

Name

ci:continue-session

Synopsis

/ci:continue-session <prowjob-url>

Description

Downloads Gemini session artifacts from a Prow CI job and allows you to continue one of those sessions locally. This is useful when Gemini ran as part of a CI job and you want to pick up where it left off.

The command accepts:

  • prowjob-url (required): URL to a Prow job run

Prerequisites

  1. gcloud CLI — for accessing GCS artifacts

    • Check: which gcloud
    • The test-platform-results bucket is publicly accessible (no auth needed)
  2. Python 3 (3.6+)

    • Check: which python3
  3. tar — for extracting archives

Implementation

Step 1: Search for session archives

Load the ci:prow-job-artifact-search skill and use its search operation to find files matching **/claude-session*.tar* in the job's artifacts.

Parse the JSON output. If no matches are found (count: 0), tell the user "No Gemini session archives found in this job's artifacts." and stop.

Step 2: Download archives to current directory

For each matched archive file, download it from GCS using gcloud storage cp:

gcloud storage cp --no-user-output-enabled <gcs_uri> ./

Step 3: Download payload artifacts

Search for payload artifacts using the ci:prow-job-artifact-search skill with the pattern **/payload*.yaml, **/payload*.json, and **/payload*.html.

For each matched file, download it to the current directory:

gcloud storage cp --no-user-output-enabled <gcs_uri> ./

These are supplementary artifacts — if none are found, continue without error.

Step 4: Extract archives

For each downloaded archive in the current directory:

# tar auto-detects compression format (.tar, .tar.gz, .tar.zst, .tar.bz2, etc.)
tar xf <filename>

After extraction, the structure contains a projects/ directory. Each session consists of two parts:

  • A JSONL file at projects/<project-path>/<session-uuid>.jsonl (the main conversation log)
  • A directory at projects/<project-path>/<session-uuid>/ (containing subagent data and other session state)

Read the full file on GitHub · 154 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. 4d ago First seen · 154 lines · 14 tokens per session scan A 03345dbdc423

Subscribe to this mod's changes

continue-session is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 1,424 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to continue-session, differing in 26 lines, and is treated as a copy.