mine-gemini-workflows

mine-gemini-workflows is a skill for Claude Code, Codex from conorbronsdon/agent-context-os. It costs 35 tokens per session (738 once invoked), scanned A, original, MIT.

A tool for finding repeated, reliable workflows in a user-selected Gemini CLI session folder and turning approved patterns into reusable skills and tests. It is designed to avoid exporting private reasoning, secrets, or full transcripts.

In plain words
What is it for?
Inspecting session metadata, identifying recurring workflows, selecting candidates for migration, and creating portable skills with matching tests.
Why use it?
It helps preserve useful working methods while limiting access to unrelated session data and private conversation details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/mine-gemini-workflows.py \.

Good fit Inspecting session metadata, identifying recurring workflows, selecting candidates for migration, and creating portable skills with matching tests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/conorbronsdon/agent-context-os
agentmods
npx agentmods add skills/conorbronsdon/agent-context-os/mine-gemini-workflows

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 mine-gemini-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/conorbronsdon/agent-context-os/mine-gemini-workflows.svg)](https://agentmods.dev/skills/conorbronsdon/agent-context-os/mine-gemini-workflows)
Your own site
<a href="https://agentmods.dev/skills/conorbronsdon/agent-context-os/mine-gemini-workflows"><img src="https://agentmods.dev/badge/skills/conorbronsdon/agent-context-os/mine-gemini-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 738 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00035 $0.00738
Opus 5 $0.00017 $0.00369
Sonnet 5 $0.00007 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured 8d ago against content hash 572ae7f41760, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mine-gemini-workflows 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 8d 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/mine-gemini-workflows/SKILL.md · 72 lines

How it starts

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

Mine Gemini workflows

Use session evidence to find workflows worth porting. This is workflow archaeology, not a bulk conversation export.

Non-negotiable privacy boundaries

  • Require one explicitly selected Gemini project/session directory. Never crawl the entire home directory by default.
  • Run the metadata-only pass first.
  • Do not extract or summarize private thoughts, reasoning fields, tool arguments, secrets, or complete transcripts.
  • Do not commit .context-os/migrations/ or raw Gemini recordings.
  • Ask before any --include-content, --include-summaries, or --include-paths pass and explain exactly which selected sessions will be read.
  • A repeated pattern is a candidate, not authorization to create or install a skill.

Procedure

1. Select evidence

Ask the user for the relevant Gemini project/session directory and optional date boundary. If they do not know the directory, help them locate candidate directories using names and modification dates only; do not read session bodies during discovery.

2. Create a metadata-only inventory

Run:

python3 scripts/mine-gemini-workflows.py \
  <selected-session-directory> \
  --output .context-os/migrations/<timestamp>/gemini-inventory.json

Add --since YYYY-MM-DD when the user supplied a date boundary. The default report includes tool names, validation status, file basenames, and session identifiers. It excludes message text, free-form workflow summaries, tool arguments, and full paths.

3. Rank candidates

Prioritize candidates that:

  1. occur with positive validation in at least two sessions,
  2. have successful validation evidence,
  3. use a stable tool sequence,
  4. solve a task the user expects to repeat.

Do not promote one-off activity or a repeated failure. Present the ranked candidates and evidence counts, then ask the user which ones to inspect.

4. Inspect only selected sessions

If metadata is insufficient, name the exact selected session IDs and ask permission to rerun with repeated --session-id <id> selectors plus only the required opt-in flag (--include-summaries, --include-paths, or --include-content). Content redaction is best-effort, not a guarantee; treat every opt-in report as sensitive. Thought/reasoning fields remain excluded. Review the output again before sharing or persisting it.

Read the full file on GitHub · 72 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. 8d ago First seen · 72 lines · 35 tokens per session scan A 572ae7f41760

Subscribe to this mod's changes

mine-gemini-workflows is a skill published in the GitHub repository conorbronsdon/agent-context-os (23 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 738 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

deep-dive

2-stage pipeline: trace (causal investigation) -> deep-interview (requirements crystallization) with 3-point injection.

myths-labs/muse · 28 tokens

growth-distribution

Cross-platform content distribution and growth strategy for DYA app across 10+ platforms (Xiaohongshu, Douyin, TikTok, Instagram Reels, X/Twitter, Reddit, Weibo, Bilibili, WeChat Video). Use when planning social media posts, distributing video content, optimizing for platform algorithms, writing platform-specific…

myths-labs/muse · 125 tokens

agent-protocol

Specification for making MUSE role files machine-readable as an Agent Protocol — enabling multi-agent coordination and tool interoperability.

myths-labs/muse · 25 tokens

coordinator-mode

Multi-agent coordination SOP derived from Anthropic's internal coordinator architecture. Use when orchestrating parallel workers, dispatching subagents, planning multi-step implementations, or when tasks require research→synthesis→implementation→verification workflow. Triggers: 'coordinate', 'dispatch workers'…

myths-labs/muse · 75 tokens

creating-skills

Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, or needs skill creation guidelines. Provides structure, naming conventions, description writing, and quality checklist.

myths-labs/muse · 56 tokens

github-pr-merge

Merges GitHub Pull Requests after validating pre-merge checklist. Use when user wants to merge PR, close PR, finalize PR, complete merge, approve and merge, or execute merge. Runs pre-merge validation (tests, lint, CI, comments), confirms with user, merges with proper format, handles post-merge cleanup.

myths-labs/muse · 72 tokens