fskill-creator-migrate

A migration analysis tool for turning a large, older agent skill directory into a proposed structured design. It maps existing behavior and evidence without writing the final files.

In plain words
What is it for?
Use it before migrating a monolithic skill to review its files, propose function and reference splits, and identify reusable scripts.
Why use it?
It helps preserve what the old skill does while identifying which rules, functions, references, and scripts should be separated.

Skill for Claude CodeCodex

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 skills/agi-comming/functional-skill-creator/migrate
Any agent
npx skills add AGI-comming/functional-skill-creator --skill migrate
Clone the repo
git clone --depth 1 https://github.com/AGI-comming/functional-skill-creator

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.00990
Opus 5 $0.00016 $0.00495
Sonnet 5 $0.00007 $0.00198
Haiku 4.5 $0.00003 $0.00099

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

Security

Grade A, and why

fskill-creator-migrate 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 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/lint_skill.mjs, scripts/migrate_proposal.mjs, scripts/migrate_proposal.test.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/fskill-creator/sub-skills/migrate/SKILL.md · 71 lines

How it starts

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

fskill-creator-migrate

Goal

Analyze a large or hard-to-maintain legacy skill directory into structured migration context while preserving behavior. This sub-skill only performs migration pre-analysis and does not directly write final functional skill files; final artifact generation, runtime capability provisioning, file writing, and validation are handled by the main fskill-creator.

Invoked by the main skill when the user has an existing monolithic skill and wants to "refactor into functional", "migrate to functional skill", or "restructure into functions/references/scripts".

Principles

  • Preserve existing behavior first, then optimize structure.
  • Load the whole legacy skill package, not only SKILL.md.
  • Keep source section and file evidence so reviewers can trace migrated content.
  • Only output migration_context; must not directly write target skill files.
  • Duplicated rules, schemas, and vocabulary move to reference_plan.
  • Existing references/, scripts/, and tools/ are inventoried before proposing splits.
  • Deterministic parsing, formatting, validation, or mechanical transforms are identified as script_plan, to be generated or preserved later by the main skill.
  • Optional viewers only enter tool_plan; final files are generated uniformly by the main skill's add_runtime_capabilities.

References

Resource Load Timing Purpose
shared_glossary On demand Stable migration terminology and output fields.
script_rules Before proposing scripts Rules for deciding what belongs in scripts/.

External Inputs

Field Source Description
legacy_skill_dir user or repository Path to the legacy skill directory containing SKILL.md.
legacy_skill_path user or repository Deprecated alias for legacy_skill_dir; may also be a direct path to SKILL.md, which resolves to its parent directory.
legacy_skill_content user or repository Existing skill markdown content when the directory is inaccessible.
migration_constraints user Constraints such as preserving file names, tone, or platform rules.
known_testcases user or repository Existing examples, traces, or expected behaviors.
existing_scripts repository Existing helper scripts associated with the legacy skill.
include_viewers user Whether to suggest generating tools/log_viewer.mjs and tools/tester_viewer.mjs.
script_runtime environment Whether this sub-skill's own Node.js scripts can be run.

Read the full file on GitHub · 71 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. 2d ago First seen · 71 lines · 33 tokens per session scan A c80ef3524dcb

Subscribe to this mod's changes

fskill-creator-migrate is a skill published in the GitHub repository AGI-comming/functional-skill-creator (359 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 990 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

LEAP

LEAP builds skills through two pipelines: Branch A distills a skill from raw data, while Branch B combines multiple skills into one. It is called by the main SkillAlchemy workflow. Use when SkillAlchemy requires distillation or fusion.

agentsope/SkillAlchemy · 52 tokens

agentsop-bounded-loop

Universal discipline for any LM-driven loop — agent retries, plan-act-observe, multi-agent handoffs, optimiser passes, test-fix cycles. Encodes the one rule every framework documents quietly and every team relearns expensively: the LM in the loop is NEVER a reliable terminator. Termination must be provided by an…

agentsope/SkillAlchemy · 218 tokens

agentsop-conventions-pinning

SOP for writing, loading, and evolving a project-level convention file (CONVENTIONS.md / CLAUDE.md / .cursor/rules / .clinerules / AGENTS.md) so that a coder-agent reliably respects your codebase's style choices every session. Tool-agnostic; covers the four load mechanics (read-only attachment, ancestor-walk…

agentsope/SkillAlchemy · 104 tokens

agentsop-dify

SOP for building LLM applications on Dify — visual workflow + chatflow + agent + RAG knowledge base + plugin marketplace + observability, self-hostable. Use when shipping LLM apps fast with a "no-code to pro-code" gradient, especially when non-engineers need to co-author the flow.

agentsope/SkillAlchemy · 69 tokens

agentsop-dspy

Operating SOP for DSPy (Stanford NLP) — the declarative framework for "programming, not prompting" language models. Activate when the user says any of: "use DSPy", "compile a prompt", "optimize prompts/programs", "MIPRO/MIPROv2", "BootstrapFewShot", "GEPA", "Signatures + Modules", "teleprompter", "auto-tune prompts…

agentsope/SkillAlchemy · 157 tokens

agentsop-langgraph

Decision protocol for building, debugging, and operating LangGraph-based agent systems. Activates when a coder agent is asked to design a stateful LLM workflow, add human-in-the-loop, choose a multi-agent pattern (supervisor / swarm / hierarchical), pick a checkpoint backend, or migrate a fragile chain into a durable…

agentsope/SkillAlchemy · 124 tokens