skill-merge

skill-merge is a skill for Claude Code, Codex from rhtevan/agentfs. It costs 15 tokens per session (951 once invoked), scanned A, original, Apache-2.0.

A skill-copying utility that moves project-specific agent skills into a shared user skills directory. A skill is a set of instructions that teaches an agent how to perform a type of task.

In plain words
What is it for?
Use it to copy skills from .agents/skills/ to the shared skills folder, optionally selecting names or allowing existing skills to be overwritten.
Why use it?
It makes selected skills, or all available project skills, usable across projects instead of keeping them limited to one repository.

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/rhtevan/agentfs/skill-merge
Any agent
npx skills add rhtevan/agentfs --skill skill-merge
Clone the repo
git clone --depth 1 https://github.com/rhtevan/agentfs

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 skill-merge

README.md
[![agentmods](https://agentmods.dev/badge/skills/rhtevan/agentfs/skill-merge.svg)](https://agentmods.dev/skills/rhtevan/agentfs/skill-merge)
Your own site
<a href="https://agentmods.dev/skills/rhtevan/agentfs/skill-merge"><img src="https://agentmods.dev/badge/skills/rhtevan/agentfs/skill-merge.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 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.00015 $0.00951
Opus 5 $0.00008 $0.00476
Sonnet 5 $0.00003 $0.00190
Haiku 4.5 $0.00002 $0.00095

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

Security

Grade A, and why

skill-merge 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 5d 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.

skills/skill-merge/SKILL.md · 114 lines

How it starts

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

Skill Merge

Copy project-scoped skills into the shared USER skills directory so they become available across all projects and agents.

Natural-Language Signals

User says Behavior
"merge skills", "copy skills to system" (no names) Copy all skills from ./.agents/skills/ to ~/.agents/skills/
"merge skill foo", "copy foo and bar to system" Copy only the named skill(s)
"merge skills --force", "overwrite existing" Overwrite existing USER skills with the same name

Parameters

Parameter Default Description
project_root . (current working directory) Project root containing .agents/skills/
skill_names (all) Space-separated list of skill directory names to copy. If empty, all skills are copied
force false If true, overwrite existing USER skills with the same name

Prerequisites

  • ./.agents/skills/ must exist and contain at least one skill (subdirectory with a SKILL.md file).
  • ~/.agents/skills/ must exist (run agentfs-setup in USER scope if not).

Steps

  1. Resolve paths

    • Source: <project_root>/.agents/skills/
    • Destination: ~/.agents/skills/
  2. Build skill list

    • If skill_names is empty: discover all immediate subdirectories of the source that contain a SKILL.md file.
    • If skill_names is provided: validate each name exists as a subdirectory with a SKILL.md in the source. Report and skip any that don't exist.
  3. Copy each skill For each skill in the list:

    a. Check if ~/.agents/skills/<name>/ already exists.

    • If it exists and force is false: Skip — print a warning and do not overwrite.
    • If it exists and force is true: Overwrite — remove the existing directory first, then copy.
    • If it does not exist: proceed with copy.

    b. Copy the entire skill directory recursively:

    cp -r <source>/<name> ~/.agents/skills/<name>
    

Read the full file on GitHub · 114 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 114 lines · 15 tokens per session scan A 34073bfc107b

Subscribe to this mod's changes

skill-merge is a skill published in the GitHub repository rhtevan/agentfs (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 15 tokens to every session and 951 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens