migrate-workflows

migrate-workflows is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 38 tokens per session (1,405 once invoked), scanned B, original, CC0-1.0.

A migration guide for converting deprecated workflow files into modern skill files. Skills are reusable instructions that agents can discover and invoke, while workflows are the older format.

In plain words
What is it for?
Use it to scan global and project settings, create skill files, and migrate legacy workflow definitions.
Why use it?
It replaces an outdated configuration format while preserving the workflows' intended capabilities and safely archiving the old files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan global and project settings, create skill files, and migrate legacy workflow definitions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/migrate-workflows
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill migrate-workflows
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

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 migrate-workflows

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/migrate-workflows"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/migrate-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00038 $0.01405
Opus 5.5 $0.00015 $0.00562
Sonnet 5.5 $0.00008 $0.00281
Haiku 4.5 $0.00004 $0.00140

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

Security

Grade B, and why

migrate-workflows 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 1mo 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.

- `~/.gemini/config/global_workflows/*.md`
Google/antigravity/skills/migrate-workflows/SKILL.md · 133 lines

How it starts

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

Migrate Workflows to Skills

Use this skill to autonomously migrate legacy workflow files to modern skills.

Workflows (.agents/workflows/*.md or _agents/workflows/*.md) are deprecated.
Skills (.agents/skills/<name>/SKILL.md or _agents/skills/<name>/SKILL.md) provide all the capabilities of workflows, plus:

  • First-class slash command support (typing /<name> in the chat input box).
  • Semantic agent discovery (the agent can automatically invoke the skill when relevant).
  • Multi-file capabilities (supporting helper scripts, templates, and references).

Instructions for the Agent

When this skill is invoked, you must execute the migration automatically by performing the following steps:

Step 1: Discover Existing Workflows

Scan global and workspace (if applicable) configuration directories using filesystem search tools for legacy .md workflow files and workflows.json manifests:

  1. Global Workflows:

    • ~/.gemini/config/global_workflows/*.md
    • ~/.gemini/config/workflows/*.md
    • Manifests: ~/.gemini/config/workflows.json
  2. Workspace Workflows (for each open workspace root and parent
    directories):

    • <workspace_root>/.agents/workflows/*.md
    • <workspace_root>/_agents/workflows/*.md
    • <workspace_root>/.agent/workflows/*.md
    • <workspace_root>/_agent/workflows/*.md
    • Manifests:
      <workspace_root>/{.agents,_agents,.agent,_agent}/workflows.json

[!NOTE]
OS-Specific Path and Output Formatting:

  • Adapt path resolution to the host OS (%USERPROFILE% on Windows vs. $HOME on macOS/Linux).
  • When presenting tables, progress, or summaries to the user, always format paths using the host OS path separators (e.g. \ on Windows such as %USERPROFILE%\.gemini\config\global_workflows\<name>.md, / on macOS/Linux).

Check each discovered workflow against existing skills: For each workflow, check if <target_skill_dir>/<name>/SKILL.md already exists to determine whether it has already been migrated.

Read the full file on GitHub · 133 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. 1mo ago First seen · 133 lines · 38 tokens per session scan B 1986ed96be8a

Subscribe to this mod's changes

migrate-workflows is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 38 tokens to every session and 1,405 once invoked, about $0.0002 per session on Opus 5.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-10-30.

Related

migrate-workflows compared with skills from other repositories

migrate-workflows next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrate-workflowsasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0B38Claude Code, Codex
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code